Arne Mauer
f975d30258
Fix multi_match to match with the IKEA airpurifier channel ( #74432 )
...
Fix multi_match for FilterLifeTime, device_run_time, filter_run_time sensors for ikea starkvind
2022-07-05 10:35:05 +02:00
David F. Mulcahey
269fa14721
Fix bad conditional in ZHA logbook ( #74277 )
...
* Fix bad conditional in ZHA logbook
* change syntax
2022-06-30 23:59:35 +03:00
David F. Mulcahey
8bcccb17f9
Fix ZHA events for logbook ( #74245 )
2022-06-30 10:03:39 -07:00
Marc Mueller
42d7f2a3b2
Update pylint to 2.14.4 ( #74192 )
2022-06-30 08:56:43 +02:00
TheJulianJES
4d673278c7
Fix color transition when turning on a ZHA light ( #74024 )
...
* Initial implementation of fixing color transition when turning on a ZHA light
* Add off_with_transition attribute, very slightly cleanup
* Fix unnecessarily using last off_brightness when just turning on light
Now it uses the Zigbee on_off call again if possible (instead of always move_to_level_with_on_off)
* Use DEFAULT_TRANSITION constant for color transition, add DEFAULT_MIN_BRIGHTNESS constant
* Add _DEFAULT_COLOR_FROM_OFF_TRANSITION = 0 but override transition for Sengled lights to 0.1s
2022-06-29 13:09:52 -04:00
Arne Mauer
fa678d0408
New sensors and manufacturer cluster to support IKEA STARKVIND (with Quirk) ( #73450 )
...
* Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component
* Fixed black and flake8 test
* New sensors and manufacturer cluster to support IKEA STARKVIND (with quirk)
* Isort and codespell fixes
* Instead using the fan cluster, i've created a Ikea air purifier cluster/channel that supports all sensors and fan modes
* update sensors to support the new ikea_airpurifier channel
* Fix black, flake8, isort
* Mylint/mypy fixes + Use a TypedDict for REPORT_CONFIG in zha #73629
* Last fix for test_fan.py
* fix fan test
Co-authored-by: David F. Mulcahey <david.mulcahey@me.com>
2022-06-29 11:44:40 -04:00
puddly
abe44a100f
Bump all of ZHA's zigpy dependencies ( #73964 )
...
Bump zigpy and radio library versions
2022-06-28 16:02:16 -04:00
David F. Mulcahey
a053a3a8a4
Add cluster attr data to ZHA device diagnostics ( #70238 )
...
* Add cluster attr data to ZHA device diagnostics
* add unsupported attributes and refactor
* remove await
* make parseable
2022-06-28 11:01:27 -04:00
David F. Mulcahey
12c49e1c94
Add Aqara FP1 configuration entities to ZHA ( #73027 )
...
* add multi state input
* config entities
* remove multistate input sensor used for testing
* mypy
2022-06-28 10:41:21 -04:00
TheJulianJES
ed7ea1423a
Fix ZHA color mode not being set correctly when changing light state ( #74018 )
2022-06-28 09:53:00 -04:00
epenet
8bed2e6459
Remove zha from mypy ignore list ( #73603 )
2022-06-28 13:53:20 +02:00
epenet
734b99e6ac
Improve type hints in zha alarm ( #74094 )
...
* Improve type hints in zha alarm
* Allow None code
2022-06-28 11:07:46 +02:00
epenet
87b46a699a
Fix mypy issues in zha store ( #74032 )
2022-06-28 08:52:20 +02:00
epenet
fb10853358
Fix mypy issues in zha core modules ( #74028 )
...
* Fix mypy issues in zha gateway, group and helpers
* Cleanup device
* Apply suggestion
* Raise ValueError
* Use hass.config.path
2022-06-28 08:50:16 +02:00
epenet
e8917af823
Cleanup update/async_update typing in Entities ( #74035 )
2022-06-28 00:48:56 +02:00
epenet
10dc38e0ec
Adjust CoverEntity property type hints in components ( #73943 )
...
* Adjust CoverEntity property type hints in components
* Revert changes to rflink
* Revert changes to wilight
2022-06-25 11:59:56 +02:00
epenet
b880a05e45
Fix type hints in zha remaining channels ( #73778 )
...
* Fix hvac channel type hints
* Fix security channel type hints
* Fix homeautomation channel type hints
* Fix type hints in zha base channel
* Adjust select entity
* Remove unused arg
2022-06-24 10:35:38 -04:00
epenet
a92ab7a669
Adjust CoverEntity function type hints in components ( #73912 )
...
Adjust CoverEntity functions in components
2022-06-24 06:40:26 +02:00
epenet
3c82c718cb
Improve typing in fans and locks ( #73901 )
2022-06-23 16:34:40 +02:00
epenet
48bd7cf5e1
Add missing ToggleEntity type hints in fans ( #73887 )
2022-06-23 12:01:05 +02:00
epenet
6b6e5fad3c
Add missing type hints in fans ( #73835 )
2022-06-22 18:43:41 +02:00
epenet
33a84838b4
Fix type hints in zha smartenergy channel ( #73775 )
...
* Fix type hints in zha smartenergy channel
* Adjust unit_of_measurement
2022-06-22 07:41:28 -04:00
epenet
243905ae3e
Fix cover, light, select, sensor, switch type hints in zha ( #73770 )
...
* Fix zha sensor type hints
* Fix zha entity type hints
* Fix switch type hints
* Fix light type hints
* Fix cover type hints
* Fix select type hints
2022-06-21 21:04:24 -04:00
epenet
6c83ed4c9d
Fix api, button and climate type hints in zha ( #73771 )
...
* Fix zha api type hints
* Fix zha button type hints
* Fix zha climate type hints
2022-06-21 21:02:08 -04:00
epenet
21275669d5
Fix inheritance in zha general channel ( #73774 )
...
Fix general channel type hints in zha
2022-06-21 21:00:58 -04:00
Erik Montnemery
274f585646
Tweak title of zha config entry created by yellow hw ( #73797 )
2022-06-21 16:21:31 -04:00
epenet
4bc1314499
Fix REPORT_CONFIG type hint in zha ( #73762 )
...
Fix REPORT_CONFIG type hint
2022-06-20 18:32:32 -04:00
epenet
f43cc18aa3
Fix type hints in zha platforms ( #73745 )
...
* Adjust binary_sensor
* Adjust device_action
* Adjust device_tracker
* Adjust fan
* Adjust lock
* Adjust siren
2022-06-20 11:31:16 -04:00
epenet
9a95649a22
Use a TypedDict for REPORT_CONFIG in zha ( #73629 )
...
* Introduce ReportConfig TypedDict in zha
* Fix hint
* Always use Tuple
* Replace empty list with empty tuple
* Allow float for third config tuple value
* ReportConfig -> AttrReportConfig
* dict -> AttrReportConfig
* Allow int attributes
* Add coments
2022-06-20 11:29:45 -04:00
epenet
be2aa44559
Fix mypy issues in zha config_flow ( #73744 )
2022-06-20 16:25:24 +02:00
epenet
b6d3e34ebc
Drop custom type (CALLABLE_T) from zha ( #73736 )
...
* Drop CALLABLE_T from zha
* Adjust .coveragerc
* Apply suggestions from code review
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Add TypeVar
* Apply suggestions from code review
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* One more
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Flake8
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-06-20 14:50:27 +02:00
epenet
2de4b193e3
Remove unnecessary type definitions in zha ( #73735 )
...
* Cleanup ZigpyClusterType
* Cleanup ZigpyDeviceType
* Cleanup ZigpyEndpointType
* Cleanup ZigpyGroupType
* Cleanup ZigpyZdoType
2022-06-20 12:49:40 +02:00
epenet
06e45893aa
Remove invalid type definitions in zha ( #73596 )
2022-06-20 11:28:53 +02:00
epenet
e7e9c65e44
Adjust zha routine to get name and original_name ( #73646 )
2022-06-19 21:38:01 +02:00
Erik Montnemery
66feac2257
Finish migrating zha NumberEntity to native_value ( #73580 )
2022-06-17 12:15:59 +02:00
epenet
e0b362ef3b
Fix zha log message ( #73626 )
2022-06-17 12:13:16 +02:00
epenet
f8f1bfde21
Add lock typing in components ( #73539 )
...
* Add lock typing in components
* Revert freedompro amends
2022-06-15 15:23:36 +02:00
Erik Montnemery
576de9ac40
Migrate NumberEntity u-z to native_value ( #73488 )
2022-06-14 08:15:56 -10:00
Erik Montnemery
e3b6c7a66f
Add Home Assistant Yellow integration ( #73272 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-13 23:25:11 -07:00
David F. Mulcahey
a5dc7c5f28
Add logbook describe event support to ZHA ( #73077 )
2022-06-07 06:49:40 -10:00
GitHub Action
05e5dd7baf
[ci skip] Translation update
2022-06-07 00:20:09 +00:00
puddly
1c38c20cac
Bump ZHA dependency zigpy from 0.45.1 to 0.46.0 ( #72877 )
2022-06-02 08:27:12 -07:00
Arne Mauer
321394d3e2
Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component ( #72826 )
...
* Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component
* Fixed black and flake8 test
2022-06-01 18:00:58 -04:00
epenet
df5285f681
Improve pylint disable rule in zha ( #72835 )
2022-06-01 16:49:43 +02:00
David F. Mulcahey
7854aaa746
Bump ZHA quirks lib to 0.0.75 ( #72765 )
2022-05-31 12:24:35 -07:00
GitHub Action
3c5b778ee3
[ci skip] Translation update
2022-05-30 00:27:06 +00:00
GitHub Action
7a0657c386
[ci skip] Translation update
2022-05-29 00:23:25 +00:00
David F. Mulcahey
60387a417f
Add support for polled Smart Energy Metering sensors to ZHA ( #71527 )
...
* Add framework for polled se metering sensors
* add model
* find attr
* type info
2022-05-27 09:43:39 -04:00
Erik Montnemery
5ca82b2d33
Migrate zha light to color_mode ( #70970 )
...
* Migrate zha light to color_mode
* Fix restoring color mode
* Correct set operations
* Derive color mode from group members
* Add color mode to color channel
* use Zigpy color mode enum
Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2022-05-27 15:38:22 +02:00
David F. Mulcahey
692a602aea
Bump ZHA quirks to 0.0.74 ( #72482 )
2022-05-25 14:48:34 +02:00