Commit graph

15631 commits

Author SHA1 Message Date
Erik Montnemery 94ad4786c3
Include extended address in response to WS otbr/info (#98440) 2023-08-15 09:48:29 +02:00
Erik Montnemery e6ea70fd00
Adjust thread router discovery typing (#98439)
* Adjust thread router discovery typing

* Adjust debug logs
2023-08-15 09:40:05 +02:00
Erik Montnemery 71b92265af
Include border agent id in response to WS otbr/info (#98394)
* Include border agent id in response to WS otbr/info

* Assert border agent ID is not None
2023-08-15 09:17:47 +02:00
Erik Montnemery 6c7f50b5b2
Simplify error handling in otbr async_setup_entry (#98395)
* Simplify error handling in otbr async_setup_entry

* Create issue if the OTBR does not support border agent ID

* Update test

* Improve test coverage

* Catch the right exception
2023-08-15 08:27:50 +02:00
Paulus Schoutsen ced4af1e22
Ignore smartthings storage on fresh install (#98418)
* Ignore smartthings storage on fresh install

* Also unload existing things when going for clean install

* Rename param

* Fix tests
2023-08-14 21:39:05 -05:00
Álvaro Fernández Rojas c3c00e6984
Update aioairzone to v0.6.6 (#98399) 2023-08-14 11:21:12 -05:00
Joakim Plate d6fcdeac06
Avoid leaking backtrace on connection lost in arcam (#98277)
* Avoid leaking backtrace on connection lost

* Correct ruff error after rebase
2023-08-14 18:03:17 +02:00
Franck Nijhof 85c2216cd7
Ensure headers middleware handles errors too (#98397) 2023-08-14 17:48:11 +02:00
Joost Lekkerkerker 77b421887b
Add entity translations for August (#98077) 2023-08-14 16:58:57 +02:00
Erik Montnemery d4753ebd3b
Include border agent ID in thread router discovery (#98378) 2023-08-14 16:46:55 +02:00
Erik Montnemery 1869177f08
Rename some incorrectly named assist_pipeline tests (#98389) 2023-08-14 15:47:55 +02:00
Erik Montnemery e0fd83daab
Store preferred border agent ID for each thread dataset (#98384) 2023-08-14 15:47:18 +02:00
Robert Resch b0f68f1ef3
Use @require_admin decorator (#98061)
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-08-14 15:07:20 +02:00
G Johansson a093c383c3
Remove Verisure default lock code (#94676) 2023-08-14 13:43:08 +02:00
Erik Montnemery 318b8adbed
Set preferred router when importing OTBR dataset (#98379) 2023-08-14 13:40:32 +02:00
Allen Porter 9ddf11f6cd
Improve rainbird error handling (#98239) 2023-08-14 13:32:08 +02:00
Martin Hjelmare 6f97270cd2
Fix tts notify config validation (#98381)
* Add test

* Require either entity_id or tts_service
2023-08-14 13:30:25 +02:00
Erik Montnemery e0ee713bb2
Store preferred border agent ID in thread dataset store (#98375) 2023-08-14 11:32:55 +02:00
Michael 533a8beac2
Raise ConfigEntryNotReady when unable to connect during setup of AVM Fritz!Smarthome (#97985) 2023-08-14 10:42:20 +02:00
Kevin Stillhammer 066db11620
Exchange WazeRouteCalculator with pywaze in waze_travel_time (#98169)
* exchange WazeRouteCalculator with pywaze

* directly use async is_valid_config_entry

* store pywaze client as property

* fix tests

* Remove obsolete error logs

* Reuse existing httpx client

* Remove redundant typing

* Do not clcose common httpx client
2023-08-14 10:02:30 +02:00
J. Nick Koston 790c1bc251
Decrease event loop latency by binding time.monotonic to loop.time directly (#98288)
* Decrease event loop latency by binding time.monotonic to loop.time directly

This is a small improvment to decrease event loop latency. While the goal is
is to reduce Bluetooth connection time latency, everything using asyncio
is a bit more responsive as a result.

* relo per comments

* fix too fast by adding resolution, ensure monotonic time is patchable by freezegun

* fix test that freezes time too late and has a race loop
2023-08-13 20:37:45 -04:00
Chris 5b6a7edd8d
Add Unifi outlet switches for PDU devices (#98320)
Updates the Unifi outlet switching feature to support PDU devices
2023-08-13 20:06:12 +02:00
Jan Bouwhuis e5f7d83912
Update entity feature constants google_assistant (#98335)
* Update entity feature constants google_assistant

* Update tests

* Direct import

* Some missed constants

* Add fan and cover feature imports
2023-08-13 17:17:47 +02:00
Jan Bouwhuis fa6ffd994a
Update vacuum entity constants for Alexa tests (#98336)
* Update vacuum entity constants for Alexa tests

* Import VacuumEntityFeature
2023-08-13 15:35:00 +02:00
Jan Bouwhuis b36681b318
Update homekit entity feature constants (#98337) 2023-08-13 15:33:36 +02:00
Bouwe Westerdijk b41d3b465c
Add domestic_hot_water_setpoint number to Plugwise (#98092)
* Add max_dhw_temperature number

* Update strings.json

* Add related tests

* Correct test

* Black-fix
2023-08-13 12:57:34 +02:00
tronikos bdaa2285fc
Google Assistant SDK: Allow responses for send_text_command (#95966)
google_assistant_sdk.send_text_command response
2023-08-12 16:20:01 -04:00
Chris 87753bdb82
Add UniFi power stats for PDU overall AC outlet metrics (#98217) 2023-08-12 18:12:59 +02:00
Erik Montnemery ae8f9dcb77
Modernize ipma weather (#98062)
* Modernize ipma weather

* Add test snapshots

* Don't include forecast mode in weather entity unique_id for new config entries

* Remove old migration code

* Remove outdated test
2023-08-12 15:15:09 +02:00
Joakim Plate 990ec1d445
Make gardena closing sensor unavailable when closed (#98133) 2023-08-11 13:07:45 +02:00
Allen Porter a0ac8ba5a6
Enforce a minimum temperature range for nest thermostats (#98238) 2023-08-11 12:21:19 +02:00
Erik Montnemery 2e1a5ddf2b
Don't allow creating device if config entry does not exist (#98157)
* Don't allow creating device if config entry does not exist

* Fix test

* Update test
2023-08-10 22:09:13 -04:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
G Johansson aacb8aecfc
Refactor Rest Sensor with ManualTriggerEntity (#97396)
* ManualTriggerEntity for rest sensor

* add availability test

* review comments

* last fixes
2023-08-10 21:46:56 +02:00
Erik Montnemery f1d4a4bd26
Adjust zwave_js tests which create devices (#98213) 2023-08-10 18:27:22 +02:00
Erik Montnemery 49011f0158
Adjust hue tests which create devices (#98195) 2023-08-10 18:27:05 +02:00
Erik Montnemery 3fdc98063e
Adjust bond tests which create devices (#98183) 2023-08-10 18:26:44 +02:00
Erik Montnemery fcdfeb74c8
Adjust smartthings tests which create devices (#98207) 2023-08-10 18:26:20 +02:00
Erik Montnemery 6803a62368
Adjust ruckus_unleashed tests which create devices (#98206) 2023-08-10 18:26:13 +02:00
Erik Montnemery b11dc50f9e
Adjust homekit_controller tests which create devices (#98194) 2023-08-10 18:25:53 +02:00
Erik Montnemery e1e4b0dcf0
Adjust device_automation tests which create devices (#98187) 2023-08-10 18:25:42 +02:00
Erik Montnemery 57d0fd7bb1
Adjust derivative tests which create devices (#98186) 2023-08-10 18:25:28 +02:00
Chris fe1f617a35
Add unifi power stats for PDU outlets (#98081)
Adds support for power stats for PDU outlets.
2023-08-10 18:25:03 +02:00
Erik Montnemery c1b47b88f2
Adjust utility_meter tests which create devices (#98212) 2023-08-10 18:24:47 +02:00
Erik Montnemery 05ac67eba2
Adjust unifi tests which create devices (#98211) 2023-08-10 18:24:42 +02:00
Erik Montnemery fb1bb0d374
Adjust switch_as_x tests which create devices (#98210) 2023-08-10 18:24:39 +02:00
Erik Montnemery 8813140ed5
Adjust threshold tests which create devices (#98208) 2023-08-10 18:24:36 +02:00
Erik Montnemery 6ea7011a07
Adjust ps4 tests which create devices (#98205) 2023-08-10 18:24:25 +02:00
Erik Montnemery 7b157baed6
Adjust plex tests which create devices (#98204) 2023-08-10 18:24:22 +02:00
Erik Montnemery 9d3be60b05
Adjust openai_conversation tests which create devices (#98203) 2023-08-10 18:24:19 +02:00