1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
Commit Graph

1058 Commits

Author SHA1 Message Date
GitHub Action
c916fcb2c6 [ci skip] Translation update 2022-08-27 00:24:30 +00:00
David F. Mulcahey
5af015dd7d
Fix missing entities in ZHA for IKEA STARKVIND (#77360) 2022-08-26 19:44:34 +02:00
David F. Mulcahey
0881ff2d1f
Add guard to enhanced current hue usage in ZHA (#77359) 2022-08-26 10:00:46 -04:00
GitHub Action
16b93d1af2 [ci skip] Translation update 2022-08-25 00:28:02 +00:00
puddly
8167cd615a
Bump ZHA dependencies (#77125) 2022-08-23 20:53:43 -04:00
GitHub Action
a4dcb3a9c1 [ci skip] Translation update 2022-08-24 00:27:09 +00:00
epenet
325557c3e9
Use _attr_should_poll in zha entities (#77175) 2022-08-22 21:38:26 -04:00
GitHub Action
0f0e398945 [ci skip] Translation update 2022-08-23 00:32:02 +00:00
GitHub Action
296e52d918 [ci skip] Translation update 2022-08-21 00:24:25 +00:00
GitHub Action
21cd2f5db7 [ci skip] Translation update 2022-08-20 00:23:43 +00:00
Erik Montnemery
6d49362573
Revert rename of confirm step in zha config flow (#77010)
* Revert rename of confirm step in zha config flow

* Update tests
2022-08-19 09:33:57 +02:00
Erik Montnemery
bb74730e96
Add support for USB dongles to the hardware integration (#76795)
* Add support for USB dongles to the hardware integration

* Update hardware integrations

* Adjust tests

* Add USB discovery for SkyConnect 1.0

* Improve test coverage

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Fix frozen dataclass shizzle

* Adjust test

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-18 21:52:12 +02:00
Erik Montnemery
21ebd1f612
Simplify ZHA config entry title (#76991) 2022-08-18 10:58:44 -04:00
GitHub Action
683132ae19 [ci skip] Translation update 2022-08-17 00:26:42 +00:00
Marc Mueller
badbc414fb
Use TriggerActionType [w-z] (#76814) 2022-08-15 20:15:57 +02:00
GitHub Action
bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
David F. Mulcahey
3937ac2ca3
Track code coverage for ZHA sensor entities (#76617)
* Track code coverage for ZHA sensor entities

* remove correct entry
2022-08-11 21:13:27 -04:00
GitHub Action
7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action
519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
puddly
2f99d6a32d
Bump ZHA dependencies (#76565) 2022-08-10 15:51:31 -04:00
epenet
38c57944fa
Improve type hints in zha number entity (#76468) 2022-08-09 18:32:36 +02:00
GitHub Action
32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
David F. Mulcahey
df67a8cd4f
Fix ZHA light color temp support (#76305) 2022-08-05 09:34:21 -04:00
puddly
34dcc74491
Bump ZHA dependencies (#76275) 2022-08-05 11:06:40 +02:00
epenet
9af64b1c3b
Improve type hints in zha light (#75947) 2022-08-04 14:02:07 +02:00
GitHub Action
e09bbc749c [ci skip] Translation update 2022-08-03 00:28:23 +00:00
David F. Mulcahey
67cef0dc94
Ensure ZHA devices load before validating device triggers (#76084) 2022-08-02 17:29:32 +02:00
GitHub Action
81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
David F. Mulcahey
bd3de4452b
Enhance logging for ZHA device trigger validation (#76036)
* Enhance logging for ZHA device trigger validation

* use IntegrationError
2022-08-01 11:43:07 -04:00
Marc Mueller
c9ddb10024
Use device_tracker SourceType enum [s-z] (#75966) 2022-07-31 14:01:18 +02:00
GitHub Action
c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
GitHub Action
a1d96175a8 [ci skip] Translation update 2022-07-29 00:25:31 +00:00
puddly
8e2f0497ce
ZHA network backup and restore API (#75791)
* Implement WS API endpoints for zigpy backups

* Implement backup restoration

* Display error messages caused by invalid backup JSON

* Indicate to the frontend when a backup is incomplete

* Perform a coordinator backup before HA performs a backup

* Fix `backup.async_post_backup` docstring

* Rename `data` to `backup` in restore command

* Add unit tests for new websocket APIs

* Unit test backup platform

* Move code to overwrite EZSP EUI64 into ZHA

* Include the radio type in the network settings API response
2022-07-28 11:24:31 -04:00
GitHub Action
0317cbb388 [ci skip] Translation update 2022-07-28 00:25:05 +00:00
David F. Mulcahey
6254142b8a
Fix ZHA on with timed off cluster command (#75815) 2022-07-27 14:03:51 +02:00
GitHub Action
33c635809c [ci skip] Translation update 2022-07-27 00:28:57 +00:00
TheJulianJES
129b42cd23
Fix ZHA light brightness jumping around during transitions (#74849)
* Moved color commands to a new ``async_handle_color_commands`` method

* Fixed tests

* Fix brightness jumping around during transitions

* Add config option to disable "Enhanced brightness slider during light transition"
2022-07-26 20:03:17 -04:00
David F. Mulcahey
e2dd2c9424
Add guards to ZHA light groups when using hs color mode (#75599)
* fix polling currentSaturation

* Guard light groups against enhanced current hue

* Use XY if all group members do not support HS

* add config option to always prefer XY color mode

* use correct enum

* remove periods
2022-07-26 16:42:08 -04:00
puddly
2b1a5e5549
Bump ZHA dependencies (#75785) 2022-07-26 16:19:51 -04:00
TheJulianJES
b8ae883f18
Set min transition time for Sengled lights in ZHA groups (#75644)
* Set min transition time for Sengled lights in ZHA groups

* Change test to expect correct min transition time for group with Sengled light

* Fix turn_off with transition 0 for Sengled lights
2022-07-25 08:13:01 -04:00
GitHub Action
4a50010458 [ci skip] Translation update 2022-07-25 00:25:55 +00:00
GitHub Action
19f82e5201 [ci skip] Translation update 2022-07-24 00:28:19 +00:00
GitHub Action
8e86124470 [ci skip] Translation update 2022-07-23 00:25:17 +00:00
GitHub Action
36138afb93 [ci skip] Translation update 2022-07-22 00:29:27 +00:00
TheJulianJES
975378ba44
Add ZHA config option for "enhanced light transition from an off-state" (#75151)
* Add ZHA config option for "enhanced light transition from an off-state"

* Default option to disabled

* Always disable "enhanced light transition" for ZHA LightGroups

* Rename _enhanced_light_transition to _zha_config_enhanced_light_transition

* Remove LightGroup check, as config option always disables for groups

* Remove duplicated line

* Remove duplicated line

* Move ZHA config transition line below other config line

* Renamed comments of renamed variable in tests
color_provided_while_off -> new_color_provided_while_off

* Enable "enhanced light transitions" for testing
2022-07-21 19:46:16 -04:00
David F. Mulcahey
04c6b9c519
ZHA light entity cleanup (#75573)
* use base class attributes

* initial hue and saturation support

* spec is 65536 not 65535

* fixes

* enhanced current hue

* fix comparison

* clean up

* fix channel test

* oops

* report enhanced current hue
2022-07-21 17:54:50 -04:00
Marc Mueller
a3b2b5c328
Add zha typing [classmethods] (#75472) 2022-07-20 12:03:30 +02:00
Marc Mueller
d09fff595c
Rename existing TypeVars referencing Self type (#75473) 2022-07-20 03:03:22 +02:00
David F. Mulcahey
6f5e4ca503
Fix ZHA light turn on issues (#75220)
* rename variable

* default transition is for color commands not level

* no extra command for groups

* don't transition color change when light off -> on

* clean up

* update condition

* fix condition again...

* simplify

* simplify

* missed one

* rename

* simplify

* rename

* tests

* color_provided_while_off with no changes

* fix missing flag clear

* more tests for transition scenarios

* add to comment

* fix comment

* don't transition when force on is set

* stale comment

* dont transition when colors don't change

* remove extra line

* remove debug print :)

* fix colors

* restore color to 65535 until investigated
2022-07-18 10:20:49 -04:00
puddly
bdc63b692b
Bump zigpy from 0.47.2 to 0.47.3 (#75194) 2022-07-14 12:15:51 -07:00