Commit Graph

17839 Commits (bd93fbe91d69525a3546bf22fa5f698f0432cbaa)

Author SHA1 Message Date
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
Erik Montnemery 2464232f24
Fix call to API in airnow option flow tests (#101457) 2023-10-05 13:23:59 +02:00
Raman Gupta 383c63000e
Handle invalid scale for zwave_js multilevel/meter sensors (#101173)
* Handle invalid scale for zwave_js multilevel/meter sensors

* Remove logging statement
2023-10-04 22:55:18 -04:00
Erik Montnemery 7e39acda37
Minor improvement of frame helper (#101387)
* Minor improvement of frame helper

* Add new custom integration for testing

* Make IntegrationFrame kw_only
2023-10-04 21:43:00 +02:00
Jan Bouwhuis a3fe120457
Raise vol.Invalid for invalid mqtt device_tracker config (#101399)
Raise vol.Invalid for invalid mqtt device_tracker
2023-10-04 19:36:34 +02:00
Joost Lekkerkerker 5754e8721a
Fix Withings translations (#101397) 2023-10-04 16:45:13 +02:00
Maciej Bieniek ab6f617797
Use `entity_registry_enabled_by_default` fixture in Kraken tests (#101379)
Use entity_registry_enabled_by_default fixture
2023-10-04 15:45:59 +02:00
Erik Montnemery 17779c5f0c
Add loader.async_suggest_report_issue and loader.async_get_issue_tracker (#101336)
* Add loader.async_suggest_report_issue and loader.async_get_issue_tracker

* Update tests

* Add tests

* Address review comments

* Address review comments
2023-10-04 13:40:33 +02:00