Alexei Chetroi
|
52fe1328f6
|
ZHA tests refactoring (#31744)
* Refactor ZHA fixtures.
Patch Zigpy radio libs instead of ZHA when setting up fixtures.
Use new fixtures for binary_sensor.zha platform.
* Update ZHA api tests.
* Update ZHA channels and discovery tests.
* Update ZHA cover tests.
* Update device action/trigger tests.
* Update device_tracker.zha platform tests.
* Update fan.zha platform tests.
* Update ZHA gateway tests.
* Update lock.zha platform tests.
* Update switch.zha platform tests.
* Update sensor.zha platform tests.
* Update light.zha platform tests.
* Use MockConfigEntry.
* Address PR comments.
|
2020-02-12 16:12:14 -05:00 |
Alexei Chetroi
|
28eeed1db3
|
ZHA tests refactoring (#31682)
* Fixtures for restoring/joning a device.
* binary_sensor.zha tests.
* cover.zha platform tests.
* device_tracker.zha platform tests.
* fan.zha platform tests.
* switch.zha platform tests.
* Update light.zha platform tests.
* Update sensor.zha platform tests.
* ZHA api tests refactoring.
* Update lock.zha platform tests.
* Update ZHA gateway tests.
* Update zha device action tests.
* Update zha device trigger tests.
* Cleanup.
|
2020-02-09 21:45:35 -05:00 |
Christian Clauss
|
df7d2b3aeb
|
Fix typos found by codespell (#31243)
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
|
2020-01-31 08:33:00 -08:00 |
Alexei Chetroi
|
3bf657284c
|
Refactor rounding for ZHA electrical measurement sensor (#30923)
|
2020-01-17 20:53:31 -05:00 |
Alexei Chetroi
|
008dddb17c
|
Fix ZHA temperature sensor restoration (#30661)
* Add test for restoring state for zha temp.
* Don't restore unit of measurement for ZHA sensors.
Properly restore ZHA temperature sensor state.
|
2020-01-10 20:30:58 -05:00 |
Ville Skyttä
|
fa4fa30461
|
Various string cleanups (#30435)
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
|
2020-01-03 14:47:06 +01:00 |
Alexei Chetroi
|
8e3dfbd5c9
|
Refactor ZHA electrical measurement sensor. (#30130)
|
2019-12-21 17:15:50 -05:00 |
Alexei Chetroi
|
89213a4ce8
|
Don't set entity_id in ZHA entities (#28362)
* Don't set entity_id on ZHA entities.
* Update tests.
* Use comma as separator for multiple channel names.
* Address PR comments.
|
2019-10-31 12:31:06 -04:00 |
Alexei Chetroi
|
fe7c45b363
|
Move remaining of ZHA imports to top level. (#28071)
* Move ZHA import to top level.
* ZHA tests: move imports to top level.
|
2019-10-21 19:30:56 -04:00 |
Alexei Chetroi
|
a0c50f4794
|
Leverage zigpy for IEEE address conversions (#27972)
* Refactor EUI64 conversions.
* Update ZHA dependencies.
* Update tests.
|
2019-10-21 13:14:17 -04:00 |
Alexei Chetroi
|
9c0fbfd101
|
Bump up ZHA dependencies (#26746)
* Update ZHA to track zigpy changes.
* Update ZHA dependencies.
* Update tests.
* Make coverage happy again.
|
2019-09-23 13:35:27 -04:00 |
presslab-us
|
8e5d272b5f
|
Support formatting and scaling with ZHA Metering cluster (#26201)
* Support formatting and scaling with Metering cluster
* fix lint
* run black formatter
|
2019-08-26 23:16:54 -04:00 |
Paulus Schoutsen
|
4de97abc3a
|
Black
|
2019-07-31 12:25:30 -07: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
|
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
|
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 |