Commit Graph
17031 Commits
Author SHA1 Message Date
Marc MuellerandGitHub cd8d6ecd81 Fix recorder DeprecationWarnings (#97738) 2023-08-04 11:32:51 +02:00
Marc MuellerandGitHub b23b2ac2e8 Fix http test DeprecationWarnings (#97737) 2023-08-04 11:32:23 +02:00
Marc MuellerandGitHub f39a35c4ef Fix jinja2 DeprecationWarnings (#97728) 2023-08-04 11:25:08 +02:00
Marc MuellerandGitHub c33e3ce212 Fix core test RuntimeWarnings (#97730) 2023-08-04 11:21:57 +02:00
Marc MuellerandGitHub e905ac173f Fix command_line tests RuntimeWarnings (#97731) 2023-08-04 09:34:55 +02:00
Marc MuellerandGitHub 99145d46d2 Fix keymitt_ble RuntimeWarning (#97729) 2023-08-04 09:34:04 +02:00
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 MuellerandGitHub 37885400c9 Fix mqtt test DeprecationWarnings (#97734) 2023-08-04 09:21:36 +02:00
Nathan SpencerandGitHub 615d7f0da7 Add ability to remove Litter-Robot if no longer provided by integration (#97702) 2023-08-03 20:30:03 -10:00
J. Nick KostonandGitHub 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 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
Marc MuellerandGitHub 1daac46635 Replace deprecated pkg_resources with importlib.metadata (#97628) 2023-08-03 09:14:00 +02:00
Michael HansenandGitHub 7cf2199e8b Bump intents to 2023.8.2 (#97636) 2023-08-02 20:01:30 -04:00
Marc MuellerandGitHub 9d9af0c884 Fix pylint DeprecationWarnings (#97627) 2023-08-02 20:30:41 +02: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
Franck NijhofandGitHub af5fc7e759 Ensure load the device registry if it contains invalid configuration URLs (#97589) 2023-08-01 23:15:31 +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
Pedro LamasandGitHub 3f5c0a1285 Fixes London Air parsing error (#97557) 2023-08-01 11:04:30 +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
J. Nick KostonandGitHub 094f2cbad7 Fix saving subclassed datetime objects in storage (#97502) 2023-07-31 18:49:02 +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
J. Nick KostonandGitHub 13349e76ed Avoid firing update coordinator callbacks when nothing has changed (#97268) 2023-07-28 12:19:20 -05:00
7e3fdd85fc Add wildcards to sentence triggers (#97236)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-07-27 20:30:42 +02:00
Franck NijhofandGitHub 737ac8c600 Fix DeviceInfo configuration_url validation (#97319) 2023-07-27 18:57:01 +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