Commit Graph

55231 Commits (dbca65dffb96437524c40b575e27d56333d39481)

Author SHA1 Message Date
Josef Zweck ee25f6b960
Add additonal number entities to La Marzocco (#108258) 2024-02-13 09:47:39 +01:00
Jan Bouwhuis 545a34a849
Remove power_state_template from mqtt climate value template list (#110452) 2024-02-13 09:16:11 +01:00
wilburCforce a317196bda
Update pylutron to 0.2.12 (#110414) 2024-02-13 08:37:58 +01:00
Åke Strandberg a51ecd0614
Add myuplink unit-based sensor descriptions (#110370)
* Add more unit-based sensor descriptions

* Adjust energy sensor state class  to TOTAL_INCREASING
2024-02-13 04:41:29 +01:00
Aaron Bach e3c838d512
Update Notion auth to store refresh tokens instead of account passwords (#109670) 2024-02-12 20:35:06 -07:00
Raman Gupta 92c3c401b9
Remove unused instance variable in Z-wave (#110442)
* Remove unused variable and fix typing in zwave_js

* remove redundant type
2024-02-13 03:55:49 +01:00
Raman Gupta c1d61b9748
Improve climate turn_on/turn_off services for zwave_js (#109187)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-12 19:06:23 -05:00
Maciej Bieniek b60f931e6d
Improve tests for Shelly WallDisplay (#110435)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-12 16:51:34 -06:00
Steven Looman 147a1f7b0b
Bump async-upnp-client to 0.38.2 (#110411) 2024-02-12 15:31:09 -06:00
J. Nick Koston 7dcf2e94b4
Migrate zha to use async_update_entry to alter config entries (#110402) 2024-02-12 21:24:56 +01:00
J. Nick Koston db9c08b2e0
Migrate verisure to use async_update_entry to alter config entries (#110400) 2024-02-12 21:24:32 +01:00
J. Nick Koston 7d1b9dce9d
Migrate yale_smart_alarm to use async_update_entry to alter config entries (#110401) 2024-02-12 21:23:07 +01:00
J. Nick Koston aa0e8625ad
Migrate velbus to use async_update_entry to alter config entries (#110399) 2024-02-12 21:22:52 +01:00
Michael 9a672a1f31
Bump py-sucks to 0.9.9 (#110397)
bump py-sucks to 0.9.9
2024-02-12 21:13:47 +01:00
Åke Strandberg 78531ffbc6
Cleanup myuplink imports (#110374)
Cleanup imports
2024-02-12 20:21:33 +01:00
J. Nick Koston a1f0e9015b
Migrate openweathermap to use async_update_entry to alter config entries (#110372)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-02-12 13:15:57 -06:00
J. Nick Koston fc1c513f33
Migrate obihai to use async_update_entry to alter config entries (#110368) 2024-02-12 20:13:53 +01:00
Maciej Bieniek 2bd64dba6b
Add `removal_condition` for Shelly analog input sensors (#110331)
* Add remove condition for analog input sensors

* xpercent key is not present in the payload if it has not been configured

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-12 20:13:11 +01:00
Erik Montnemery e27e799dd5
Add power strip with 2 outlets to kitchen_sink (#110346) 2024-02-12 20:00:13 +01:00
Erik Montnemery 3086d24231
Add back `supported_color_modes` property to `blebox` light (#110350) 2024-02-12 19:59:04 +01:00
J. Nick Koston 5e5a9d9c59
Bump SQLAlchemy to 2.0.26 (#110358) 2024-02-12 19:57:53 +01:00
J. Nick Koston 96850c6524
Migrate minecraft_server to use async_update_entry to alter config entries (#110367) 2024-02-12 19:57:27 +01:00
J. Nick Koston f5497cb0be
Migrate foscam to use async_update_entry to alter config entries (#110365) 2024-02-12 19:57:09 +01:00
J. Nick Koston e2ec23955e
Migrate ps4 to use async_update_entry to alter config entries (#110373) 2024-02-12 19:52:04 +01:00
J. Nick Koston df8a168c97
Migrate switchbee to use async_update_entry to alter config entries (#110392) 2024-02-12 19:51:45 +01:00
J. Nick Koston 332db5093f
Migrate utility_meter to use async_update_entry to alter config entries (#110394) 2024-02-12 19:51:16 +01:00
J. Nick Koston 4d1e3cdf49
Bump securetar to 2024.2.0 (#110383) 2024-02-12 19:50:59 +01:00
J. Nick Koston 29146326fa
Fix zone radius calculation when radius is not 0 (#110354) 2024-02-12 19:47:34 +01:00
J. Nick Koston 4bcfa9e315
Migrate sonarr to use async_update_entry to alter config entries (#110364) 2024-02-12 19:46:48 +01:00
J. Nick Koston 300f5670e0
Migrate sensibo to use async_update_entry to alter config entries (#110390) 2024-02-12 19:46:30 +01:00
J. Nick Koston 5f03b5ad41
Migrate smhi to use async_update_entry to alter config entries (#110391) 2024-02-12 19:45:28 +01:00
J. Nick Koston 2f0d294219
Migrate trafikverket_camera to use async_update_entry to alter config entries (#110393) 2024-02-12 19:45:07 +01:00
Erik Montnemery 6e4fd69326
Fix color mode in wiz light (#110328) 2024-02-12 19:44:46 +01:00
Erik Montnemery a51d3b4286
Remove store from google_assistant AbstractConfig (#109877)
* Remove store from google_assistant AbstractConfig

* Bump minor version of google_assistant store

* Fix test

* Improve comments

* Fix typo

* Refactor

* Update homeassistant/components/google_assistant/http.py

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

* Fix bug, add tests

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-12 19:24:21 +01:00
J. Nick Koston d78bb3894c
Migrate samsungtv to use async_update_entry to alter config entries (#110362) 2024-02-12 11:41:46 -06:00
J. Nick Koston 542e306b0c
Migrate recollect_waste to use async_update_entry to alter config entries (#110378) 2024-02-12 11:41:06 -06:00
J. Nick Koston 925e9eecce
Migrate ridwell to use async_update_entry to alter config entries (#110380) 2024-02-12 11:40:23 -06:00
J. Nick Koston fb622c6cc8
Migrate rainmachine to use async_update_entry to alter config entries (#110377) 2024-02-12 11:35:17 -06:00
J. Nick Koston 66607cd034
Migrate openuv to use async_update_entry to alter config entries (#110371) 2024-02-12 11:34:26 -06:00
Erik Montnemery 1764c031df
Warn when lights violate color mode rules (#110336)
* Warn when lights violate color mode rules

* Update test

* Remove redundant warning, add tests

* Improve test coverage
2024-02-12 17:43:50 +01:00
Nikolay Vasilchuk 1a22189262
Fix Starline GPS count sensor (#110348) 2024-02-12 17:07:22 +01:00
Åke Strandberg 29ed82332c
Add myuplink specific sensor descriptions (#109867)
* Add specific sensor descriptions

* Address review suggestions

* Adress more review comments

* Change variable name according to code review

* Qualify parameter_id:s to avoid collisions

* Qualify sensor descriptions with a model group prefix

* Improve lookup of sensor descriptions

* Address review comments

* Add constant for unknown value from API

* Add raw value as attribute to enum sensors

* Create extra raw_value sensors with enum sensors

* Moved attributes to class attributes

* Move capitalize() to class setup
2024-02-12 16:37:44 +01:00
Joost Lekkerkerker 89331d0ff3
Change function name in hvv_departures (#110349) 2024-02-12 15:54:48 +01:00
Peter Winkler 0157026489
Upgrade myuplink package to 0.2.1 (#110343) 2024-02-12 15:33:58 +01:00
Adam Goode 5cdc3cec32
Properly report cover positions to prometheus (#110157) 2024-02-12 15:33:03 +01:00
Jan-Philipp Benecke fb878836a8
Handle no data error in Electricity Maps config flow (#110259)
Co-authored-by: Viktor Andersson <30777521+VIKTORVAV99@users.noreply.github.com>
2024-02-12 15:03:29 +01:00
Minims f792690e27
Update python rflink to 0.0.66 (#110060)
* Update python rflink to 0.0.66

Used to manage new data WIND from last R51 release

* Update requirements_all.txt

* Update requirements_test_all.txt
2024-02-12 13:27:01 +02:00
Joakim Sørensen 30e932f36d
Bump pytraccar from 2.0.0 to 2.1.0 (#110320) 2024-02-12 11:23:16 +01:00
J. Nick Koston aa67eb7f46
Migrate landisgyr_heat_meter to use async_update_entry to alter config entries (#110314) 2024-02-12 11:18:54 +01:00
Åke Strandberg 8376c07969
Add myuplink diagnostics download (#109925)
* Dump all relevant data from API

* Cleanup and adjust

* Redact serialNumber

* WIP

* Add fixtures

* WIP

* Tests for diagnostics completed

* Address review comments

* Change to fake token

* Add missed redact

* Improve mocks

* Resolve review comments
2024-02-12 10:56:06 +01:00
Richard Kroegel 1b8bda6067
Remove old BMW vehicles/devices automatically (#110255)
* Remove not assigned vehicles from DeviceRegistry on startup

* Replace async_remove_device with async_update_device

* Add test

* Use generator

---------

Co-authored-by: Richard <rikroe@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-12 10:52:08 +01:00
Erik Montnemery 12709050ea
Fix color mode in comelit light (#110326) 2024-02-12 10:41:28 +01:00
Erik Montnemery 9c9fa11654
Fix color mode in hive light (#110330) 2024-02-12 10:21:43 +01:00
Maciej Bieniek 4f277b9509
Add pulse counter sensors for Shelly (#110248)
* Add pulse counter sensors to Shelly

* Add a unit for the pulse counter

* Fix removal condition

* xtotal key is not present in the payload if it has not been configured

* Update test

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-12 09:42:38 +01:00
Luke Lashley 33cdcce191
Better teardown and setup of Roborock connections (#106092)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-02-12 09:37:37 +01:00
J. Nick Koston 2516eafba6
Migrate axis to use async_update_entry to alter config entries (#110302) 2024-02-12 09:22:44 +01:00
J. Nick Koston 303bb99da0
Migrate huawei_lte to use async_update_entry to alter config entries (#110309) 2024-02-12 08:28:54 +01:00
J. Nick Koston 73bb7d6830
Migrate forecast_solar to use async_update_entry to alter config entries (#110306) 2024-02-12 08:27:44 +01:00
J. Nick Koston d6ba7bf506
Migrate ambient_station to use async_update_entry to alter config entries (#110305) 2024-02-11 21:45:34 -06:00
starkillerOG 589e3952de
Fix TDBU naming in Motionblinds (#110283)
fix TDBU naming
2024-02-11 21:16:06 +01:00
G Johansson 7ce1ba9304
Fix cpu percentage in System Monitor (#110268)
* Fix cpu percentage in System Monitor

* Tests
2024-02-11 21:11:31 +01:00
Maciej Bieniek 326da81656
Add icon translations to Shelly (#110183)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-11 14:07:10 -06:00
Floris272 7dc9ad63bd
Implement late feedback for Bluecurrent (#106918)
* Apply changes

* Fix MockClient

* Apply feedback

* Remove connector tests

* Change MockClient to inhert MagicMock

* Add reconnect tests and refactor mock client

* Refactor mock exception throwing

* Add future_fixture

* Move mocked client methods into create_client_mock

* Remove fixture and separate event from mock_client

* Add FutureContainer to store the loop_future
2024-02-11 20:57:38 +01:00
J. Nick Koston e9f8bae693
Bump PySwitchbot to 0.45.0 (#110275) 2024-02-11 13:09:11 -06:00
J. Nick Koston ab85ebb996
Bump thermopro-ble to 0.10.0 (#110279) 2024-02-11 13:08:49 -06:00
Michael ce37b84360
Bump aiopegelonline to 0.0.8 (#110274) 2024-02-11 20:06:47 +01:00
Matthias Alphart 8f2f869f46
Update xknxproject to 3.6.0 (#110282) 2024-02-11 20:01:16 +01:00
deosrc e38cb01d81
Add missing log message for error resolving OAuth token (#107606) 2024-02-11 13:07:54 +00:00
David Bonnes 2e0ee11de5
Bump evohome-async to 0.4.19 (#110225)
bump client to 0.4.19
2024-02-11 13:31:51 +02:00
Maciej Bieniek 470de0a4de
Add icon translations to NextDNS (#110179)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-11 10:20:01 +01:00
Simon Lamon 6c4e372908
Fix state classes issue translation in Group (#110238)
Fix state classes translation
2024-02-11 09:54:50 +01:00
Thomas55555 816f231e27
Bump aioautomower to 2024.2.4 (#110209)
* Bump aioautomower to 2024.2.3

* Bump aioautomower to 2023.2.4
2024-02-11 10:13:52 +02:00
Oliver 0c9f9486bf
Update `denonavr` to `0.11.6` (#110231)
* Update `denonavr` to `0.11.5`

* Handle `AvrProcessingError` exception

* Remove obsolete `_telnet_was_healthy` property from receiver

* Update `denonavr` to `0.11.6`
2024-02-11 09:29:40 +02:00
J. Nick Koston 2f7d71347e
Enable compression for manifest.json (#110229)
Now that compression is ~5x faster than base zlib, it makes
sense to compress this
2024-02-10 19:45:21 -05:00
chammp a5cc0ae890
Improve package schema validation (#108125)
* Add failing tests for package config validation error wrapping

* Wrap package schema validation errors in HomeAssistantError

* Fix yamllint errors

* Rework package merge validation

Ignore invalid package definitions instead of failing startup.
Output error messages with locations if possible when a package
definition has errors.

* Ruff format

* Fix linter errors

* Move package_definition_schema to module scope

* Move inner function to module level

* Merge exception handlers

Merge exception handlers for config schema validation and package merge
to avoid untested code branches

* Fix long lines and doc strings

* More minor changes to exception handler

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-10 20:16:20 +01:00
Simon Lamon fa4433c569
Fix device class repairs issues placeholders in Group (#110181)
fix translation placeholders
2024-02-10 20:09:02 +01:00
J. Nick Koston 1e7cd7c0c6
Update airvisual to set ConfigEntry version with async_update_entry (#110204)
* Update airvisual to set ConfigEntry version with async_update_entry

* Update airvisual to set ConfigEntry version with async_update_entry
2024-02-10 19:57:53 +01:00
J. Nick Koston b3e46e3d64
Update airnow to set ConfigEntry version with async_update_entry (#110202) 2024-02-10 19:55:38 +01:00
J. Nick Koston 6b913546b9
Update swiss_public_transport to set ConfigEntry version with async_update_entry (#110197) 2024-02-10 19:54:35 +01:00
J. Nick Koston 991bef7ea0
Update prusalink to set ConfigEntry version with async_update_entry (#110196) 2024-02-10 19:53:35 +01:00
J. Nick Koston 118712d38d
Update islamic_prayer_times to set ConfigEntry version with async_update_entry (#110194) 2024-02-10 19:52:45 +01:00
J. Nick Koston 087e52af6e
Update switch_as_x to set ConfigEntry version with async_update_entry (#110193)
* Update switch_as_x to set ConfigEntry version with async_update_entry

* lint
2024-02-10 19:51:47 +01:00
J. Nick Koston a48c1ac57e
Only schedule august activity update when a new activity is seen (#110141) 2024-02-10 09:29:49 -06:00
J. Nick Koston 3441b93c5c
Update systemmonitor to set config entry version using async_update_entry (#110192) 2024-02-10 09:20:16 -06:00
Maciej Bieniek 845071f8f0
Add icon translations to Brother (#110128)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-10 12:17:53 +01:00
Piotr Machowski a2f4e99994
Add state_translated function to jinja templates (#96906)
* Add state_translated jinja function

* Add tests for load_state_translations_to_cache and get_cached_translations

* Cleanup state_translated template

* Add tests for state_translated jinja function

* Apply black formatting

* Improve code quality

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Apply suggestions from code review

* Prevent invalid components from loading translations

* Refactor loading translations to cache

* Adjust code issues

* Update homeassistant/helpers/translation.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Refactor listeners that trigger translation loading

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Apply suggestions from code review

* Adjust invalid function calls, fix code styling

* Adjust code quality

* Extract async_translate_state function

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Apply suggestions from code review

* Fix tests

* Fix tests

---------

Co-authored-by: Piotr Machowski <PiotrMachowski@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-10 10:47:56 +01:00
J. Nick Koston 567a179084
Simplify emulated_hue exposed entities cache (#109890)
Also avoids holding stale States in memory which can prevent
garbage collection of linked contexts
2024-02-09 21:43:46 -05:00
J. Nick Koston 327e54cbfb
Bump yalexs to 1.11.2 (#110144)
changelog: https://github.com/bdraco/yalexs/compare/v1.11.1...v1.11.2
2024-02-09 23:30:42 +01:00
Maciej Bieniek c2818dcb8e
Add icon translations to Tractive (#110138)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:56 +01:00
Maciej Bieniek 57bec29266
Add icon translations to NAM (#110135)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:24 +01:00
Maciej Bieniek 0954e4cd73
Add icon translations to GIOS (#110131)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:11 +01:00
Maciej Bieniek e81a9947e0
Fix typo in sensor icons configuration (#110133)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 20:05:01 +01:00
Franck Nijhof 3ac0833f8c
Update sentry-sdk to 1.40.3 (#110109) 2024-02-09 20:01:29 +01:00
A Björck 14715c150e
Bump yalexs to 1.11.1, fixing camera snapshots from Yale Home (#110089) 2024-02-09 09:09:45 -06:00
J. Nick Koston 9689cb448d
Avoid linear search of entity registry in async_extract_referenced_entity_ids (#109667)
* Index area_ids in the entity registry

I missed that these are used in _resolve_area in search.

Eventually we can make async_extract_referenced_entity_ids
a bit faster with this as well

* Avoid linear search of entity registry in async_extract_referenced_entity_ids

needs https://github.com/home-assistant/core/pull/109660
2024-02-09 09:42:30 -05:00
J. Nick Koston 206aaac700
Reduce complexity in the homekit config flow filters (#109850)
* Add typing to entity filters

* Add typing to entity filters

* Add typing to entity filters

* Add typing to entity filters

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks
2024-02-09 09:33:21 -05:00
J. Nick Koston 8e4714c563
Avoid delaying startup in dlna_dmr (#109836)
* Avoid delaying startup in dlna_dmr

fixes #109834

* make sure device info is linked up at startup

* fixes

* update tests

* startup only

* override device info if we have it

* fixes

* make sure its set right away when adding the device

* revert test changes

* coverage

* coverage

* coverage

* coverage

* adjust

* fixes

* more fixes

* coverage

* coverage

* coverage

* tweaks

* tweaks

* Revert "revert test changes"

This reverts commit 014d29297d.

* coverage

* coverage
2024-02-09 09:05:27 -05:00
J. Nick Koston 6e134b325d
Make ConfigEntryItems responsible for updating unique ids (#110018)
* Make ConfigEntryItems responsible for updating unique ids

* Make ConfigEntryItems responsible for updating unique ids

* Make ConfigEntryItems responsible for updating unique ids

* Make ConfigEntryItems responsible for updating unique ids

* Make ConfigEntryItems responsible for updating unique ids
2024-02-09 08:51:02 -05:00
J. Nick Koston ced922bb1a
Improve apple_tv error reporting when setup fails (#110071)
* Improve apple_tv error reporting when setup fails

* Improve apple_tv error reporting when setup fails

* Update homeassistant/components/apple_tv/__init__.py

* ensure cleaned up
2024-02-09 08:50:30 -05:00
Erik Montnemery ae5bef6ffa
Fix color mode in flux_led light (#110096) 2024-02-09 14:11:27 +01:00