David F. Mulcahey
b1a9fa47ca
Add device action support for ZHA ( #26903 )
...
* start implementing device actions
* rename file
* cleanup and add tests
* fix docstrings
* sort imports
2019-09-27 09:57:47 -07:00
HomeAssistant Azure
b04a70995e
[ci skip] Translation update
2019-09-27 00:32:12 +00:00
HomeAssistant Azure
ba92d781b4
[ci skip] Translation update
2019-09-26 00:32:13 +00:00
Sébastien RAMAGE
dc229ed569
Update zigpy_zigate to 0.4.0 ( #26883 )
...
* zigpy-zigate==0.4.0
* zigpy-zigate==0.4.0
2019-09-24 21:02:23 -07:00
David F. Mulcahey
31964d0f49
bump quirks ( #26885 )
2019-09-24 21:01:38 -07:00
HomeAssistant Azure
24c8db0121
[ci skip] Translation update
2019-09-25 00:32:16 +00:00
Paulus Schoutsen
6fdff9ffab
Reorg device automation ( #26880 )
...
* async_trigger -> async_attach_trigger
* Reorg device automations
* Update docstrings
* Fix types
* Fix extending schemas
2019-09-24 14:57:05 -07:00
Franck Nijhof
b1118cb8ff
Removes unnecessary else/elif blocks ( #26884 )
2019-09-24 13:53:03 -07:00
David F. Mulcahey
18873d202d
Add device automation support to ZHA ( #26821 )
...
* beginning ZHA device automations
* add cube
* load triggers from zigpy devices
* cleanup
* add face_any for aqara cube
* add endpoint id to events
* add cluster id to events
* cleanup
* add device tilt
* add test
* fix copy paste error
* add event trigger test
* add test for no triggers for device
* add exception test
* better exception tests
2019-09-24 08:54:41 -07: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
Abílio Costa
61634d0a64
Store ZHA light brightness when fading off to turn on at the correct brightness ( #26680 )
...
* Use light's on_level in ZHA to turn on at the correct brightness
Previously, if the light is turned off with a time transition, the
brightness level stored in the light will be 1. The next time the light
is turned on with no explicit brightness, it will be at 1.
This is solved by storing the current brightness in on_level before
turning off, and then using that when turning on (by calling the
onOff cluster 'on' command).
* store off light level locally to avoid wearing device's flash memory
* store off brightness in HA attributes
* improve set/clear of off_brightness
* fix device_state_attributes; clear off_brightness when light goes on
* fix tests
2019-09-23 09:08:44 -04:00
David F. Mulcahey
62adff23f9
ZHA siren and warning device support ( #26046 )
...
* add ias warning device support
* use channel only clusters for warning devices
* squawk service
* add warning device warning service
* update services.yaml
* remove debugging statement
* update required attr access
* fix constant
* add error logging to IASWD services
2019-09-20 15:11:24 -04:00
Abílio Costa
8de84c53a1
zha: fix 0 second transitions being ignored. ( #26654 )
...
Allow turning a light on instantly, with no transition time.
This is actually required for IKEA lights to be able to set brightness
and color temp in a single call.
2019-09-16 07:14:05 -04:00
Dan Ponte
bca7363a80
zha ZCL color loop effect ( #26549 )
...
* Initial implementation of ZCL color loop effect
* Fix linter complaints
* Use const for action
* Reformat with Black
* Cleanup after review.
* Handle effect being None
2019-09-13 22:06:09 -04:00
Sébastien RAMAGE
284ae01560
Bump zigpy-zigate to 0.3.1 ( #26600 )
...
* Bump zigpy-zigate to 0.3.1
Bump zigpy-zigate to 0.3.1 (fix Rpi.GPIO dependency)
* Bump zigpy-zigate to 0.3.1
Bump zigpy-zigate to 0.3.1 (fix Rpi.GPIO dependency)
2019-09-12 14:00:58 +02:00
Sébastien RAMAGE
3fda07a4ea
Bump zigate to 0.3.0 ( #26586 )
...
* Bump zigate to 0.3.0
2019-09-11 20:03:02 -04:00
David F. Mulcahey
c31efe50ca
bump dependencies ( #26576 )
2019-09-11 09:18:31 -04:00
David F. Mulcahey
1cea3a6abc
osram cluster ( #26555 )
2019-09-10 13:44:41 -07:00
David F. Mulcahey
4f3a2c0443
fix events for smartthings acceleration cluster ( #26557 )
2019-09-10 13:14:22 -07:00
David F. Mulcahey
fec6706bf7
use newly added is_server for cluster reporting ( #26533 )
2019-09-09 09:21:34 -04:00
Alexei Chetroi
3544f3d7e0
Bump ZHA dependencies. ( #26504 )
2019-09-07 21:14:32 -05:00
David F. Mulcahey
5237bd3fd1
fix cluster configuration ( #26494 )
2019-09-07 10:39:56 -04:00
Ville Skyttä
33e1b44b3a
Use PEP 526 type annotations, add some type hints ( #26464 )
...
* Add some more type hints to helpers.event
* Change most type comments to variable types
* Remove some superfluous type hints
2019-09-07 09:48:58 +03:00
Franck Nijhof
9035efee10
Fixes invalid JSON files and whitespace corrections in YAML files ( #26396 )
2019-09-03 16:02:42 -07:00
Franck Nijhof
dae6895a95
Use literal string interpolation in integrations X-Z (f-strings) ( #26395 )
2019-09-03 21:15:31 +02:00
Sébastien RAMAGE
6a5f7bd8e4
Update zigpy_zigate to 0.2.0 ( #26327 )
...
* Update zigpy_zigate to 0.2.0
* Update requirements_all.txt
2019-09-02 22:21:09 +02:00
David F. Mulcahey
25961df548
Fix ZHA state restore by always restoring last seen on devices ( #26271 )
...
* fix state restore by always restoring last seen
* cleanup
2019-08-29 12:44:53 -07: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
David F. Mulcahey
6f2ac705eb
Add web socket API command to get a single ZHA device ( #26196 )
...
* get single device web socket command
* test get single device
* add not found error
* fix handling when device doesn't exist
* add test for zha device not found
2019-08-26 09:54:19 -04:00
David F. Mulcahey
bde572c91a
bump quirks version ( #26198 )
2019-08-25 22:34:43 -07:00
David F. Mulcahey
46bfd5e9c8
bump quirks ( #26106 )
2019-08-21 09:13:04 -07:00
Alexei Chetroi
21a946009d
Bump up zha dependencies. ( #26097 )
2019-08-20 16:06:38 -07:00
Alexei Chetroi
61b687edec
Bump ZHA dependencies. ( #25898 )
2019-08-12 18:34:16 -04:00
Quentame
ec2ce31204
Fix script/translations_develop launch + clean some unused error i18n ( #25459 )
...
* Fix : script/translations_develop launch + clean some unused error i18n
* Respecting strings.json order property
title
step
error
abort
* Review from @fredrike : remove Telldus Live all_configured
2019-08-11 20:40:18 -07:00
David F. Mulcahey
fafd228418
Refactor ZHA device initialized logic ( #25796 )
...
* refactor device initialized
* better names and update tests
* clean up last seen logic
* logging consistency
2019-08-09 18:52:47 -04:00
Alexei Chetroi
c3c45f8198
Manufacturer specific channel for SmartThings. ( #25739 )
...
* Manufacturer specific channel for SmartThings.
* Lint.
2019-08-06 20:59:18 -04:00
Alexei Chetroi
152a9eb466
Use more decorators for ZHA Core registries. ( #25737 )
...
* Move ZIGBEE_CHANNEL_REGISTRY to ZHA core registries.
* Refactor more ZHA Core registries to use decorator.
* Cleanup.
* Use relative imports for component.
* Flake8.
* Make pylint happy again.
2019-08-06 20:01:14 -04:00
Sébastien RAMAGE
5b02555255
Add zigate support to zha ( #25552 )
...
* Add zigpy-zigate support
* update requirements
* fix
* update
* fix flake8
* update requirements
* fix
* update
* add test to make codecov happy
* fix flake8
* Try to add test
* add test
* remove unneeded test
* exclude registries.py from coverage
exclude homeassistant/components/zha/core/registries.py since untestable
* Fix merge: black formatting and flake8.
2019-08-05 18:05:07 -04:00
Alexei Chetroi
8dbac9176e
Refactor ZHA Zigbee channel registry. ( #25716 )
...
* Update test to catch regression.
* Refactor ZHA Core channels.
Use channel decorator for Zigbee channel registry.
* Update tests.
* Pylint
2019-08-05 15:40:29 -06:00
David F. Mulcahey
b073d87e08
stagger device init to avoid flooding network ( #25709 )
2019-08-05 10:14:19 -04:00
David F. Mulcahey
20b54c22f7
don't mark devices unavailable without ping try ( #25710 )
2019-08-05 09:50:48 -04:00
David F. Mulcahey
ac5fcff1cd
fix unique id in cluster channels ( #25707 )
2019-08-05 08:47:42 -04:00
Alexei Chetroi
f7cfe908f7
Refactor ZHA Zigbee Cluster report configuration ( #25589 )
...
* Move ZCL report configs to ZHA core channels.
* Refactor ZCL report configuratopm and cluster binding.
* Tests for ZHA channel configuration.
* Update tests.
* Remove INPUT_BIND_ONLY_CLUSTER ZHA core registry.
We always need bind a cluster, but not always need to configure
attribute reporting. No reporting is done on ZCL "client" clusters.
* Lint
* Black
2019-08-04 18:20:03 -04:00
Alexei Chetroi
0c561aec4f
isort ZHA imports. ( #25660 )
2019-08-02 10:37:21 -04:00
Alexei Chetroi
77e4ff94fd
ZHA code cleanup. ( #25644 )
...
* isort ZHA imports.
* Sort zha channel registry.
* Sort ZHA core registry.
* Sort ZHA core consts.
2019-08-02 06:05:23 -04:00
David F. Mulcahey
3bd7b15b3d
bump quirks ( #25618 )
2019-07-31 21:33:12 -06:00
Paulus Schoutsen
37d78af42c
Add translations
2019-07-31 16:16:40 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
da05dfe708
Add Black
2019-07-31 12:23:23 -07:00
Ville Skyttä
0490167a12
Azure flake8 dep, docstring fixes ( #25605 )
...
* Fix Azure CI flake8 deps
* Docstyle fixes
2019-07-31 12:21:36 -07:00