J. Nick Koston
e47e62cbbf
Reduce duplicate code in enphase_envoy ( #116107 )
...
Also converts a coro to a callback function since nothing
was being awaited
2024-04-24 16:58:46 +02:00
Phil Bruckner
169b9b0bfe
Fix removing suggested_display_precision from entity registry ( #110671 )
...
* Fix removing suggested_display_precision from entity registry
* Fix tests
* Update homeassistant/components/sensor/__init__.py
---------
Co-authored-by: Erik <erik@montnemery.com>
2024-04-24 16:47:03 +02:00
Arie Catsman
bbaa0c16cc
Cancel timer on enphase_envoy config entry unload ( #111406 )
...
* lingeringtimer
* Add async_cleanup to enphase_envoy_coordinator and call from unload_entry
2024-04-24 16:33:14 +02:00
nyangogo
c9ff618ef0
Add nfandroidtv type checking and allow for strings to be passed to the image and icon data ( #108652 )
...
* nfandroidtv - add type checking and allow for strings to be passed to the image and icon data
* nfandroidtv - wrong argument name
* nfandroidtv - put the icon in the wrong varible 🙃
* nfandroidtv - raise ServiceValidationError instead of logging
---------
Co-authored-by: nyangogo <7449028+ioangogo@users.noreply.github.com>
2024-04-24 16:19:44 +02:00
J. Nick Koston
d0f5e40b19
Refactor ESPHome manager to avoid sending signals in tests ( #116033 )
2024-04-24 16:14:44 +02:00
Manuel Dipolt
220dc1f125
Add binary sensor platform to romy integration ( #112998 )
...
* wip
* poc working, reworked to a binary sensor list
* Update homeassistant/components/romy/binary_sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/romy/binary_sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/romy/binary_sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/romy/binary_sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/romy/binary_sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* code review changes, adjust translation key names
* code review clean up: removed unecessary RomyBinarySensorEntityDescription
* code review changes: translation names
* code review changes, put DeviceInfo into RomyEntity
* code review change: change docked icon to type plug
* code review change: move CoordinatorEntity to the base class
* code review changes: sensors disabled per default
* code review: icons.json added
* code review changes: sensors enabled per default again
* checkout main entity.py
* type hinting changes
* Update homeassistant/components/romy/binary_sensor.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-24 15:59:09 +02:00
mletenay
74cea2ecae
Update goodwe library to 0.3.2 ( #115309 )
2024-04-24 15:31:29 +02:00
Bram Kragten
ea96ac37b7
Update frontend to 20240424.1 ( #116103 )
2024-04-24 15:29:51 +02:00
Jan Bouwhuis
70b358bca1
Always reload after a successful reauth flow ( #116026 )
...
* Always reload after a succesfull reauth-flow
* Add test, fix CI failures
* Add kwarg to prevent reloading and tests
* Do not reload entry for bond if it exists
* Remove mocks on internals
* Rename kwarg to always_reload
* Update tests/components/weatherflow_cloud/test_config_flow.py
* Update tests/components/homeworks/test_config_flow.py
* Update tests/components/homeworks/test_config_flow.py
* Rename to option to reload_even_if_entry_is_unchanged
2024-04-24 15:13:33 +02:00
Jan Bouwhuis
350ca48d4c
Return specific group state if there is one ( #115866 )
...
* Return specific group state if there is one
* Refactor
* Additional test cases
* Refactor
* Break out if more than one on state
* tweaks
* Remove log, add comment
* add comment
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Refactor and improve comments
* Refactor to class method
* More filtering
* Apply suggestions from code review
* Only active if not excluded
* Do not use a set
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-24 15:12:29 +02:00
Shai Ungar
1f4585cc9e
Add service to 17track to get packages ( #116067 )
...
* Add service to 17track
* Add service to 17track
change to select selector
add snapshot test
* Add service to 17track
use strings for the selector
* Add service to 17track
fix test
2024-04-24 14:29:13 +02:00
Pete Sage
24a1f0712f
Fix Sonos music library play problems ( #113429 )
2024-04-24 14:03:40 +02:00
Brett Adams
0e0b543dec
Deprecate speed limit lock in Tessie ( #113848 )
2024-04-24 13:30:22 +02:00
Jan Bouwhuis
18132916fa
Mask current password in MQTT option flow ( #116098 )
...
* Mask current password in MQTT option flow
* Update docstr
* Typo
2024-04-24 13:29:42 +02:00
Andy
5aa61cb6d5
Extend options for ecovacs lifespans ( #116094 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-04-24 13:19:50 +02:00
Michael
bfed682abe
Mark Tankerkoenig as Platinum 🏆 integration ( #115917 )
2024-04-24 13:18:09 +02:00
Marc Mueller
a752f8e7d7
Remove microsoft apt package list before update ( #116097 )
2024-04-24 13:17:01 +02:00
Michael
9fcb774252
Add reconfigure flow to AVM Fritz!SmartHome ( #116047 )
2024-04-24 13:06:14 +02:00
J. Nick Koston
d17e9bfc99
Enable debug mode if asyncio debug is on at startup ( #116084 )
2024-04-24 12:55:09 +02:00
J. Nick Koston
df12789e08
Remove duplicate async_write_ha_state thread safety check ( #116086 )
2024-04-24 12:46:16 +02:00
J. Nick Koston
e3984cd50a
Temporary CI workaround for broken microsoft ubuntu repo ( #116091 )
2024-04-24 12:06:52 +02:00
J. Nick Koston
e9e401ae29
Migrate discovery debouncer callback to async_fire_internal ( #116078 )
2024-04-24 11:26:48 +02:00
rlippmann
1120246194
Deprecate relative_time() in favor of time_since() and time_until() ( #111177 )
...
* add time_since/time_until. add deprecation of relative_time
* fix merge conflicts
* Apply suggestions from code review
* Update homeassistant/helpers/template.py
* Update homeassistant/helpers/template.py
* Update homeassistant/helpers/template.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-24 11:13:07 +02:00
J. Nick Koston
e0b58c3f45
Move thread safety check in async_register/async_remove ( #116077 )
2024-04-24 10:41:11 +02:00
Marc Mueller
5bded2a52d
Fix accuweather system_health after data change ( #116063 )
2024-04-24 10:30:57 +02:00
Robert Resch
bcc2dd99b2
Rename strict connection static page to guard page ( #116085 )
2024-04-24 10:29:59 +02:00
Simon Roberts
07d68eacfa
Fix iotawatt warnings about "Detected new cycle for sensor.{sensorname}_wh_last" ( #115909 )
...
* Bump ha-iotawattpy to 0.1.2
* Remove energy energy-over-period sensors: they cause issue for HA
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
2024-04-24 10:24:49 +02:00
TheJulianJES
102b34123c
Bump zha-quirks to 0.0.115 ( #116071 )
2024-04-24 10:17:01 +02:00
Gage Benne
c4340f6f5f
Ecobee preset mode icon translations ( #116072 )
2024-04-24 10:16:35 +02:00
J. Nick Koston
79b4889812
Always do thread safety checks when writing state for custom components ( #116044 )
2024-04-24 10:05:52 +02:00
Bouwe Westerdijk
6f2a2ba46e
Bump plugwise to v0.37.3 ( #116081 )
2024-04-24 10:00:18 +02:00
Robert Resch
a4829330f6
Add strict connection for cloud ( #115814 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-24 09:57:38 +02:00
J. Nick Koston
b520efb87a
Small speed up to async_track_event ( #116083 )
2024-04-24 09:56:59 +02:00
Robert Resch
ec377ce665
Bump deebot-client to 7.1.0 ( #116082 )
2024-04-24 09:49:10 +02:00
Richard Kroegel
474a1a3d94
Use display_precision if suggested_display_precision is None ( #110270 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-24 09:46:55 +02:00
osohotwateriot
44208a5be0
Add OSO Energy sensors ( #108226 )
...
* Add OSO Energy sensors
* Fix comments
* Fixes after review
* Fix sensor names and translations
* Fixes after review
* Fix validation errors
* Fixes after review
* Remove profile sensor
2024-04-24 08:19:26 +02:00
Michael
d8cca482b3
Add reconfigure flow to AVM Fritz!Tools ( #116057 )
...
add reconfigure flow
2024-04-24 07:52:14 +02:00
Matthias Alphart
f115525137
Migrate KNX notify service to entity platform ( #115665 )
2024-04-24 07:51:02 +02:00
Sid
b37f7b1ff0
Enable Ruff RUF019 ( #115396 )
...
* Enable Ruff RUF019
* fix tado tests
* review comments
2024-04-24 07:23:24 +02:00
J. Nick Koston
4a59ee978c
Always do thread safety checks when calling async_fire ( #116055 )
2024-04-24 06:41:55 +02:00
J. Nick Koston
53a179088f
Add debug mode to catch unsafe thread operations using core helpers ( #115390 )
...
* adjust
* adjust
* fixes
* one more
* test
* debug
* move to config
* cover
* Update homeassistant/core.py
* set debug from RuntimeConfig
* reduce
* fix message
* raise
* Update homeassistant/core.py
* Update homeassistant/core.py
* no flood check for raise
* cover
2024-04-24 03:36:05 +02:00
J. Nick Koston
9d54aa205b
Fix non-thread-safe operations in html5 ( #116068 )
...
Fix non thread-safe calls in html5
https://github.com/home-assistant/core/actions/runs/8808425552/job/24177668764?pr=116055
2024-04-24 03:33:19 +02:00
J. Nick Koston
b1b8b8ba00
Fix non-thread-safe operations in wake_on_lan ( #116069 )
...
Fix unsafe thread operations in wake_on_lan
https://github.com/home-assistant/core/actions/runs/8808429751/job/24177715837?pr=116066
2024-04-24 03:32:07 +02:00
J. Nick Koston
f2336a5a3a
Fix non-thread-safe operation in harmony ( #116070 )
...
Fix unsafe thread operation in harmony
https://github.com/home-assistant/core/actions/runs/8808429751/job/24177716644?pr=116066
2024-04-24 03:31:44 +02:00
David Friedland
e3016b131a
Add Event support to ESPHome components ( #116061 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-24 13:22:03 +12:00
J. Nick Koston
f9c2cd73f5
Fix non-thread-safe operations in media_extractor ( #116065 )
2024-04-24 02:19:18 +02:00
dependabot[bot]
62dadc47ff
Bump github/codeql-action from 3.25.1 to 3.25.2 ( #116016 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 00:02:31 +02:00
Michael
35db2e4101
Complete test coverage for Tankerkonig ( #115920 )
...
* complete tests
* update snapshots after rebase
2024-04-23 23:42:17 +02:00
Jan Bouwhuis
72ed16c3e0
Update quality scale mqtt integration to platinum ( #116059 )
2024-04-23 23:20:34 +02:00
Jan Bouwhuis
8d2813fb8b
Migrate legacy Ecobee notify service ( #115592 )
...
* Migrate legacy Ecobee notify service
* Correct comment
* Update homeassistant/components/ecobee/notify.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Use version to check latest entry being used
* Use 6 months of deprecation
* Add repair flow tests
* Only allow migrate_notify fix flow
* Simplify repair flow
* Use ecobee data to refrence entry
* Make entry attrubute puiblic
* Use hass.data ro retrieve entry.
* Only register issue when legacy service when it is use
* Remove backslash
* Use ws_client.send_json_auto_id
* Cleanup
* Import domain from notify integration
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update dependencies
* Use Issue_registry fixture
* remove `update_before_add` flag
* Update homeassistant/components/ecobee/notify.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/ecobee/notify.py
* Update tests/components/ecobee/conftest.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Fix typo and import
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-23 22:53:13 +02:00