How to call services on alarm_control_panel #357
Unanswered
timvdkerkhof
asked this question in
Q&A
Replies: 1 comment
-
Let's open an issue to track this, definitely a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I recently bought a Eufy keypad to arm and disarm my alarm. In the Eufy app, there are two different states (Off and Disabled) which translate to the same home assistant state (Disarmed). Also when I disarm the alarm by calling the home assistant service alarm_control_panel.alarm_disarm, the state in the Eufy app changes to Disabled while I would really like to switch to the Off state instead.
In the plugin code, I can see a service being registered for alarm_off, which switches the Eufy state to Off (https://github.com/fuatakgun/eufy_security/blob/master/custom_components/eufy_security/alarm_control_panel.py).
Is it possible to call this service in home assistant? I tried calling alarm_control_panel.alarm_off, but this returns an error saying that the service cannot be found.
Edit: I found that I need to call eufy_security.alarm_off to set the state to Off. However, this results in the following error messages in the add-on logs:
When looking at the changelog of eufy-sercurity-client, this should be fixed since version 1.1.0, but it doesn't seem to be working. Does anyone have an idea how this can be solved?
Beta Was this translation helpful? Give feedback.
All reactions