Closed fabianluque closed 1 year ago
Noticed one of my garage doors was reporting low battery, so enabled debug and extracted a new value from API response to add a new property to the garage door class to report low battery.
This is what the state key looks like when battery is low:
"state": { "dps_battery_critical": false, "dps_no_communication": false, "dps_low_battery_mode": true, "monitor_only_mode": false, "number_of_learned_dps_devices": 1, "sensor_comm_error": false, "is_scheduling_allowed": true, "attached_camera_serial_number": "", "door_state": "closed", "last_update": "2022-12-14T13:24:23.3444945Z", "is_unattended_open_allowed": true, "is_unattended_close_allowed": true, "service_cycle_count": 0, "absolute_cycle_count": 0, "online": true, "last_status": "2022-12-14T17:22:20.719181Z" }
Could some please approve this? Intention is to add this to Home Assistant to report the low battery status of the garage door.
Thx! Just merged and created new release.
Awesome, thank you!
Noticed one of my garage doors was reporting low battery, so enabled debug and extracted a new value from API response to add a new property to the garage door class to report low battery.
This is what the state key looks like when battery is low:
"state": { "dps_battery_critical": false, "dps_no_communication": false, "dps_low_battery_mode": true, "monitor_only_mode": false, "number_of_learned_dps_devices": 1, "sensor_comm_error": false, "is_scheduling_allowed": true, "attached_camera_serial_number": "", "door_state": "closed", "last_update": "2022-12-14T13:24:23.3444945Z", "is_unattended_open_allowed": true, "is_unattended_close_allowed": true, "service_cycle_count": 0, "absolute_cycle_count": 0, "online": true, "last_status": "2022-12-14T17:22:20.719181Z" }
Could some please approve this? Intention is to add this to Home Assistant to report the low battery status of the garage door.