Alexei Chetroi
e670491c86
Targeted ZHA permit joins. ( #22482 )
...
* Targeted ZHA permit service.
* Convert IEEE string to EUI64 usiv vol schema.
* Update test units.
* Lint.
isort imports.
2019-03-27 19:50:52 -07:00
Alexei Chetroi
9066609d23
Refactor async_turn_on() for ZHA Light. ( #21156 )
...
* Refactor async_turn_on() for ZHA Light.
Use "move_to_level_with_on_off" if brightness or transition attributes
are present in the service call data, otherwise issue "On" Zigbee
command.
Allow brightness of 0 for service call -- effectively turning the light
off.
Send color commands only after the light was turned on.
* Fix zha.light tests.
2019-02-27 08:34:38 -05:00
David F. Mulcahey
3f9e6a7064
Add power source to device and clean up zha listeners ( #21174 )
...
check available and add comments
ensure order on API test
2019-02-18 16:55:41 +01:00
David F. Mulcahey
d4c34c6b02
Cleanup zha listener lifecycle ( #20789 )
2019-02-07 09:23:01 +01:00
David F. Mulcahey
03ab152c82
Enable the available property for zha entities ( #20788 )
2019-02-07 09:14:19 +01:00
David F. Mulcahey
e6cd04d711
ZHA component rewrite ( #20434 )
...
* rebase reorg
* update coveragerc for now
* sensor cleanup
* remove availability tracking for entities
* finish removing changes from tests
* review comments pass 1
* use asyncio.gather - review comments
* review comments
* cleanup - review comments
* review comments
* review comments
* cleanup
* cleanup - review comments
* review comments
* review comments
* use signal for removal
* correct comment
* remove entities from gateway
* remove dead module
* remove accidently committed file
* use named tuple - review comments
* squash bugs
* squash bugs
* add light and sensor back to coveragerc until % is higher
2019-02-06 13:33:21 -05:00
David F. Mulcahey
0cf71d5bcb
Add ZHA light tests ( #20713 )
...
* add sensor tests
* add light test
* update comments
* fix coveragerc after rebase
2019-02-04 06:51:47 -05:00