mkmer
3e1d2a1000
Handle missing keys in Honeywell ( #98392 )
2023-08-16 18:59:34 +02:00
J. Nick Koston
5bf80a0f6d
Make ESPHome deep sleep tests more robust ( #98535 )
2023-08-16 11:05:22 -05:00
Nick Whyte
2c48f0e416
Fix ness alarm armed_home state appearing as disarmed/armed_away ( #94351 )
...
* Fix nessclient arm home appearing as arm away
* patch arming mode enum and use dynamic access
* Revert "patch arming mode enum and use dynamic access"
This reverts commit b9cca8e92bcb382abe364381a8cb1674c32d1d2a.
* Remove mock enums
2023-08-16 13:56:52 +02:00
Mike Heath
cf8c9ad184
Add PoE switch tests ( #95087 )
...
* Add PoE switch tests
* Update tests/components/tplink_omada/test_switch.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Remove files covered by tests from exclusion
* Rename entity_name to entity_id
* Fix test, use snapshot, other improvements
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-08-16 13:38:53 +02:00
Diogo Gomes
abf065ed76
Fix checks for duplicated config entries in IPMA ( #98319 )
...
* fix unique_id
* old unique id detection
* update tests
* match entry not unique_id
* address review
2023-08-16 12:56:47 +02:00
Emma Vanbrabant
8efb9dad7e
Add device_class to Renault charging remaining time ( #98393 )
...
* Add device_class on charging remaining time
Set `device_class to `duration` on the `charging_remaining_time` entity in the Renault integration.
I had some issues showing this property on my dashboard, and setting this fixed it. The recommendation to open an issue against the original integration in these kinds of cases came from [here](https://community.home-assistant.io/t/how-to-format-a-card-to-show-hours-instead-of-seconds/425473/7 ).
* Update test const to add duration
* fix other cars
* Update test_sensor.ambr
* add duration in ambr
2023-08-16 09:42:38 +02:00
Jan Bouwhuis
c010b97abf
Improve test recovery MQTT certificate files ( #98223 )
...
* Improve test recovery MQTT certificate files
* Spelling
2023-08-16 09:07:14 +02:00
Erik Montnemery
3cf86d5d1f
Create a single entity for new met_eireann config entries ( #98100 )
2023-08-15 20:56:19 +02:00
Erik Montnemery
caeb20f9c9
Modernize aemet weather ( #97969 )
...
* Modernize aemet weather
* Improve test coverage
* Only create a single entity for new config entries
2023-08-15 20:55:16 +02:00
Erik Montnemery
90413daa8a
Update buienweather data before adding entities ( #98455 )
...
* Update buienweather data before adding entities
* Fix tests
2023-08-15 18:15:23 +02:00
Marc Mueller
063ce9159d
Use asyncio.timeout [o-s] ( #98451 )
2023-08-15 17:21:49 +02:00
starkillerOG
92cf6ed2a0
Reolink 100% test coverage ( #94763 )
2023-08-15 09:50:17 -05:00
J. Nick Koston
e209f3723e
Restore sensorpush state when device becomes available ( #98420 )
2023-08-15 09:29:25 -05:00
Marc Mueller
a9ade1f84d
Use asyncio.timeout [core] ( #98447 )
2023-08-15 08:36:05 -05:00
Marc Mueller
e2d2ec8817
Use asyncio.timeout [b-e] ( #98448 )
2023-08-15 08:30:20 -05:00
Marc Mueller
8b0fdd6fd2
Use asyncio.timeout [s-z] ( #98452 )
2023-08-15 14:34:18 +02:00
G Johansson
ed18c6a013
Refactor Rest Switch with ManualTriggerEntity ( #97403 )
...
* Refactor Rest Switch with ManualTriggerEntity
* Fix test
* Fix 2
* review comments
* remove async_added_to_hass
* update on startup
2023-08-15 11:43:47 +02:00
Erik Montnemery
3b9d6f2dde
Add setup function to the component loader ( #98148 )
...
* Add setup function to the component loader
* Update test
* Setup the loader in safe mode and in check_config script
2023-08-15 10:59:42 +02:00
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