Thorarin / com.sensative

Strips sensors (and future Sensative devices) for Homey
MIT License
3 stars 9 forks source link

Alarms fix #21

Closed anaxyd closed 4 years ago

anaxyd commented 4 years ago

Fix of alarms setting off. This happened to me when adding the device, and it wouldnt reset at all. The quickfix is to reset the alarms at onMeshInit(), in case a user wants to reset the alarms, its just to reset the Sensative app.

Also added code which checks for correct event in alarm_heat. This is tested with my own device. It will trigger alarm on/off when notification report is received by device.

I do not have the Sensative Drip, so I couldn't write the same code for that one, I dont know what event is received by that one. Probably the same as in alarm_heat.

@Thorarin