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:
1 parent
a310599a03
commit
edf812c0ea
5 files changed
+27
-15
No files matched your search
@@ -65,4 +65,4 @@ class EnvisalinkSensor(EnvisalinkDevice):
|
||||
def _update_callback(self, partition):
|
||||
"""Update the partition state in HA, if needed."""
|
||||
if partition is None or int(partition) == self._partition_number:
|
||||
self.update_ha_state()
|
||||
self.hass.async_add_job(self.update_ha_state)
|
||||
Reference in new issue
Block a user