15853 Commits

Author SHA1 Message Date
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