Commit Graph

42687 Commits (88cfbf6a349c27d1764b7c1aabf55c64433b1438)

Author SHA1 Message Date
Erik Montnemery 601ac3d9a9
Drop unnecessary copy from entitydescription.name to _attr_name (#88251) 2023-02-16 13:54:32 +01:00
epenet ba23816a0c
Inverse json import logic (#88099)
* Fix helpers and util

* Adjust components

* Move back errors

* Add report

* mypy

* mypy

* Assert deprecation messages

* Move test_json_loads_object

* Adjust tests

* Fix rebase

* Adjust pylint plugin

* Fix plugin

* Adjust references

* Adjust backup tests
2023-02-16 11:37:57 +01:00
Brandon Rothweiler 0748e12341
Fix capitalization of OwnTone integration (#88219) 2023-02-16 10:16:32 +01:00
J. Nick Koston c83ea297b5
Refactor zeroconf task handling (#88204)
* Refactor zeroconf task handling

- Avoid the need to create tasks for most callbacks
- Fixes the untracked task that could get unexpectedly GCed

* be consistant

* be consistant

* fix zeroconf tests

* runtime

* Revert "runtime"

This reverts commit 19e6b61837.

* precalc

* refactor

* tweak

* update tests
2023-02-15 21:44:11 -05:00
rappenze 57cea6d637
Update pyfibaro to version 0.6.8 (#88203)
Update pyfibaro library to version 0.6.8
2023-02-15 23:28:44 +01:00
Franck Nijhof d3ed8de232
Update Ruff to v0.0.247 (#88210)
* Update Ruff to v0.0.247

* Fix new found violations
2023-02-15 16:46:03 -05:00
Marcel van der Veldt dfe0ededa0
Bump python-matter-server to 2.1.0 (#88192)
* Bump python-matter-server to 2.1.0

* Fix tests

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-15 13:23:03 -05:00
Erik Montnemery 80e2f96097
Add WS command thread/delete_dataset (#88077)
* Add WS command thread/delete_dataset

* Return not_allowed when trying to delete the preferred dataset
2023-02-15 12:55:10 -05:00
J. Nick Koston 4221433ca6
Account for changed python3.11 enum.IntFlag 0 behavior in zha (#88144) 2023-02-15 11:40:48 -06:00
Jc2k f5a05c1bd2
Support HomeKit Controller Thread Provisioning (#87809) 2023-02-15 16:41:07 +00:00
Jan Bouwhuis 03e9dff327
Allow resetting MQTT climate attributes and ignore empty values (#87936)
Allow reseting MQTT climate attributes
2023-02-15 16:31:49 +01:00
J. Nick Koston 61539686a4
Disable profiler.memory service with python 3.11 (#88136) 2023-02-15 16:20:47 +01:00
mkmer 2af4d2152b
Honeywell disable detergent level by default (#88040)
* Disable fill by default

* Fix tests

* use TANK_FILL.get

* Remove None from attribute get
add reload to sensor test

* Typing
fix iteration error
2023-02-15 16:01:20 +01:00
Gertjan 66ba0cb1d3
Fixed float number validation in sensor component (#88074) 2023-02-15 15:53:44 +01:00
Ville Skyttä 93f23e7523
Do not round Huawei LTE LTE frequency values (#88127)
Suggest display precision 0 instead.

While at it, fix source info in frequency formatter docstring.
2023-02-15 15:28:35 +01:00
Michał Huryn cf11a30689
Blebox fix thermobox reporting wrong state (#88169)
fix: fixed climate hvac_mode for when device is off
2023-02-15 15:27:46 +01:00
Franck Nijhof 793e51ac76
Enable Ruff SIM212 (#88181) 2023-02-15 15:22:34 +01:00
starkillerOG 951269e88c
Bump reolink-aio to 0.4.2 (#88175) 2023-02-15 15:16:47 +01:00
Erik Montnemery 8613d60c5e
Add WS command for discovering Thread routers (#88021)
* Add WS command for discovering Thread routers

* Fix type annotations

* Mock zeroconf in tests

* Key discovery by external MAC address

* Add tests

* Include hostname in data, allow missing fields

* Fix typo

* Include server instead of hostname
2023-02-15 15:15:29 +01:00
epenet ccf44d58cc
Expose DEVICE_CLASS_STATE_CLASSES sensor constant (#88172) 2023-02-15 14:48:27 +01:00
Franck Nijhof f67ebcade1
Enable Ruff SIM201 (#88171) 2023-02-15 14:43:02 +01:00
epenet 443d446cbf
Remove invalid pragma: no cover (#88173) 2023-02-15 14:39:12 +01:00
J. Nick Koston 6f38bc274a
Fix netatmo with python 3.11 (#88093) 2023-02-15 14:02:33 +01:00
epenet b21bf8763e
Fix mobile app regression accepting sensor states (#88164)
* Fix mobile app regression accepting sensor states

* Adjust tests
2023-02-15 07:17:19 -05:00
Franck Nijhof 9030ca05b1
Enable Ruff SIM118 (#87772) 2023-02-15 12:39:12 +01:00
Mike Heath 04e9c7748f
Support Fully Kiosk Browser device discovery via MQTT (#88109)
Support FKB device discovery via MQTT
2023-02-15 11:11:04 +01:00
Jan Bouwhuis 09b509da94
Add note on always subscribing to the MQTT broker when topics are shared (#88159)
Add note on always subscribing
2023-02-15 10:46:57 +01:00
Thomas Dietrich a0e0feb444
Statistics component fix device_class for incremental source sensors (#88096)
* Return None device_class for incremental source sensors

* Ignore linting error

* Fix ignore linting error

* Fix ignore linting error

* Fix ignore linting error

* Catch potential parsing error with enum
2023-02-15 10:22:09 +01:00
Maciej Bieniek 95bb019f71
Do not reload Shelly TRV entry when not needed (#88037)
* Do not reload the entry when the target temperature changes

* Do not reload the entry when the mode changes

* Increase test coverage

* Increase test coverage
2023-02-15 10:21:53 +01:00
Maciej Bieniek cd4ce86f07
Add support for `triple_push` event for Shelly gen2 devices (#88081)
* Add support for triple_push event

* Sort

* Fix tests
2023-02-15 10:20:27 +01:00
Brandon Rothweiler 7cf5fd5952
Fix typo in OpenAI prompt (#88137) 2023-02-14 20:33:58 -05:00
dcmeglio 361b39c4c3
Move denonavr state update callbacks to async_added_to_hass (#88147)
Move state update callbacks to async_added_to_hass.
2023-02-15 02:20:55 +01:00
J. Nick Koston 80b25d6f40
Bump pyunifiprotect to 4.7.0 for python 3.11 (#88130) 2023-02-14 15:29:34 -06:00
J. Nick Koston 5f69ae4360
Fix exception ordering in yeelight for python 3.11 (#88134) 2023-02-14 15:17:22 -06:00
Carlos Cristobal 9756131473
Replace Fitbit weight SensorStateClass measurement with total (#88118)
* Remove SensorStateClass.MEASUREMENT from weight

* Using SensorStateClass.TOTAL for weight
2023-02-14 16:15:09 -05:00
Jan Bouwhuis aaf8196997
Fix race on check MQTT subscriptions (#88117)
* Check MQTT subscriptions under paho client lock

* Check simple subscriptions first

* Apply suggestion
2023-02-14 15:39:33 -05:00
Joakim Plate 8529bcef2a
Bump arcam dependency to 1.2.1 (#88125) 2023-02-14 14:31:29 -06:00
J. Nick Koston a149d67b30
Fix twentemilieu diagnostics with python 3.11 (#88121) 2023-02-14 15:26:03 -05:00
Paulus Schoutsen 2e74e75177
Graphite flaky test fix (#88115) 2023-02-14 15:21:05 -05:00
Martin Hjelmare d0a9d65875
Fix august untracked task (#88107) 2023-02-14 20:25:29 +01:00
Robert Svensson 3d8e8293d6
Bump pydeconz to v107 (#88114) 2023-02-14 13:48:24 -05:00
Aaron Bach 6bb7a7225d
Revert "Add a calendar entity to Ridwell (#86117)" (#88106)
This reverts commit 16a5275461.
2023-02-14 10:23:32 -07:00
J. Nick Koston f237bb14ca
Add strict typing to yalexs_ble (#88086)
* Add strict typing to yalexs_ble

* Add strict typing to yalexs_ble

* Add strict typing to yalexs_ble
2023-02-14 11:38:51 -05:00
J. Nick Koston f4ef64a7d7
Fix rmvtransport integration with py3.11 (#88094)
In py3.11 `Passing coroutines is forbidden, use tasks explicitly`
2023-02-14 11:32:36 -05:00
J. Nick Koston 85b852d8ad
Fix cloud integration with py3.11 (#88088)
In py3.11 `Passing coroutines is forbidden, use tasks explicitly`
2023-02-14 11:31:52 -05:00
J. Nick Koston 692920e01e
Fix hassio integration with py3.11 (#88090)
In py3.11 `Passing coroutines is forbidden, use tasks explicitly`
2023-02-14 11:31:01 -05:00
J. Nick Koston e6b7f1d487
Fix forked_daapd integration with py3.11 (#88091)
In py3.11 `Passing coroutines is forbidden, use tasks explicitly`
2023-02-14 11:30:16 -05:00
Teemu R 5335dfbc67
Prefer effect over other light settings for tplink (#85642) 2023-02-14 10:29:11 -06:00
J. Nick Koston 9593d9610d
Fix sleepiq with python 3.11 (#88098)
There is a breaking change in enum behavior

see https://blog.pecar.me/python-enum
2023-02-14 11:26:33 -05:00
J. Nick Koston 3e8a6cb3b7
Fix unifiprotect with python 3.11 (#88101)
There are some breaking changes to Enum https://blog.pecar.me/python-enum

needs https://github.com/AngellusMortis/pyunifiprotect/pull/263 but
does not need to be in this PR
2023-02-14 11:26:14 -05:00