guerrerotook / securitas-direct-new-api

This repository contains the new securitas direct API that can be integrated in Home Assistant
Apache License 2.0
79 stars 30 forks source link

Get "Triggered" status from the Alarm #116

Closed danise76 closed 1 year ago

danise76 commented 1 year ago

Hi.

I've been using the old integration with securitas, and had some automations based on the state change of the alarm. If i'm not work, the TRIGGERED status isn't one that appears to be in the variables. In the "old" api where this was forked, in the alarm_control_panel.py was the "STATE_ALARM_TRIGGERED" and isn't in this one.

Can the TRIGGERED stated be used? It was a good one to send alerts and turn on lights when the alarm reported it.

JaVier-Lloret commented 1 year ago

I also miss the TRIGERED state, I used it in case of alarm to close blinds and turn on a siren on another floor.

guerrerotook commented 1 year ago

That will require to call the API more often and I'm not sure about it. We don't want to upset Securitas and their API.