Commit graph

10 commits

Author SHA1 Message Date
damarco
db31cdf075 Fix binary_sensor device_state_attributes () 2018-05-10 21:28:57 +02:00
damarco
6e831138b4 Fix binary_sensor async_update () 2018-05-10 10:59:23 -07:00
Russell Cloran
9d4d1c8233 zha: Clean up binary_sensor listener registration/state updates ()
- Instead of registering listeners in the entity __init__, do it in
   async_added_to_hass to avoid errors updating an entity which isn't fully
   set up yet
 - Change from schedule_update_ha_state to async_schedule_update_ha_state
2018-05-01 08:55:25 -04:00
Russell Cloran
02a12a0bb4
zha: Support remotes/buttons () 2018-04-29 23:31:27 -07:00
Steve Easley
5e2296f2a4 Get zha switch and binary_sensor state on startup ()
* Get zha switch and binary_sensor state on startup

* Removed unused var

* Make zha switch report status

* Use right method name

* Formatting fix

* Updates to match latest dev

* PR feedback updates

* Use async for cluster commands
2018-03-08 19:31:52 -08:00
Russell Cloran
c7dad113d9 zha: Add support for XBee radios ()
* zha: Add support for xbee radios

* Lint
2018-02-06 10:46:28 -08:00
Russell Cloran
f58e5f442d zha: Update to bellows 0.5.0+zigpy () 2018-02-05 16:05:19 -08:00
Russell Cloran
2f474a0ed8 zha: Handle both input and output clusters ()
bellows 0.3.0 changes the API to have both, renaming the attribute which used
to be for input clusters in the process.

This is in preparation for remotes.
2017-07-10 21:16:44 -07:00
Fabian Affolter
3ee4d1060f Update docstrings ()
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update tomato.py

* Update isy994.py

* Lint + fix tests

* Lint
2017-04-29 22:04:49 -07:00
Russell Cloran
d79f89e168 Add support for Zigbee Home Automation ()
* Add support for Zigbee Home Automation

* Fewer magic numbers

* Make optional device config work

* Remove non-zha device_tracker stuff

* Always return boolean from is_on

* Only pass through JSON serializable discovery_info

* Update to bellows 0.2.4

* Fewer magic numbers in binary sensor

* Populate const structures from a function

* Update bellows to 0.2.6

* Fewer magic numbers in light

* Take all possible clusters when overriding

* Update bellows to 0.2.7
2017-04-24 22:24:57 -07:00