Commit graph

19046 commits

Author SHA1 Message Date
J. Nick Koston
7715bee6b0
Fix script in restart mode that is fired from the same trigger () 2024-04-27 07:08:29 -05:00
epenet
c1572d9600
Handle invalid device type in onewire ()
* Make device type optional in onewire

* Add comment
2024-04-27 09:26:26 +02:00
Joakim Plate
ff4b8fa5e3
Don't create event entries for lighting4 rfxtrx devices ()
These have no standardized command need to be reworked
in the backing library to support exposing as events.

Fixes 
2024-04-27 09:24:11 +02:00
Erik Montnemery
a25b2168a3
Reduce scope of ZHA test fixtures () 2024-04-26 09:08:58 -05:00
Erik Montnemery
aa65f21be7
Fix flapping recorder tests () 2024-04-26 09:05:23 -05:00
Erik Montnemery
c9301850be
Reduce scope of bluetooth test fixtures () 2024-04-26 09:03:49 -05:00
Erik Montnemery
10be8f9683
Simplify timezone setting in recorder test () 2024-04-26 15:14:23 +02:00
Erik Montnemery
56f2f10a17
Fix flapping trafikverket tests ()
* Fix flapping trafikverket tests

* Fix copy-paste mistake
2024-04-26 13:49:43 +02:00
Erik Montnemery
09a18459ff
Restore default timezone after electric_kiwi sensor tests () 2024-04-26 12:28:40 +02:00
Robert Resch
67f6a84f5d
Use None as default value for strict connection cloud store () 2024-04-26 11:22:04 +02:00
Sid
e662e3b65c
Bump ruff to 0.4.2 ()
* Bump ruff to 0.4.2

* review comments
2024-04-26 08:48:32 +02:00
Erik Montnemery
db8597a742
Reduce scope of JSON/XML test fixtures () 2024-04-25 19:12:36 -05:00
Jan Bouwhuis
372c6c7874
Use existing monotonic timestamp on mqtt messages for debugging () 2024-04-25 19:09:54 -05:00
Joost Lekkerkerker
4a1e1bd1b9
Improve linear coordinator ()
* Improve linear coordinator

* Fix

* Fix
2024-04-25 22:57:29 +02:00
Joost Lekkerkerker
860ac450c4
Use snapshots in Linear diagnostics tests ()
* Use snapshots in Linear diagnostics tests

* Use snapshots in Linear diagnostics tests
2024-04-25 22:23:13 +02:00
Anrijs
8649489117
Add support for Aranet radiation devices ()
* sensor: added radiation dose sensor type and units

* Add support for Aranet Radiation devices

* Fix Aranet Radiation CI issues

* Revert "sensor: added radiation dose sensor type and units"

This reverts commit 28736a7da7.

* aranet4: bump version to 2.3.3

* aranet radiation: remove removed sesnor consts

* aranet radiation: use radioactive icon by default

---------

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2024-04-25 22:38:20 +03:00
Thomas55555
a8b41c90c5
Bump aioautomower to 2024.4.4 () 2024-04-25 14:36:00 -05:00
Erik Montnemery
9d33965bc9
Fix flaky traccar_server tests () 2024-04-25 21:20:24 +02:00
Maciej Bieniek
51bceb1c99
Fix climate entity creation when Shelly WallDisplay uses external relay as actuator ()
* Fix climate entity creation when Shelly WallDisplay uses external relay as actuator

* More comments

* Wrap condition into function

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-04-25 21:06:52 +02:00
Luke Lashley
cc79129587
Make Roborock listener update thread safe ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-04-25 13:26:11 -05:00
Jan Bouwhuis
855bb57d5e
Revert "Return specific group state if there is one" ()
Revert "Return specific group state if there is one ()"

This reverts commit 350ca48d4c.
2024-04-25 17:32:42 +02:00
Chris Roberts
12c2ed5c4d
Add play/pause functionality for Vizio Smartcast media_player entities ()
* Add play/pause functionality to vizio integration

