-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Included device (comma separated)/Excluded device (comma separated) are not working as expected #2477
Comments
With the assistance of ChatGPT, I believe I've identified the root cause of the issue in config_flow.py: Potential Issue in There is a potential problem in the way the Explanation:
Recommendation:Avoid converting lists into comma-separated strings using |
Something that I also notice in those fields when you do the configuration via the UI is that you cannot leave that field empty. When you click on submit, it doesn't delete the value of that field it goes back with what you have before. |
Describe the bug
Exclude Devices is excluding more than just the device I want excluded.
I.e. specifying "Echo Auto" excludes not only "Echo Auto" but also "Echo" since device name "Echo" is in the string "Bedroom,Daniel's Fire,Echo Auto,Mach-E SYNC,Living Room,Main floor,Norton Court,Office,This Device"
To Reproduce
Amazon device names with the issue: "Echo" and "Echo Auto"
Exclude Devices string: "Bedroom,Daniel's Fire,Echo Auto,Mach-E SYNC,Living Room,Main floor,Norton Court,Office,This Device"
I tried
Echo Auto
,Echo%20Auto
andEcho\ Auto
but none of these worked.Expected behavior
Only exclude device "Echo Auto" but not device "Echo"
System details
const.py
or HA startup): 4.12.10pip show alexapy
or HA startup): 1.29.0Logs
The text was updated successfully, but these errors were encountered: