-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
ZHA can not redefine Aqara 2aeu1 in-wall switch #101093
Comments
Hey there @dmulcahey, @Adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zha documentation |
The Aqara switch reports itself as a light. ZHA follows that and creates a However, existing Aqara switch quirks (for other Aqara switches) do modify the type from light to switch (various reasons). Adding another such quirk will always break the entities where it's defined as a Issues regarding this switch: |
FYI, this consistency issue and question how to deal with it was also raised for discussion here -> zigpy/zha-device-handlers#1957 |
The problem
Hi!
There is a problem with how the more then singel Aqara in-wall switches are declared in ZHA.
It showes up as a switch, even if it belongs to the light. domain, but you can't redefine the entities.
It is not uncommon in toilets and laundry rooms to have a double switch where one is an air extractor fan, lika a PAX fan.
The problem is that I can not redefine it as a fan. It will only show up as a light and get mixed up with automations controling lights.
The "show as" on the entity setting page is just not there and if you try to create a helper through the settings-integrations-helpers, the entity is not selectable.
The entity seams to be hardcoded to the light domain with entity-id
light.lumi_lumi_switch_l2aeu1_light_3, and not to the switch domain
What version of Home Assistant Core has the issue?
2023.9.3 and earlier as well
What was the last working version of Home Assistant Core?
Never been right since I bought the first one
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: