-
-
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
Google Assistant: ArmLevel missing #119400
Comments
Hey there @home-assistant/cloud, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) google_assistant documentation |
This was changed for #115622 -- what states does the alarm control panel support? This was meant to solve a problem where alarm control panels are not showing up in google home due to missing arm level. |
Experiencing the exact same issue since 2024.6.2 (2024.6.1 didn't have it). The error was introduced in #119238 - it seems like the method _default_arm_state assumes the default armState will be the first supported state, but the list of states that may be supported doesn't even include "disarmed", so that can't work. |
hello all. I'd be happy to provided a list of supported states, do you need diagonostics? I'm not sure how to provide a list of this, but definitely |
|
When disarmed, it should send the default state that would happen if you arm. So it needs to be another one of the other states supported. If you look in the developer section on your alarm entity, what states does it list? |
Ps. Would be the feature flags of the alarm |
When my alarm panel is |
@Anto79-ops can you share the state attributes? Also -- are you able to control the alarm control panel from Googl eHome? |
Hi @allenporter I just tried to get attributes but there are not any of them, i don't think the integration supports it (via mqtt). The alarm integration is provided by a custom component here. The alarm system works as it should in HA and has been for over 2 years now. Its only in GA that it recently broke, and get this, its only broken when the system is see photos of this test: Hope this helps. |
Thanks, can you also include detail about the alarm control panel from home assistant developer tools when in each state? Looking for its state and attributes. |
ok here's the state, i.e. I'll have to get you the rest (if you need them) Sorry for the ping @xaf, if you wanted to chime in on this, that would be great :) |
Thank you -- sorry, but can you also include the same thing when working in Google Home / Nest Hub? appreciate it |
I think the bug is |
Somewhat like that yes. For some arming only allowed one level to exist for default logic to trigger. I missed that when I extracted the code, and the tests only ever had one level so it never triggered. So that limit need to removed from the reporting case at least. |
I've opened a fix for this issue. It's a "semi" fix/feature change. So i'm not sure if i can include it in a patch release. We'll see. |
The problem
hello,
I noticed the alarm panel on my Google Assistant Hub UI was greyed out (unavaiable) and saw this in my logs:
The log is from 2023.6.2 but, it may have also been there on 2023.6.x as I noticed the alarm panel was also grey-out before 2023.6.2
thanks
the alarm panel works and is it should in HA UI directly.
What version of Home Assistant Core has the issue?
2024.6.2
What was the last working version of Home Assistant Core?
pre 2024.6 (maybe)
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Google Assistant
Link to integration documentation on our website
https://www.home-assistant.io/integrations/google_assistant/
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: