Commit Graph
15496 Commits
Author SHA1 Message Date
Marc MuellerandGitHub d1ad1c47e6 Fix zha test RuntimeWarnings (#97733) 2023-08-04 01:07:11 +02:00
Marc MuellerandGitHub 52fc3c26d1 Fix yalex_ble test RuntimeWarning (#97732) 2023-08-03 12:55:18 -10:00
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
TheJulianJESandGitHub 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
MeowandGitHub 6fd60024cc Refactored deprecated UNITS (#97368) 2023-08-03 21:12:01 +02:00
Nick IaculloandGitHub 6f8d666b57 Enable the PRESET_MODE FanEntityFeature for VeSync air purifiers (#97657) 2023-08-03 18:30:56 +02:00
G JohanssonandGitHub 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 KostonandGitHub 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 HansenandGitHub 7cf2199e8b Bump intents to 2023.8.2 (#97636) 2023-08-02 20:01:30 -04:00
Marc MuellerandGitHub 887e48c440 Replace deprecated aiohttp_unused_port fixture (#97626) 2023-08-02 20:30:13 +02:00
Marc MuellerandGitHub 1a77121c02 Fix aiohttp code DeprecationWarnings (#97621) 2023-08-02 20:28:18 +02:00
Bruno EntenandGitHub 3ce05314e0 use write_registers also for target temp (#97475) 2023-08-02 13:36:05 +02:00
Robert ReschandGitHub e4303e4534 Add rounding back when unique_id is not set (#97603) 2023-08-02 11:26:25 +02:00
J. Nick KostonandGitHub 708b00d7ab Use legacy rules for ESPHome entity_id construction if friendly_name is unset (#97578) 2023-08-01 21:08:12 +02:00
Michael HansenandGitHub 8ad37d7640 Send language to Wyoming STT (#97344) 2023-08-01 10:05:01 +02:00
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 BouwhuisandGitHub a8a3b6778e Fix unit tests for wake_on_lan (#97542) 2023-07-31 21:16:58 +02:00
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 KostonandGitHub e7069d48be Load homekit_controller test data using its json loader (#97534) 2023-07-31 07:04:41 -07:00
epenetandGitHub 83db3c48c2 Fix unused variable in Renault tests (#97529) 2023-07-31 12:35:30 +02:00
epenetandGitHub 927905ac84 Handle http error in Renault initialisation (#97530) 2023-07-31 12:17:51 +02:00
J. Nick KostonandGitHub 28bebf338f Fix xiaomi_ble not remembering a device is a sleepy device (#97518) 2023-07-31 01:02:36 -07:00
J. Nick KostonandGitHub 7bda873c2a Fix bthome not remembering a device is a sleepy device (#97517) 2023-07-31 01:02:15 -07:00
starkillerOGandGitHub b266514068 Delay creation of Reolink repair issues (#97476)
* delay creation of repair issues

* fix tests
2023-07-31 09:07:13 +02:00
MeowandGitHub a4b2ded503 Refactor deprecated RESULT_TYPE_* (#97367) 2023-07-30 19:27:30 +02:00
Chris TalkingtonandGitHub 9d2f52dbc5 Allow deleting config entry devices in jellyfin (#97377) 2023-07-30 18:42:28 +02:00
Maciej BieniekandGitHub 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
MichaelandGitHub 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 KnowlesandGitHub 0e8bbbd3d9 Add a battery sensor to Schlage (#97369) 2023-07-28 21:09:25 -07:00
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 VeldtandGitHub 7ada88eab3 Hue event entity follow up (#97336) 2023-07-27 16:58:09 +02:00
Jan BouwhuisandGitHub 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
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. KraussandGitHub 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
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 LekkerkerkerandGitHub d233438e1a Handle UpdateFailed for YouTube (#97233) 2023-07-26 15:09:15 +02:00
Marcel van der VeldtandGitHub fd44bef39b Add Event platform to Matter (#97219) 2023-07-26 12:19:23 +02:00
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
MichaelandGitHub 5caa1969c5 Add Pegel Online integration (#97028) 2023-07-26 09:12:39 +02:00
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 YuenandGitHub d0512d5b26 Stop rounding history_stats sensor (#97195) 2023-07-26 08:09:50 +02:00
Robert SvenssonandGitHub 89069bb9b8 Add WLAN clients reporting to UniFi Sensor platform (#97234) 2023-07-26 08:00:17 +02:00
Michael HansenandGitHub 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
mkmerandGitHub c6f21b47a8 Whrilpool add periodic update (#97222) 2023-07-25 22:23:31 +02:00
585d357129 Add config flow to OpenSky (#96912)
Co-authored-by: Sander <developer@golles.nl>
2023-07-25 20:46:04 +02:00
J. Nick KostonandGitHub 6ae79524bd Add support for bleak 0.21 (#97212) 2023-07-25 19:30:54 +02:00
Robert SvenssonandGitHub 8d6c4e3306 Add controls to enable and disable a UniFi WLAN (#97204) 2023-07-25 14:01:57 +02:00
Jan-Philipp BeneckeandGitHub a0b61a1188 Bump pydiscovergy to 2.0.1 (#97186) 2023-07-25 13:58:38 +02:00
Jan BouwhuisandGitHub fb00cd8963 Add turn on/off support for mqtt water_heater (#97197) 2023-07-25 13:33:02 +02:00
LukeandGitHub 6c43ce69d3 Add time platform to Roborock (#94039) 2023-07-25 13:29:48 +02:00