Leverages existing pyvizio functionality. My impression is that it also
works for soundbars based on https://github.com/exiva/Vizio_SmartCast_API/issues/19.

* Set vizio assumed_state to True

The Vizio API is only capable of indicating whether the device is on
or off and not whether it's playing/paused/idle. Setting assumed_state
to True gives us separate Play and Pause buttons versus the (useless)
merged Play/Pause button we would get otherwise.
2024-04-25 08:25:10 +02:00
Robert Svensson
f8c38fad00
Split out event handling from Axis hub ()
* Split out event handling from Axis hub

* Improve test coverage

* Mark internal methods with '_'

* Rename to event source
2024-04-24 20:47:22 +02:00
Steve Easley
d565c1a84b
Add select platform to jvc_projector component ()
* Initial commit of jvc_projector select platform

* Move icon to icons.json

* Apply suggestions from code review

* Update tests/components/jvc_projector/test_select.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-24 17:36:50 +02:00
Joakim Sørensen
f83ee963bf
Add binary sensor entities to Traccar Server () 2024-04-24 17:08:56 +02:00
puddly
380f192c93
Expose the SkyConnect integration with a firmware config/options flow ()
Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2024-04-24 17:06:24 +02:00
Phil Bruckner
169b9b0bfe
Fix removing suggested_display_precision from entity registry ()
* 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 ()
* lingeringtimer

* Add async_cleanup to enphase_envoy_coordinator and call from unload_entry
2024-04-24 16:33:14 +02:00
J. Nick Koston
d0f5e40b19
Refactor ESPHome manager to avoid sending signals in tests () 2024-04-24 16:14:44 +02:00
Jan Bouwhuis
350ca48d4c
Return specific group state if there is one ()
* 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 ()
* 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 () 2024-04-24 14:03:40 +02:00
Brett Adams
0e0b543dec
Deprecate speed limit lock in Tessie () 2024-04-24 13:30:22 +02:00
Jan Bouwhuis
18132916fa
Mask current password in MQTT option flow ()
* 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 ()
Co-authored-by: Robert Resch <robert@resch.dev>
2024-04-24 13:19:50 +02:00
Michael
9fcb774252
Add reconfigure flow to AVM Fritz!SmartHome () 2024-04-24 13:06:14 +02:00
Marc Mueller
5bded2a52d
Fix accuweather system_health after data change () 2024-04-24 10:30:57 +02:00
Robert Resch
bcc2dd99b2
Rename strict connection static page to guard page () 2024-04-24 10:29:59 +02:00
Gage Benne
c4340f6f5f
Ecobee preset mode icon translations () 2024-04-24 10:16:35 +02:00
Robert Resch
a4829330f6
Add strict connection for cloud ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-24 09:57:38 +02:00
Richard Kroegel
474a1a3d94
Use display_precision if suggested_display_precision is None ()
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
Michael
d8cca482b3
Add reconfigure flow to AVM Fritz!Tools ()
add reconfigure flow
2024-04-24 07:52:14 +02:00
Matthias Alphart
f115525137
Migrate KNX notify service to entity platform () 2024-04-24 07:51:02 +02:00
J. Nick Koston
9d54aa205b
Fix non-thread-safe operations in html5 ()
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
David Friedland
e3016b131a
Add Event support to ESPHome components ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-24 13:22:03 +12:00
Michael
35db2e4101
Complete test coverage for Tankerkonig ()
* complete tests

* update snapshots after rebase
2024-04-23 23:42:17 +02:00
Jan Bouwhuis
8d2813fb8b
Migrate legacy Ecobee notify service ()
* 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
Joost Lekkerkerker
a45040af14
Add entity translations to 17track () 2024-04-23 22:30:20 +02:00
Jan Bouwhuis
31d11b2362
Add re-auth flow for MQTT broker username and password ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-04-23 22:26:01 +02:00
Thomas55555
f1fa33483e
Bump aioautomower to 2024.4.3 () 2024-04-23 22:23:44 +02:00