presslab-us
cb460a85ba
Add support for ZHA door locks #2 ( #24344 )
...
* Add support for DoorLock cluster
* Add test for zha lock
* Change lock_state report to REPORT_CONFIG_IMMEDIATE
* Update channel command wrapper to return the entire result
This allows for return values other than result[1]
* Fix tests
* Fix lint
* Update DoorLock test to work with updated zigpy schema
* Fix lint
* Fix unlock test
2019-06-07 11:16:33 -04:00
David F. Mulcahey
592d30d495
Remove binary sensors for ZHA remotes and controllers ( #24370 )
...
* remove remote binary sensor profiles
* fix contact sensors
2019-06-07 11:13:55 -04:00
David F. Mulcahey
ae1bcd5fef
Use node descriptor from Zigpy for ZHA ( #24316 )
...
* use zigpy node descriptor
* cleanup
2019-06-06 08:31:03 -04:00
David F. Mulcahey
128ce589e1
Correct ZHA illumination conversion ( #23853 )
...
* fix illumination values
* correct formula
* update illuminance calculation
* update test
2019-05-14 07:16:41 +02:00
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
David F. Mulcahey
300384410f
Refactor ZHA gateway into modules and add admin protections to API ( #22023 )
...
* refactor
* cleanup
* fix tests
* admin all the things
2019-03-14 10:20:25 -04:00
David F. Mulcahey
5ffb471198
Update ZHA state handling ( #21866 )
...
* make device available if it was seen within 2 hours
* more state restore
* cleanup init
* clean up storage stuff
* fix tests
* update state handling
2019-03-09 20:09:09 -08:00
David F. Mulcahey
901b2b4ba3
new websocket api way ( #21533 )
2019-02-28 19:32:41 -05: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
3be8178035
Refactor ZHA listeners into channels ( #21196 )
...
* refactor listeners to channels
* update coveragerc
2019-02-19 09:58:22 -08: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
3a6a246746
Set ZHA device availability on new join ( #21066 )
...
* set availability on device join
* fix new join test
2019-02-15 13:14:58 -05:00
David F. Mulcahey
80442e655d
Update ZHA API to be device oriented ( #20990 )
...
* update cluster API
* swap to device focused API
* update test
2019-02-12 15:05:02 -05:00
David F. Mulcahey
868820c424
add device info API ( #20950 )
2019-02-11 14:38:04 -05:00
David F. Mulcahey
326010629c
Add some api tests for ZHA ( #20909 )
...
* start API tests
* blank lines
2019-02-10 06:29:36 -05: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
David F. Mulcahey
ff9a33ba36
Add ZHA fan tests ( #20712 )
...
* add sensor tests
* add fan tests
* hound
* fix coveragerc
* update comments
2019-02-04 06:51:32 -05:00
David F. Mulcahey
b9d108284b
Add ZHA binary sensor tests ( #20711 )
...
* add sensor tests
* add binary sensor tests
* add comments
* fix coveragerc after rebase
2019-02-04 06:51:13 -05:00
David F. Mulcahey
9c11602674
Add ZHA sensor tests ( #20710 )
...
* add sensor tests
* update switch test
* add sensor back to coveragerc
* review comments
* added comments
2019-02-03 22:03:35 +01:00
David F. Mulcahey
74cdf7c347
Add tests for ZHA switch ( #20691 )
...
* start test setup
test cleanup
test deps
update switch test
actually update test deps
cleanup and remove switch from coveragerc
comment
refactor to use fixtures and shared components
lint
* remove availability part that isn't in zha yet
* review comments and cleanup
* review comments
* add switch back unil post reorg merge
2019-02-03 07:03:31 -05:00
damarco
052d305243
Add config entry for ZHA ( #18352 )
...
* Add support for zha config entries
* Add support for zha config entries
* Fix node_config retrieval
* Dynamically load discovered entities
* Restore device config support
* Refactor loading of entities
* Remove device registry support
* Send discovery_info directly
* Clean up discovery_info in hass.data
* Update tests
* Clean up rebase
* Simplify config flow
* Address comments
* Fix config path and zigpy check timeout
* Remove device entities when unloading config entry
2018-11-27 21:21:25 +01:00