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
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
Erik Montnemery
13a9b83ed3
Adjust mqtt tests which create devices ( #98202 )
2023-08-10 18:23:55 +02:00
Erik Montnemery
0b69f37d57
Adjust motioneye tests which create devices ( #98201 )
2023-08-10 18:23:51 +02:00
Erik Montnemery
bd4d1abc28
Adjust mikrotik tests which create devices ( #98200 )
2023-08-10 18:23:48 +02:00
Erik Montnemery
9831498259
Adjust mazda tests which create devices ( #98199 )
2023-08-10 18:23:44 +02:00
Erik Montnemery
e9a0436605
Adjust matter tests which create devices ( #98198 )
2023-08-10 18:23:41 +02:00
Erik Montnemery
3495d762a4
Adjust kraken tests which create devices ( #98197 )
2023-08-10 18:23:37 +02:00
Erik Montnemery
3e6c844048
Adjust integration tests which create devices ( #98196 )
2023-08-10 18:23:33 +02:00
Erik Montnemery
07b19b3dd9
Adjust homekit tests which create devices ( #98193 )
2023-08-10 18:23:17 +02:00
Erik Montnemery
4329a47ef8
Adjust google_generative_ai_conversation tests which create devices ( #98192 )
2023-08-10 18:23:13 +02:00
Erik Montnemery
f11f7ac45c
Adjust google_assistant tests which create devices ( #98191 )
2023-08-10 18:23:10 +02:00
Erik Montnemery
983ebeff80
Adjust freebox tests which create devices ( #98190 )
2023-08-10 18:22:44 +02:00
Erik Montnemery
52183d64ae
Adjust fibaro tests which create devices ( #98189 )
2023-08-10 18:22:39 +02:00
Erik Montnemery
ec143b26d7
Adjust device_tracker tests which create devices ( #98188 )
2023-08-10 18:22:33 +02:00
Erik Montnemery
da53944a37
Adjust conversation tests which create devices ( #98185 )
2023-08-10 18:22:17 +02:00
Erik Montnemery
5909a1187d
Adjust config tests which create devices ( #98184 )
2023-08-10 18:22:12 +02:00
Erik Montnemery
f77387bd0f
Adjust asuswrt tests which create devices ( #98182 )
2023-08-10 18:21:46 +02:00
RoboMagus
f0e9dccb58
Only handle shell commands output when return_response requested ( #97777 )
2023-08-10 18:11:15 +02:00
Álvaro Fernández Rojas
4981eadd31
Update aioairzone to v0.6.5 ( #98163 )
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-08-10 16:47:16 +02:00
Joost Lekkerkerker
a7f7f56342
Implement opensky data update coordinator ( #97925 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2023-08-10 15:42:46 +02:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
G Johansson
4531dbbe62
Refactor Rest Binary sensor with ManualTriggerEntity ( #97400 )
...
* Refactor Rest Binary sensor w/ ManualTriggerEntity
* test availability
* review comments
* Use super
* Fix config
2023-08-10 12:59:23 +02:00
Jan Bouwhuis
b872d74b1f
Fix lingering test alexa ( #98128 )
2023-08-10 12:16:52 +02:00
Raman Gupta
5d3d66e47d
Bump zwave-js-server-python to 0.50.1 ( #94760 )
...
* Bump zwave-js-server-python to 0.50.0
* handle additional upstream changes
* Additional changes
* fix tests
* Convert two similar functions to be one function
* Fix docstring
* Remove conditional pydantic import
* Revert scope change
* Bump zwave-js-server-python
* Set default return value for command
* Remove line breaks
* Add coverage
2023-08-10 01:28:08 -04:00
Robert Svensson
02c27d8ad2
UniFi WLAN availability affected by WLAN enabled ( #98020 )
2023-08-09 18:52:35 +02:00
G Johansson
4c03077dfe
Add product filtering feature to Trafikverket Train ( #86343 )
2023-08-09 17:20:30 +02:00
David Knowles
023f2f8bb7
Add switch platform to Schlage ( #98004 )
...
* Add switch platform to Schlage
* Add a generic SchlageSwitch
* Use an is_on property instead of _attr_is_on
* Make value_fn always return a bool
2023-08-09 15:32:50 +02:00
Jan Bouwhuis
5c9bce9eac
Allow float for inital MQTT climate temperature ( #97995 )
...
* Allow float for inital MQTT climate temperature
* Update tests/components/mqtt/test_climate.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-08-08 23:44:49 +02:00
G Johansson
d557f3b742
Add state attributes translation and available modes for Sensibo ( #85234 )
...
* Sensibo translation climate
* Add available states
* Fix keys
* Delete en.json
* invalid fan_mode and swing_mode
* Translations
* Add back sorting
* Fix fan_mode and swing_mode
* Fix raise error
* review
2023-08-08 19:13:56 +02:00
jan iversen
fc463e5831
modbus: remove unused constants and get 100% coverage. ( #97779 )
2023-08-08 16:40:16 +02:00
Tom
4a4523c249
Bump plugwise to v0.31.9 ( #97203 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Bouwe <bouwe.s.westerdijk@gmail.com>
2023-08-08 16:38:37 +02:00
Erik Montnemery
0d55a7600e
Modernize met_eireann weather ( #98030 )
2023-08-08 14:21:52 +02:00
Jadson Santos
f6273bfca5
Add prometheus requires_auth parameter ( #92964 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-08-08 12:15:08 +02:00
Franck Nijhof
40e256847c
Add is_admin checks to scene/script/automation APIs ( #98025 )
2023-08-08 12:11:52 +02:00
Jan Bouwhuis
0614702f98
Alexa typing part 5 (smart_home) ( #97918 )
...
* smart_home
* Fix test_disabled
* Remove unused type ignore
2023-08-08 11:48:50 +02:00
Erik Montnemery
1ee0c907b0
Improve OTBR factory reset ( #98017 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch>
2023-08-08 11:38:01 +02:00
Franck Nijhof
5e020ea354
Add is_admin checks to cloud APIs ( #97804 )
2023-08-08 11:02:42 +02:00
Franck Nijhof
dacfa4b4dc
Set up shopping list during onboarding ( #97974 )
...
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
2023-08-08 10:32:35 +02:00
Michael Hansen
7ea2998b55
Add wake word integration ( #96380 )
...
* Add wake component
* Add wake support to Wyoming
* Add helper function to assist_pipeline (not complete)
* Rename wake to wake_word
* Fix platform
* Use send_event and clean up
* Merge wake word into pipeline
* Add wake option to async_pipeline_from_audio_stream
* Add start/end stages to async_pipeline_from_audio_stream
* Add wake timeout
* Remove layer in wake_output
* Use VAD for wake word timeout
* Include audio metadata in wake-start
* Remove unnecessary websocket command
* wake -> wake_word
* Incorporate feedback
* Clean up wake_word tests
* Add wyoming wake word tests
* Add pipeline wake word test
* Add last processed state
* Fix tests
* Add tests for wake word
* More tests for the codebot
2023-08-07 22:22:16 -04:00
Matthias Alphart
0f5d423d1e
Move KNX keyring validation and storage to helper module ( #97931 )
...
* Move KNX keyfile validation and store to helper module
* Rename module and fix tests
2023-08-07 23:30:14 +02:00
J. Nick Koston
987897b0fa
Add support for Yale Doorman to august ( #97997 )
2023-08-07 11:28:01 -10:00
J. Nick Koston
c8256d1d3d
Optimize august timings to prepare for Yale Doorman support ( #97940 )
2023-08-07 11:09:32 -10:00
J. Nick Koston
d304d42051
Restore qingping state when device becomes available ( #97980 )
2023-08-07 09:27:18 -10:00
J. Nick Koston
56c2276630
Restore sleepy oralb devices state at startup ( #97983 )
2023-08-07 09:19:46 -10:00
J. Nick Koston
b7f936fcdd
Restore govee_ble state when gateway device becomes available ( #97984 )
2023-08-07 09:13:50 -10:00
J. Nick Koston
fb12c237ab
Restore xiaomi_ble state at start when device is in range or sleepy ( #97979 )
2023-08-07 07:58:27 -10:00
Ståle Storø Hauknes
b34ce3c792
Improve airthings ble ( #97905 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-07 07:15:51 -10:00
J. Nick Koston
a234ab51fe
Restore bthome state at start when device is in range or sleepy ( #97949 )
2023-08-07 18:41:53 +02:00
David Knowles
a4721e9b36
Schlage: Set the changed by attribute on locks based on log messages ( #97469 )
2023-08-07 06:07:48 -10:00
G Johansson
c4da5374ae
Refactor Trafikverket Train to improve config flow ( #97929 )
...
* Refactor tvt
* review fixes
* review comments
2023-08-07 17:25:02 +02:00
G Johansson
15eed166ec
Modernize SMHI weather ( #97275 )
...
* SMHI forecast service
* Mod weather
* reset weather
* Fix tests
* coverage
* add test
2023-08-07 17:24:43 +02:00
Erik Montnemery
683c2f8d22
Add service for getting a weather forecast ( #97078 )
...
* Add service for getting a weather forecast
* Fix translations
* Improve service description
* Improve error handling
* Adjust typing
* Adjust typing
* Adjust service response format
2023-08-07 14:05:37 +02:00
tronikos
0a2ff3a676
Android TV Remote: Fix missing key and cert when adding a device via IP address ( #97953 )
...
Fix missing key and cert
2023-08-07 14:01:35 +02:00
Marc Mueller
cf4287cd0c
Fix alexa test RuntimeWarning ( #97956 )
2023-08-07 12:57:37 +02:00
starkillerOG
d72057f41b
Add repair issue for Reolink when using it with an incompatible global ssl certificate ( #91597 )
2023-08-07 11:52:14 +02:00
J. Nick Koston
56257b7a38
Restore passive bluetooth entity data at startup ( #97462 )
2023-08-06 20:25:18 -10:00
Franck Nijhof
369a484a78
Add default headers to webserver responses ( #97784 )
...
* Add default headers to webserver responses
* Set default server header
* Fix other tests
2023-08-06 23:25:13 -04:00
Franck Nijhof
3df71eca45
Ensure webhooks take HA cloud into account ( #97801 )
...
* Ensure webhooks take HA cloud into account
* Avoid circular import
2023-08-06 23:23:52 -04:00
Jan Bouwhuis
3969de6c76
Freeze time for whirlpool test to avoid fail ( #97935 )
2023-08-06 12:37:06 -10:00
Luke
c9edc973f0
Bump python-roborock to 0.32.2 ( #97907 )
...
* bump to 0.32.2
* fix test
2023-08-06 22:34:14 +02:00
Joost Lekkerkerker
42bca0f94a
Complete test coverage for OpenSky ( #97863 )
...
* Use mockobject for OpenSky testing
* Complete test coverage for OpenSky
* Complete test coverage for OpenSky
* Use method patching
2023-08-06 19:39:24 +02:00
Johannes Wagner
c4a5373976
Handle explicit Modbus NaN values ( #90800 )
...
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-06 13:47:54 +02:00
J. Nick Koston
00e78fbf19
Cache envoy auth tokens to ensure integration works if cloud is offline ( #97872 )
2023-08-05 14:51:19 -10:00
J. Nick Koston
02e546e3ef
Refactor enphase_envoy to use pyenphase library ( #97862 )
2023-08-05 13:33:16 -10:00
J. Nick Koston
a09090bf99
Do not fire homekit_controller events from IP polling ( #97869 )
...
* Fix homekit_controller triggers when value is None
* fixes
* cover
2023-08-06 00:31:50 +02:00
Ernst Klamer
0caeac1a82
Add support for toothbrushes to xiaomi-ble ( #97276 )
...
* Add support for toothbrushes to xiaomi-ble
* use str for string
2023-08-05 23:13:21 +02:00
Richard Kroegel
74d02a1574
BMW: Remove deprecated refresh from cloud button ( #97864 )
...
* Remove deprecated refresh from cloud button
* Clean up strings.json
2023-08-05 22:28:24 +02:00
Jan Bouwhuis
2e8e5aabae
Refactor alexa modules to avoid circular deps ( #97618 )
...
* Refactor alexa modules to avoid circula deps
* Add test http api auth and AlexaConfig
* Update test
* Improve test
2023-08-05 21:32:53 +02:00
Robert Svensson
e43ad1c6a0
Add restart device to UniFi button platform ( #97642 )
...
* Add restart device to UniFi Button platform
* Add tests for button platform
* Small corrections
2023-08-05 20:07:20 +02:00
G Johansson
249fa513c9
Bump pysensibo to 1.0.33 ( #97853 )
...
* Bump pysensibo to 1.0.33
* for loop
2023-08-05 19:02:44 +02:00
G Johansson
a22aa285d3
Fix Melcloud import issue ( #97673 )
...
* Fix Melcloud import issue
* remove old issue
* Simplify
* Update homeassistant/components/melcloud/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/melcloud/strings.json
* Update homeassistant/components/melcloud/strings.json
* Apply suggestions from code review
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-05 17:00:33 +02:00
G Johansson
2e263560ec
Fix Command Line template error when data is None ( #97845 )
...
Command Line template error
2023-08-05 16:21:39 +02:00
G-Two
c5e5567912
Add device tracker to Subaru integration ( #79492 )
...
* Add device tracker to subaru integration
* Fix timestamp in device tracker
* Add test for device tracker
* Incorporate PR review comments
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Incorporate code review comments
* Add tests for bad device tracker data
* Check device tracker data is available in entity
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-05 15:52:20 +02:00
Franck Nijhof
b286da211a
Add is_admin check to check configuration API ( #97788 )
2023-08-04 19:25:01 +02:00
Robert Svensson
66cb407e4f
Improve counting of UniFi WLAN Clients sensor ( #97785 )
2023-08-04 19:22:46 +02:00
karwosts
41eca41638
Handle Alert exception on notification failure ( #93632 )
2023-08-04 14:08:49 +02:00
uvjustin
9282cb21ab
Raise PlatformNotReady on initial OwnTone connection failure ( #97257 )
2023-08-04 12:54:54 +02:00
Marc Mueller
3f5a21dce4
Fix mailbox PytestCollectionWarning ( #97740 )
2023-08-04 12:31:32 +02:00
Marc Mueller
cd8d6ecd81
Fix recorder DeprecationWarnings ( #97738 )
2023-08-04 11:32:51 +02:00
Marc Mueller
b23b2ac2e8
Fix http test DeprecationWarnings ( #97737 )
2023-08-04 11:32:23 +02:00
Marc Mueller
e905ac173f
Fix command_line tests RuntimeWarnings ( #97731 )
2023-08-04 09:34:55 +02:00
Marc Mueller
99145d46d2
Fix keymitt_ble RuntimeWarning ( #97729 )
2023-08-04 09:34:04 +02:00
Luke
df45e52dc5
Add battery sensor to Roborock ( #97715 )
...
* add battery sensor
* Remove translation for battery
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-04 09:28:48 +02:00
Marc Mueller
37885400c9
Fix mqtt test DeprecationWarnings ( #97734 )
2023-08-04 09:21:36 +02:00
Nathan Spencer
615d7f0da7
Add ability to remove Litter-Robot if no longer provided by integration ( #97702 )
2023-08-03 20:30:03 -10:00
J. Nick Koston
0cc80a9d29
Add OUI to tplink diagnostics ( #97646 )
...
* Add OUI to tplink diagnostics
The main reason discovery does not work for new devices is we
are missing the OUI. Since we redact the whole mac address in
the diagnostics, this makes it difficult to fix. We now include
the OUI in the diagnostics
* fix: use cached mac
* fix: tests
2023-08-03 22:49:55 -04:00
Marc Mueller
d1ad1c47e6
Fix zha test RuntimeWarnings ( #97733 )
2023-08-04 01:07:11 +02:00
Marc Mueller
52fc3c26d1
Fix yalex_ble test RuntimeWarning ( #97732 )
2023-08-03 12:55:18 -10:00
Paul Bottein
83af2f5b8b
Allow to sort options in select selector ( #97680 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-08-03 21:49:22 +02:00
TheJulianJES
bae5a3dbd6
Fix ZHA `turn_on` issues with `transition=0`, improve tests ( #97539 )
...
* Fix turn_on ignoring transition=0 and brightness=None, add test
This fixes light.turn_on for ZHA lights ignoring a transition of 0 when no brightness is given at the same time.
It also adds a test for that case.
Fixes https://github.com/home-assistant/core/issues/93265
* Add test for "force on" lights
This test checks that "force on" lights also get an "on" command (in addition to the "move to level" command) when turn_on is called with only transition=0.
* Fix "on" command sent for transition=0 calls, fix FORCE_ON missing for transition=0
This fixes an issue where the "on" command is sent in addition to a "move_to_level_with_on_off" command, even though the latter one is enough (for non-FORCE_ON lights).
It also fixes the test to not expect the unnecessary "on" command (in addition to the expected "move_to_level_with_on_off" command).
The `brightness != 0` change is needed to fix an issue where FORCE_ON lights did not get the required "on" command (in addition to "move_to_level_with_on_off") if turn_on was called with only transition=0.
(It could have been `brightness not None`, but that would also send an "on" command if turn_on is called with brightness=0 which HA somewhat "supports". The brightness != 0 check avoids that issue.)
* Improve comments in ZHA light class
2023-08-03 15:20:40 -04:00
Meow
6fd60024cc
Refactored deprecated UNITS ( #97368 )
2023-08-03 21:12:01 +02:00
Nick Iacullo
6f8d666b57
Enable the `PRESET_MODE` `FanEntityFeature` for VeSync air purifiers ( #97657 )
2023-08-03 18:30:56 +02:00
G Johansson
4c395c0124
Fix date and timestamp device class in Command Line Sensor ( #97663 )
...
* Fix date in Command Line sensor
* prettier
2023-08-03 13:59:37 +02:00
J. Nick Koston
db5d1b10ea
Fix tplink child plug state reporting ( #97658 )
...
regressed in https://github.com/home-assistant/core/pull/96246
2023-08-03 12:35:22 +02:00
Michael Hansen
7cf2199e8b
Bump intents to 2023.8.2 ( #97636 )
2023-08-02 20:01:30 -04:00
Marc Mueller
887e48c440
Replace deprecated aiohttp_unused_port fixture ( #97626 )
2023-08-02 20:30:13 +02:00
Marc Mueller
1a77121c02
Fix aiohttp code DeprecationWarnings ( #97621 )
2023-08-02 20:28:18 +02:00
Bruno Enten
3ce05314e0
use write_registers also for target temp ( #97475 )
2023-08-02 13:36:05 +02:00
Robert Resch
e4303e4534
Add rounding back when unique_id is not set ( #97603 )
2023-08-02 11:26:25 +02:00
J. Nick Koston
708b00d7ab
Use legacy rules for ESPHome entity_id construction if `friendly_name` is unset ( #97578 )
2023-08-01 21:08:12 +02:00
Michael Hansen
8ad37d7640
Send language to Wyoming STT ( #97344 )
2023-08-01 10:05:01 +02:00
Jan Bouwhuis
9c6c391eea
Offer work- a-round for MQTT entity names that start with the device name ( #97495 )
...
Co-authored-by: SukramJ <sukramj@icloud.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-08-01 10:03:08 +02:00
Jan Bouwhuis
a8a3b6778e
Fix unit tests for wake_on_lan ( #97542 )
2023-07-31 21:16:58 +02:00
Joost Lekkerkerker
c2e9fd85c2
Fix RootFolder not iterable in Radarr ( #97537 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-07-31 18:44:03 +02:00
J. Nick Koston
e7069d48be
Load homekit_controller test data using its json loader ( #97534 )
2023-07-31 07:04:41 -07:00
epenet
83db3c48c2
Fix unused variable in Renault tests ( #97529 )
2023-07-31 12:35:30 +02:00
epenet
927905ac84
Handle http error in Renault initialisation ( #97530 )
2023-07-31 12:17:51 +02:00
J. Nick Koston
28bebf338f
Fix xiaomi_ble not remembering a device is a sleepy device ( #97518 )
2023-07-31 01:02:36 -07:00
J. Nick Koston
7bda873c2a
Fix bthome not remembering a device is a sleepy device ( #97517 )
2023-07-31 01:02:15 -07:00
starkillerOG
b266514068
Delay creation of Reolink repair issues ( #97476 )
...
* delay creation of repair issues
* fix tests
2023-07-31 09:07:13 +02:00
Meow
a4b2ded503
Refactor deprecated RESULT_TYPE_* ( #97367 )
2023-07-30 19:27:30 +02:00
Chris Talkington
9d2f52dbc5
Allow deleting config entry devices in jellyfin ( #97377 )
2023-07-30 18:42:28 +02:00
Maciej Bieniek
12426dfad4
Add entity translations for AccuWeather ( #95940 )
...
* Add entity name translations
* Some improvements
* Update tests
* Suggested changes
* day 0 -> today
* night 0 -> tonight
* Fix precipitation
2023-07-29 21:22:53 +02:00
Michael
750260b266
Add more sensors to PEGELONLINE ( #97295 )
...
* add further sensors
* adjust and improve tests
* add device classes were applicable
* fix doc string
* name for ph comes from device class
* use icon from device class for ph sensor
2023-07-29 17:03:29 +02:00
David Knowles
0e8bbbd3d9
Add a battery sensor to Schlage ( #97369 )
2023-07-28 21:09:25 -07:00
Michael Hansen
7e3fdd85fc
Add wildcards to sentence triggers ( #97236 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-07-27 20:30:42 +02:00
Marcel van der Veldt
7ada88eab3
Hue event entity follow up ( #97336 )
2023-07-27 16:58:09 +02:00
Jan Bouwhuis
3fcfe7d0c6
Set mqtt entity name to `null` when it is a duplicate of the device name ( #97304 )
2023-07-27 09:23:23 +02:00
David Knowles
b31cfe0b24
Add Schlage integration ( #93777 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-07-26 23:15:01 -05:00
J.P. Krauss
7113db8da4
Improve AirNow Configuration Error Handling ( #97267 )
...
* Fix config flow error handling when no data is returned by AirNow API
* Add test for PyAirNow EmptyResponseError
* Typo Fix
2023-07-26 21:30:25 +02:00
Marcel van der Veldt
2ae059d4fc
Add Event platform/entity to Hue integration ( #97256 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-07-26 16:42:01 +02:00
Joost Lekkerkerker
d233438e1a
Handle UpdateFailed for YouTube ( #97233 )
2023-07-26 15:09:15 +02:00
Marcel van der Veldt
fd44bef39b
Add Event platform to Matter ( #97219 )
2023-07-26 12:19:23 +02:00
Paulus Schoutsen
aad281db18
Add service to OpenAI to Generate an image ( #97018 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-07-26 10:14:18 +02:00
Michael
5caa1969c5
Add Pegel Online integration ( #97028 )
2023-07-26 09:12:39 +02:00
Jc2k
c0debaf26e
Add event entities to homekit_controller ( #97140 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-26 08:20:41 +02:00
Amos Yuen
d0512d5b26
Stop rounding history_stats sensor ( #97195 )
2023-07-26 08:09:50 +02:00
Robert Svensson
89069bb9b8
Add WLAN clients reporting to UniFi Sensor platform ( #97234 )
2023-07-26 08:00:17 +02:00
Michael Hansen
311c321d06
Add HassShoppingListAddItem to default agent ( #97232 )
...
* Bump hassil and intents package for HassShoppingListAddItem
* Remove hard-coded response text
* Test adding item to the shopping list
* Hook removed import in test for some reason
2023-07-25 22:19:03 -04:00
mkmer
c6f21b47a8
Whrilpool add periodic update ( #97222 )
2023-07-25 22:23:31 +02:00
Joost Lekkerkerker
585d357129
Add config flow to OpenSky ( #96912 )
...
Co-authored-by: Sander <developer@golles.nl>
2023-07-25 20:46:04 +02:00
J. Nick Koston
6ae79524bd
Add support for bleak 0.21 ( #97212 )
2023-07-25 19:30:54 +02:00
Robert Svensson
8d6c4e3306
Add controls to enable and disable a UniFi WLAN ( #97204 )
2023-07-25 14:01:57 +02:00
Jan-Philipp Benecke
a0b61a1188
Bump pydiscovergy to 2.0.1 ( #97186 )
2023-07-25 13:58:38 +02:00
Jan Bouwhuis
fb00cd8963
Add turn on/off support for mqtt water_heater ( #97197 )
2023-07-25 13:33:02 +02:00
Luke
6c43ce69d3
Add time platform to Roborock ( #94039 )
2023-07-25 13:29:48 +02:00
Maikel Punie
7f049c5b20
Add the Duotecno intergration ( #96399 )
...
Co-authored-by: Isak Nyberg <36712644+IsakNyberg@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-25 11:16:00 +02:00
Matthias Alphart
74deb8b011
Add datetime platform to KNX ( #97190 )
2023-07-25 11:04:05 +02:00
Michael Arthur
6ef7c5ece6
Add electric kiwi integration ( #81149 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-25 10:46:53 +02:00
Joost Lekkerkerker
04f6d1848b
Implement YouTube async library ( #97072 )
2023-07-25 10:18:20 +02:00
Jan Bouwhuis
714a04d603
Add service turn_on and turn_off service for water_heater ( #94817 )
2023-07-25 10:16:05 +02:00
Robert Svensson
06f97679ee
Add WLAN QR code support to UniFi Image platform ( #97171 )
2023-07-25 10:11:48 +02:00
Adrián Moreno
f2726527f2
Create zwave_js repair issue instead of warning log entry ( #95997 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-25 09:55:05 +02:00
Mike Woudenberg
945fffebcc
Use get_url to get Home Assistant instance for Loqed webhook ( #95761 )
2023-07-25 08:27:18 +02:00
G Johansson
c312dcbc4b
Scrape refactor to ManualTriggerEntity ( #96329 )
2023-07-25 00:54:19 +02:00
Guido Schmitz
6717e40114
Use snapshots in devolo Home Network button tests ( #95141 )
...
Use snapshots
2023-07-25 00:20:09 +02:00
Álvaro Fernández Rojas
d1e96a356a
Add Airzone Cloud Aidoo binary sensors ( #95607 )
...
airzone_cloud: add Aidoo binary sensors
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-07-24 23:27:33 +02:00
starkillerOG
8a58675be2
Reolink improve webhook URL error message ( #96088 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-24 22:01:45 +02:00
Ernst Klamer
28197adebd
Add support for sleepy Xiaomi BLE sensors ( #97166 )
2023-07-24 21:13:16 +02:00
Matthias Alphart
8ff9f2ddbe
Add date platform to KNX ( #97154 )
2023-07-24 21:12:37 +02:00
Joost Lekkerkerker
2dc86364f3
Migrate TPLink to has entity name ( #96246 )
2023-07-24 20:49:40 +02:00
elmurato
557b6d511b
Improve reading of MOTD and bump mcstatus to 11.0.0 ( #95715 )
...
* Improve reading of MOTD, bump mcstatus to 10.0.3 and getmac to 0.9.4
* Revert bump of getmac
* Bump mcstatus to 11.0.0-rc3. Use new MOTD parser.
* Bump mcstatus to 11.0.0
2023-07-24 20:23:11 +02:00
tronikos
d0722e2312
Android TV Remote: Add option to disable IME ( #95765 )
2023-07-24 20:00:51 +02:00
ollo69
2cfc11d4b9
Limit AndroidTV screencap calls ( #96485 )
2023-07-24 19:58:11 +02:00
ollo69
345df715d6
Change AsusWRT entities unique id ( #97066 )
...
Migrate AsusWRT entities unique id
2023-07-24 19:53:58 +02:00
Joost Lekkerkerker
fe66c3414b
Implement data coordinator for LastFM ( #96942 )
...
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-24 19:39:46 +02:00
J. Nick Koston
35aae949d0
Add initial test coverage for ESPHome manager ( #97147 )
2023-07-24 18:48:09 +02:00
Yuxin Wang
36ad24ce01
Add name and default name to device info of APCUPSD sensors ( #94415 )
2023-07-24 18:42:08 +02:00
puddly
84220e92ea
Wrap internal ZHA exceptions in `HomeAssistantError`s ( #97033 )
2023-07-24 09:12:21 +02:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum ( #97101 )
2023-07-23 23:19:24 +02:00
Franck Nijhof
86708b5590
Update ruff to v0.0.280 ( #97102 )
2023-07-23 22:00:26 +02:00
Joost Lekkerkerker
bfbdebd0f7
Add entity translations to uPnP ( #96763 )
2023-07-23 20:21:57 +02:00
Jan Bouwhuis
3183ce7608
Add doorbell event support to alexa ( #97092 )
2023-07-23 20:16:46 +02:00
Joost Lekkerkerker
dd6cd0096a
Improve code coverage for LastFM ( #97012 )
...
* Improve code coverage for LastFM
* Revert introduced bug
2023-07-23 20:09:16 +02:00
Luke
5158461dec
Add Number platform to Roborock ( #94209 )
2023-07-23 19:02:16 +02:00
Miguel Camba
38111141f9
Add new device class: PH (potential hydrogen) ( #95928 )
2023-07-23 18:49:10 +02:00
Robert Svensson
1552319e94
Add Axis camera sources to diagnostics ( #97063 )
2023-07-23 17:56:58 +02:00
Jan Bouwhuis
1b8e03bb66
Add MQTT event entity platform ( #96876 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-23 14:42:14 +02:00
Joost Lekkerkerker
26152adb23
Add entity translations to Tado ( #96226 )
2023-07-23 14:32:25 +02:00
Ernst Klamer
672313c8ab
Add support for MiScale V1 ( #97081 )
2023-07-23 13:11:05 +02:00
Dave T
35f21dcf9c
Add repair hint to deprecate generic camera yaml config ( #96923 )
2023-07-23 11:10:18 +02:00
J. Nick Koston
d4cdb0453f
Guard expensive debug formatting with calls with isEnabledFor ( #97073 )
2023-07-23 10:54:25 +02:00
J. Nick Koston
095146b163
Fix has_entity_name not always being set in ESPHome ( #97055 )
2023-07-23 10:45:48 +02:00
Marc Mueller
fe0fe19be9
Use datetime.UTC alias [3.11] ( #97067 )
2023-07-22 17:05:11 -05:00
Marc Mueller
45ec314232
Replace typing.Optional with new typing syntax ( #97068 )
2023-07-22 17:03:53 -05:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] ( #97065 )
2023-07-22 17:03:44 -05:00
Jan Bouwhuis
9a5774a95d
Apply common entity schema for MQTT Scene ( #96949 )
2023-07-22 18:00:27 +02:00
Erik Montnemery
a8d77cc5ad
Teach zwave_js device trigger about entity registry ids ( #96303 )
2023-07-22 17:29:24 +02:00
Maciej Bieniek
5249660a6a
Add `uv_index` to AccuWeather weather entity ( #97015 )
2023-07-22 17:11:39 +02:00
Joost Lekkerkerker
44803e1177
Migrate Uptimerobot to has entity name ( #96770 )
2023-07-22 16:55:05 +02:00
Joost Lekkerkerker
11fd43b1fc
Add entity translations to Wiz ( #96826 )
2023-07-22 16:28:48 +02:00
Joost Lekkerkerker
9b717cb84f
Use snapshot testing in LastFM ( #97009 )
2023-07-22 12:47:26 +02:00
Joost Lekkerkerker
fb460d343e
Add upload date to Youtube state attributes ( #96976 )
2023-07-22 12:45:55 +02:00
Michael
facd6ef765
Display current version in common format in AVM Fritz!Tools ( #96424 )
2023-07-21 21:58:18 +02:00
G Johansson
4e30056830
Add new Forecasting to Weather ( #75219 )
...
* Add new Forecasting to Weather
* Add is_daytime for forecast_twice_daily
* Fix test
* Fix demo test
* Adjust tests
* Fix typing
* Add demo
* Mod demo more realistic
* Fix test
* Remove one weather
* Fix weather example
* kitchen_sink
* Reverse demo partially
* mod kitchen sink
* Fix twice_daily
* kitchen_sink
* Add test weathers
* Add twice daily to demo
* dt_util
* Fix names
* Expose forecast via WS instead of as state attributes
* Regularly update demo + kitchen_sink weather forecasts
* Run linters
* Fix rebase mistake
* Improve demo test coverage
* Improve weather test coverage
* Exclude kitchen_sink weather from test coverage
* Rename async_update_forecast to async_update_listeners
* Add async_has_listeners helper
* Revert "Add async_has_listeners helper"
This reverts commit 52af3664bb06d9feac2c5ff963ee0022077c23ba.
* Fix rebase mistake
---------
Co-authored-by: Erik <erik@montnemery.com>
2023-07-21 17:30:48 +02:00
Maciej Bieniek
2e156e56bf
Create an issue if Shelly TRV is not calibrated ( #96952 )
...
* Create issue if Shelly Valve is not calibrated
* Add test
* Improve test
* Improve issue description
* Restart -> reboot
2023-07-21 14:20:03 +02:00
G Johansson
58ce357870
Add uv_index to Weather Entity ( #96951 )
...
* Add uv_index to Weather Entity
* translation
* Update homeassistant/components/weather/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-21 14:07:10 +02:00
Jan Bouwhuis
447fbf58c9
Change naming of MQTT entities to correspond with HA guidelines ( #95159 )
...
* Set has_entity_name if device_name is set
* revert unneeded formatting change
* Add image platform
* Follow up comment
* Don't set `has_entity_name` without device name
* Only set has_entity_name if a valid name is set
* Follow device_class name and add tests
* Follow up comments add extra tests
* Move to helper - Log a warning
* fix test
* Allow to assign None as name explictly
* Refactor
* Log info messages when device name is not set
* Revert scene schema change - no device link
* Always set has_entity_name with device mapping
* Always set `_attr_has_entity_name`
* Cleanup
2023-07-21 12:52:10 +02:00
Franck Nijhof
747f4d4a73
Add event entity ( #96797 )
2023-07-21 12:16:35 +02:00
Joost Lekkerkerker
33c2fc008a
Add diagnostics to YouTube ( #96975 )
2023-07-21 11:58:49 +02:00