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
HomeAssistant states #19
Comments
This is awesome! Thanks! I've been playing around with it and updated the commands and states as below. Home assistant does not support 'sleep' at the moment, only 'arm' and 'stay'. Would you mind updating as below?
|
Can you do a Pull Request? That way your contribution will be explicitly identified. |
Hi Jakezp Are you are to help with the Home assistant config you used to get this working (.yaml)? I had Tertiush working but cant seem to get this one going. thx |
I added the patch suggested by @jakezp |
@jakezp Closing as two weeks has passed. Reopen if required. |
Apologies for being inactive for so long. I've been busy renovating and things are a mess and most things are unplugged at the moment. I've connected everything again and updated home assistant and pai to see if all is working now. Seems with the new HA lovelace interface, the alarm panel has states available to be used: In addition to this, there is still the option to use the previous way to configure the alarm. I was wondering if it might not be worthwhile make the home assistant COMMANDS and STATES configurable in user.py? Then it can set to a default value in defaults.py, but configurable in user.py? This will allow future HA changes to be updated in the config file instead of requiring the code to be changed again. |
I've made a very quick edit to add HomeAssistant MQTT Alarm Control Panel compatible states - https://www.home-assistant.io/components/alarm_control_panel.mqtt/
I've tested it and it seems to be working for me, but you will possibly have a better way of doing it. Perhaps include a check to ensure MQTT_HOMEBRIDGE_ENABLE & MQTT_HOMEASSIST_ENABLE is not set to True simultaneously and ensure it doesn't break anything else?
If you want to include it?
I know you're invesitgating a plugin, but this works.
Attached - homeassistant-changes.txt
The text was updated successfully, but these errors were encountered: