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:
parent
a310599a03
commit
edf812c0ea
5 changed files with 27 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue