Commit Graph

17946 Commits (ea61160fd8a741320aa2e427ff9323b31cf6e72d)

Author SHA1 Message Date
Joost Lekkerkerker d712a29052
Split Withings coordinators (#101766)
* Subscribe to Withings webhooks outside of coordinator

* Subscribe to Withings webhooks outside of coordinator

* Split Withings coordinator

* Split Withings coordinator

* Update homeassistant/components/withings/sensor.py

* Fix merge

* Rename MEASUREMENT_COORDINATOR

* Update homeassistant/components/withings/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix feedback

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-13 07:34:31 +02:00
Bouwe Westerdijk 0c901435bd
Fix state_class of huisbaasje sensors (#101892) 2023-10-12 19:57:15 +02:00
Joost Lekkerkerker 3843e91af0
Use device class translation for Sensibo update entity (#101888)
Use device class translation for Sensibo update
2023-10-12 19:13:21 +02:00
G Johansson dc29190564
CountrySelector (#100963)
* CountrySelector

* rename

* remove multiple for now

* Add no_sort

* Update homeassistant/helpers/selector.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-10-12 16:44:30 +02:00
Joost Lekkerkerker 3e4edc8edd
Move Withings entity descriptions to platforms (#101820) 2023-10-12 13:42:00 +02:00
Guy Shefer 5730cb1e85
Add Tami4 Integration (#90056)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-12 13:15:25 +02:00
Brandon Rothweiler 91cf719588
Remove Mazda integration (#101849)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-10-12 13:13:44 +02:00
Martin Hjelmare 52067dbfe5
Fix mysensors battery level attribute (#101868) 2023-10-12 13:01:08 +02:00
Michael Hansen 257686fcfe
Dynamic wake word loading for Wyoming (#101827)
* Change supported_wake_words property to async method

* Add test

* Add timeout + test

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-10-11 10:21:32 -07:00
Robert Resch 6c4ac71218
Remove "none" in favor of optional select in brottsplatskartan (#101311) 2023-10-11 17:52:18 +02:00
Robert Resch dfea1c2b7c
Remove NONE_SENTINEL in favor of optional select in scrape (#101278)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-10-11 17:41:31 +02:00
Robert Resch 952a17532f
Remove NONE_SENTINEL in favor of optional select in sql (#101309) 2023-10-11 17:38:29 +02:00
Robert Resch 1915fee9ba
Remove "none" in favor of optional select in integration (#101396) 2023-10-11 17:36:53 +02:00
Robert Resch 7db2fdd68c
Remove "none" in favor of optional select in derivate (#101312) 2023-10-11 17:36:15 +02:00
Michał Huryn ddfad75eb7
Add basic auth to Blebox (#99320)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-11 16:09:56 +02:00
Richard Kroegel f61627ea08
Bump bimmer_connected to 0.14.1 (#101789)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-10-11 13:46:02 +02:00
Robert Resch 87c82fb00f
Remove NONE_SENTINEL in favor of optional select in workday (#101280) 2023-10-11 13:29:42 +02:00
jjlawren f116e83b62
Add update entity for Plex Media Server (#101682) 2023-10-11 13:06:10 +02:00
Kevin Stillhammer 7d1105228b
Allow resetting time in google_travel_time (#88256)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-11 09:46:02 +02:00
Allen Porter bd38fd9516
Add google calendar required feature for create event service (#101741)
* Add google calendar required feature for create event service

* Update docstring
2023-10-10 20:48:46 -07:00
Joost Lekkerkerker ffb752c804
Subscribe to Withings webhooks outside of coordinator (#101759)
* Subscribe to Withings webhooks outside of coordinator

* Subscribe to Withings webhooks outside of coordinator

* Update homeassistant/components/withings/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/withings/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-11 00:06:42 +02:00
Marc Mueller ba91aaa28d
Add support for Python 3.12 (#101651) 2023-10-10 21:34:49 +02:00
J. Nick Koston 265f6653c3
Refactor homekit to use a dataclass for entry data (#101738) 2023-10-10 21:14:37 +02:00
Sheldon Ip 6c65db2036
Add rising sensor to sun (#93276) 2023-10-10 21:12:43 +02:00
Robert Resch b932c67eb7
Delete optional schema keys, when they are not present (#101755)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-10-10 21:08:54 +02:00
J. Nick Koston 7b4b8e7516
Refactor HomeKit to allow supported features/device class to change (#101719) 2023-10-10 06:20:25 -10:00
J. Nick Koston f166e1cc1a
Map switch device class outlet to Outlets in homekit (#101760) 2023-10-10 05:55:42 -10:00
Mick Vleeshouwer 60fa02c042
Bump pyOverkiz to 3.11 and migrate unique ids for select entries (#101024)
* Bump pyOverkiz and migrate entries

* Add comment

* Remove entities when duplicate

* Remove old entity

* Remove old entities

* Add example of entity migration

* Add support of UIWidget and UIClass

* Add tests for migrations

* Apply feedback (1)

* Apply feedback (2)
2023-10-10 17:23:58 +02:00
Erik Montnemery ecdb0bb46a
Modernize metoffice weather (#99050)
* Modernize metoffice weather

* Exclude sensors from additional test
2023-10-10 16:49:36 +02:00
Jan Bouwhuis 31bd500222
Make get_channel available as generic helper (#101721)
* Make get_channel available as generic helper

* Follow up comment
2023-10-10 14:02:32 +02:00
Marc Mueller 915f5bf84e
Reset the threading.local _hass object every time (#101728)
* Reset the threading.local _hass object every time

* Remove reset from hass fixture
2023-10-10 12:43:12 +02:00
Álvaro Fernández Rojas f78199df9f
Fix Airzone climate double setpoint (#101744)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-10-10 10:18:52 +02:00
elmurato c6a3fa30f0
Add support for Minecraft Server Bedrock Edition (#100925) 2023-10-10 08:42:35 +02:00
Robert Resch 84fe356782
Fix sky connect tests (#101712)
* Fix sky connect tests

* Implement suggestions
2023-10-09 19:43:47 +02:00
Raman Gupta 70a0cd579d
Add Z-Wave WS command to hard reset controller (#101449) 2023-10-09 13:33:31 -04:00
Simone Chemelli d46dca8950
Bump aiocomelit to 0.2.0 (#101586) 2023-10-09 15:23:25 +02:00
puddly 2e4df6d2f2
Open a ZHA repair when network settings change (#99482) 2023-10-09 15:01:05 +02:00
Marcel van der Veldt 6393171fa4
Adjust Hue integration to use Entity descriptions and translatable entity names (#101413)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-09 14:14:07 +02:00
Erik Montnemery 8a83e810b8
Reset the threading.local _hass object in tests (#101700) 2023-10-09 13:41:51 +02:00
Robert Resch f7292d5b00
Add check that sensors don't have EntityCategory.CONFIG set (#101471) 2023-10-09 13:37:52 +02:00
Erik Montnemery e6e190e7e2
Remove unused HideSensitiveDataFilter (#101689) 2023-10-09 12:02:52 +02:00
Erik Montnemery 1f122eb688
Adjust services supported by litterrobot vacuum (#95788) 2023-10-09 10:56:39 +02:00
Allen Porter d78ee96e2a
Update fitbit device fetch to use a data update coordinator (#101619)
* Add a fitbit device update coordinator

* Remove unnecessary debug output

* Update comments

* Update fitbit coordinator exception handling and test coverage

* Handle reauth failures in other sensors

* Fix scope changes after rebase.
2023-10-09 08:12:59 +02:00
Jan Bouwhuis db0c5bbbea
Fix mqtt sensor or binary_sensor state not saved after expiry (#101670)
Fix mqtt sensor state not saved after expire
2023-10-08 20:57:14 +02:00
J. Nick Koston c6ed022cce
Fix compiling missing statistics losing rows (#101616) 2023-10-08 19:43:00 +02:00
Nicolas van de Walle 1b11062b27
Improved debugging for "Failed to set state" (#101657) 2023-10-08 19:40:42 +02:00
Robert Hillis ba3fd4dee1
Add Queue sensor to Radarr (#79723) 2023-10-08 19:39:56 +02:00
Mike Woudenberg c48b724dde
Make setup more resilient by raising ConfigNEntryNotReady on failure (#101654)
Make setup more resilient by raising ConfigNEntryNotReady on connection failure
2023-10-08 19:00:06 +02:00
Joost Lekkerkerker 7c85d84133
Add entity translations to Huawei LTE (#98631) 2023-10-08 15:15:19 +02:00
Joost Lekkerkerker faea3b1634
Abort config flow when invalid token is received (#101642) 2023-10-08 13:32:35 +02:00
Marc Mueller 3155e62510
Update aiohttp to 3.9.0b0 (#101627) 2023-10-08 13:21:46 +02:00
Allen Porter 7d202f78f5
Add fitbit nutrition sensors (#101626)
* Add fitbit nutrition sensors

* Add test coverage for unit systems
2023-10-08 10:09:26 +02:00
Jan Bouwhuis 74464fd94e
Ensure coverage mqtt entry disabled test (#101617) 2023-10-07 23:08:34 +02:00
Jan Bouwhuis 55bf309d2f
Add mqtt discovery schema error tests for all platforms (#101583)
Add mqtt discovery schema error tests
2023-10-07 21:00:33 +02:00
Jan Bouwhuis 4709e60ff6
Rework on Google Assistant doorbell support (#100930)
* Rework on Google Assistant doorbell event

* Additional comment on syncing notificatiions

* Update homeassistant/components/google_assistant/trait.py

* Only sync event if state attr changed

* Update comment
2023-10-07 19:39:04 +02:00
Allen Porter 8c2a2e5c37
Additional fix for rainbird unique id (#101599)
Additiona fix for rainbird unique id
2023-10-07 10:17:08 -07:00
Abílio Costa da3e36aa3b
Improve Ikea Idasen config flow error messages (#101567) 2023-10-07 18:52:31 +02:00
David Knowles 031a9224fb
Schlage cleanup: Stop passing logs to last_changed_by (#99738) 2023-10-07 15:04:23 +02:00
enzo2 35be5957c3
Add circular mean to statistics integration (#98930)
* Add circular mean

Add support for circular mean for sensors in units of degrees, e.g. direction data.

* Update test_sensor.py

* Update sensor.py

* Remove whitespace

* Revert to degC

* Fix: shift atan2 output to positive degrees

* Add new dedicated test

* Simplify test
2023-10-07 13:51:27 +02:00
Jan-Philipp Benecke e25cf7cbab
Move wallbox coordinator to its own file (#101577) 2023-10-07 11:56:59 +02:00
J. Nick Koston da9c42d457
Fix failing august test (#101560) 2023-10-06 12:31:12 -10:00
Jan-Philipp Benecke bb7ddddd4c
Use snapshot assertion for lametric diagnostics test (#99164) 2023-10-06 20:26:52 +02:00
Justin Grover 475cb7719b
Add unique ID for generic hygrostat (#101503) 2023-10-06 20:15:40 +02:00
Joost Lekkerkerker 9ac5bdc832
Use modern naming for WLED (#100233) 2023-10-06 20:04:44 +02:00
TJ Horner ed8a372f4e
Auto-fix common key entry issues during WeatherKit config flow (#101504) 2023-10-06 20:00:04 +02:00
Erik Montnemery 4e98d39106
Use loader.async_suggest_report_issue in async util (#101516) 2023-10-06 19:57:43 +02:00
TheJulianJES 5d0c8947a1
Fix ZHA device diagnostics error for unknown unsupported attributes (#101239)
* Modify test to account for scenario of unknown unsupported attributes

* Add error checking for finding unsupported attributes

* Change comment to clarify zigpy misses an attribute def

This should make it more clear that it's about an unknown attribute (where zigpy doesn't have an attribute definition).

* Increase test coverage

This increases test coverage by doing the following:
- adding the `IasZone` to our test device, so we have a cluster which actually has some attribute definitions
- adding not just an unknown unsupported attribute by id, but also by name
- adding a known unsupported attribute by id and by name

* Fix diagnostics logic
2023-10-06 12:23:48 -04:00
Joost Lekkerkerker b2cad2370b
Add Withings webhooks after a slight delay (#101542) 2023-10-06 18:21:06 +02:00
Allen Porter 1635cbb8a6
Add a google calendar diagnostics platform (#101175) 2023-10-06 17:08:50 +02:00
David Knowles 96aba1c1a6
Add tests to Hydrawise (#101110)
* Add tests to Hydrawise

* Update tests/components/hydrawise/test_binary_sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Changes requested during review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-06 14:42:08 +02:00
G Johansson adc7fc0ee4
Fix GDACS import issue creation (#97667) 2023-10-06 14:30:11 +02:00
Robert Hillis 62802dd487
Add entity translations to Goalzero (#95310)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-10-06 14:01:21 +02:00
Joost Lekkerkerker 835982ebe5
Migrate Samsung TV to has entity name (#96751)
* Migrate Samsung TV to has entity name

* Fix test

* Fix tests

---------

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2023-10-06 13:54:21 +02:00
Guido Schmitz 3cd4d26eb9
React on changed firmware version in devolo_home_network (#101513) 2023-10-06 13:37:48 +02:00
G Johansson fd2edf6c0a
Allow remove devices in Scrape (#101229) 2023-10-06 13:33:28 +02:00
Joost Lekkerkerker 425d961489
Delete existing Withings cloudhook (#101527) 2023-10-06 13:19:39 +02:00
Joost Lekkerkerker 97d17637ea
Only import color extractor when domain is in config (#101522) 2023-10-06 13:18:44 +02:00
J. Nick Koston c0904c905d
Avoid updating hassio addon data when there are no entities consuming it (#101382) 2023-10-06 12:14:48 +02:00
Joost Lekkerkerker 7c8c063149
Use config flow in color extractor tests (#101524) 2023-10-06 12:02:53 +02:00
Erik Montnemery 20188181f7
Fix spelling in sensor test (#101520) 2023-10-06 11:51:08 +02:00
Erik Montnemery 775751ece5
Add WS command sensor/numeric_device_classes (#101257) 2023-10-06 10:27:45 +02:00
Shay Levy b97ec2cfce
Add support for Aranet2 devices (#101495) 2023-10-06 10:26:18 +02:00
Ernst Klamer fa90b0f41e
Add raw sensor to BTHome (#101412) 2023-10-06 10:22:51 +02:00
Erik Montnemery 3478666973
Use loader.async_suggest_report_issue in deprecation helper (#101393) 2023-10-06 09:51:08 +02:00
Michael Hansen 244f6d8002
Add wake word cooldown to avoid duplicate wake-ups (#101417) 2023-10-06 09:18:35 +02:00
J. Nick Koston 48a23798d0
Fix caching of latest short term stats after insertion of external stats (#101490) 2023-10-06 09:18:05 +02:00
Allen Porter 920bd04099
Fix for rainbird unique id (#101512) 2023-10-06 09:16:06 +02:00
René Klomp dd8bd0db5a
SMA add missing entity descriptions (#101462) 2023-10-06 09:13:39 +02:00
Jan Bouwhuis 2bfb1e75d3
Correct device_class test for mqtt button (#101500) 2023-10-06 09:11:50 +02:00
J. Nick Koston da1d5fc862
Increase max bind vars based on database version (#101464) 2023-10-06 07:59:38 +02:00
Allen Porter c7d533d427
Update fitbit error handling (#101304)
* Update fitbit error handling

* Update exceptions to inherit HomeAssistantError and add reason code

* Revert config flow exception mapping hack
2023-10-05 22:38:15 -07:00
G Johansson 8a033ee554
Fix Trafikverket Camera if no location data (#101463) 2023-10-05 22:17:09 +02:00
Franck Nijhof 6853d54050
Remove logging of retrying config entry warning (#101483) 2023-10-05 22:12:01 +02:00
Ian fe316f2233
Fix key error in config flow when duplicate stop names exist (#101491) 2023-10-05 22:11:15 +02:00
Erik Montnemery a428bbfc2e
Use loader.async_suggest_report_issue in vacuum (#101391) 2023-10-05 20:39:24 +02:00
Guido Schmitz 285ad10624
Use snapshot in devolo_home_network update tests (#101442) 2023-10-05 20:09:52 +02:00
Erik Montnemery 659d437cac
Use loader.async_suggest_report_issue in sensor (#101389) 2023-10-05 20:07:56 +02:00
Erik Montnemery 0c40c8465e
Correct checks for deprecated forecast in weather (#101392)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-05 19:56:47 +02:00
Erik Montnemery dce5099d92
Use loader.async_suggest_report_issue in frame helper (#101461) 2023-10-05 19:52:26 +02:00
Erik Montnemery 7f912cb669
Fix airnow test fixture (#101458) 2023-10-05 13:24:28 +02:00