mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Envisalink Fixes + Enhancements (#3460)
* Added the ability to trigger the alarm. * Bump version of pyenvisalink to 1.3 * Fixed an issue where the panic_type was not passed to the sub-components properly. * Bump pyenvisalink version, and make default panic mode = police. * Pass in event loop to pyenvisalink. * Made the components play nicely with asyncio. * Bump pyenvisalink to 1.6 * Bump up pyenvisalink, and better handle synchronous setup.
This commit is contained in:
committed by
Paulus Schoutsen
parent
a310599a03
commit
edf812c0ea
@@ -68,4 +68,4 @@ class EnvisalinkBinarySensor(EnvisalinkDevice, BinarySensorDevice):
|
||||
def _update_callback(self, zone):
|
||||
"""Update the zone's state, if needed."""
|
||||
if zone is None or int(zone) == self._zone_number:
|
||||
self.update_ha_state()
|
||||
self.hass.async_add_job(self.update_ha_state)
|
||||
|
||||
Reference in New Issue
Block a user