maisken / Paradox_IP150

Hassio add-on, Python and MQTT bindings for controlling a Paradox alarm via the IP150 web interface
GNU General Public License v3.0
40 stars 10 forks source link

Add arm night mode #11

Closed rob196 closed 5 years ago

rob196 commented 5 years ago

Description Addition of night arming mode as it is now supported in MQTT alarm control panel. Gives user ability to Arm, Arm in Sleep (Night) & Arm in Stay (Home) modes

Links/References

  1. MQTT Alarm Control Panel - payload_arm_night
  2. alarm_control_panel.mqtt - PR

Testing:

image

image

image

image

cschutte commented 5 years ago

Did the above changes manually, and it works perfectly for me. Thanks!

alfredopironti commented 5 years ago

Hi @rob196 ,

Many thanks for your contribution. All the changes you've proposed have been included in the latest revision of the add-on, which has been bumped to 1.0. This PR now conflicts with the current codebase, but the functionality has been added upstream.

Thanks for the lovelace card hint. The default card won't show Arm Night, but this is easily solved with lovelace, which is great! I've added this to the readme.