Commit Graph
17180 Commits
Author SHA1 Message Date
Emma VanbrabantandGitHub 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 BouwhuisandGitHub c010b97abf Improve test recovery MQTT certificate files (#98223)
* Improve test recovery MQTT certificate files

* Spelling
2023-08-16 09:07:14 +02:00
Erik MontnemeryandGitHub 3cf86d5d1f Create a single entity for new met_eireann config entries (#98100) 2023-08-15 20:56:19 +02:00
Erik MontnemeryandGitHub 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 MontnemeryandGitHub 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 MuellerandGitHub 063ce9159d Use asyncio.timeout [o-s] (#98451) 2023-08-15 17:21:49 +02:00
starkillerOGandGitHub 92cf6ed2a0 Reolink 100% test coverage (#94763) 2023-08-15 09:50:17 -05:00
J. Nick KostonandGitHub e209f3723e Restore sensorpush state when device becomes available (#98420) 2023-08-15 09:29:25 -05:00
Erik MontnemeryandGitHub 3de402bd15 Fix AiohttpClientMockResponse.release (#98458) 2023-08-15 09:22:42 -05:00
Marc MuellerandGitHub a9ade1f84d Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
Marc MuellerandGitHub e2d2ec8817 Use asyncio.timeout [b-e] (#98448) 2023-08-15 08:30:20 -05:00
Marc MuellerandGitHub 8b0fdd6fd2 Use asyncio.timeout [s-z] (#98452) 2023-08-15 14:34:18 +02:00
G JohanssonandGitHub 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 MontnemeryandGitHub 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 MontnemeryandGitHub 94ad4786c3 Include extended address in response to WS otbr/info (#98440) 2023-08-15 09:48:29 +02:00
Erik MontnemeryandGitHub e6ea70fd00 Adjust thread router discovery typing (#98439)
* Adjust thread router discovery typing

* Adjust debug logs
2023-08-15 09:40:05 +02:00
Erik MontnemeryandGitHub 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 MontnemeryandGitHub 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 SchoutsenandGitHub 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 RojasandGitHub c3c00e6984 Update aioairzone to v0.6.6 (#98399) 2023-08-14 11:21:12 -05:00
Joakim PlateandGitHub 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 NijhofandGitHub 85c2216cd7 Ensure headers middleware handles errors too (#98397) 2023-08-14 17:48:11 +02:00
Joost LekkerkerkerandGitHub 77b421887b Add entity translations for August (#98077) 2023-08-14 16:58:57 +02:00
Erik MontnemeryandGitHub d4753ebd3b Include border agent ID in thread router discovery (#98378) 2023-08-14 16:46:55 +02:00
Erik MontnemeryandGitHub 1869177f08 Rename some incorrectly named assist_pipeline tests (#98389) 2023-08-14 15:47:55 +02:00
Erik MontnemeryandGitHub e0fd83daab Store preferred border agent ID for each thread dataset (#98384) 2023-08-14 15:47:18 +02:00
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 JohanssonandGitHub a093c383c3 Remove Verisure default lock code (#94676) 2023-08-14 13:43:08 +02:00
Erik MontnemeryandGitHub 318b8adbed Set preferred router when importing OTBR dataset (#98379) 2023-08-14 13:40:32 +02:00
Allen PorterandGitHub 9ddf11f6cd Improve rainbird error handling (#98239) 2023-08-14 13:32:08 +02:00
Martin HjelmareandGitHub 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 MontnemeryandGitHub e0ee713bb2 Store preferred border agent ID in thread dataset store (#98375) 2023-08-14 11:32:55 +02:00
MichaelandGitHub 533a8beac2 Raise ConfigEntryNotReady when unable to connect during setup of AVM Fritz!Smarthome (#97985) 2023-08-14 10:42:20 +02:00
Kevin StillhammerandGitHub 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 KostonandGitHub 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
ChrisandGitHub 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 BouwhuisandGitHub 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 BouwhuisandGitHub 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 BouwhuisandGitHub b36681b318 Update homekit entity feature constants (#98337) 2023-08-13 15:33:36 +02:00
Bouwe WesterdijkandGitHub 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
tronikosandGitHub 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
ChrisandGitHub 87753bdb82 Add UniFi power stats for PDU overall AC outlet metrics (#98217) 2023-08-12 18:12:59 +02:00
Erik MontnemeryandGitHub 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
Erik MontnemeryandGitHub 97f3199d6d Do not add entities with invalid device info (#98150) 2023-08-11 13:14:47 +02:00
Joakim PlateandGitHub 990ec1d445 Make gardena closing sensor unavailable when closed (#98133) 2023-08-11 13:07:45 +02:00
Allen PorterandGitHub a0ac8ba5a6 Enforce a minimum temperature range for nest thermostats (#98238) 2023-08-11 12:21:19 +02:00
Erik MontnemeryandGitHub 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 MontnemeryandGitHub 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
Franck NijhofandGitHub 296c27859e Fix issue registry sending unneeded update events (#98230) 2023-08-10 21:57:42 -04:00
G JohanssonandGitHub 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