Commit graph

65009 commits

Author SHA1 Message Date
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
Joost Lekkerkerker 415e4b2243
Bump python-opensky to 0.2.0 (#97687) 2023-08-03 21:17:00 +02:00
karwosts 9e7872e78b
Fix NWS twice_daily forecast day/night detection (#97703) 2023-08-03 21:15:08 +02:00
Meow 6fd60024cc
Refactored deprecated UNITS (#97368) 2023-08-03 21:12:01 +02:00
Robert Svensson e7e68907fa
Fix UniFi image platform not loading when passphrase is missing from WLAN (#97684) 2023-08-03 21:11:15 +02:00
Marcel van der Veldt 6ed31840bc
Fix color mode attribute for both official and non official Hue lights (#97683) 2023-08-03 21:06:45 +02:00
Franck Nijhof 9b9b746138
Merge branch 'master' into dev 2023-08-03 20:59:51 +02:00
Michael c43e6d9bd1
Fix detection of client wan-access rule in AVM Fritz!Box Tools (#97708) 2023-08-03 20:36:09 +02:00
tronikos 5e2d3b13b0
Bump opower to 0.0.19 (#97706) 2023-08-03 20:07:44 +02:00
J. Nick Koston 620525b2b4
Bump zeroconf to 0.72.3 (#97668) 2023-08-03 18:57:34 +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
jan iversen d50b993f64
Bump pymodbus v3.4.1. (#97612)
* Bump pymodbus v3.4.1.

* Solve mypy problem.
2023-08-03 14:34:20 +03:00
J. Nick Koston 9980051c3a
Bump dbus-fast to 1.90.1 (#97619)
* Bump dbus-fast to 1.88.0

- cython 3 fixes
- performance improvements

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.87.5...v1.88.0

* one more

* Bump dbus-fast to 1.90.0

* bump again for yet another round of cython3 fixes
2023-08-03 14:33:05 +03:00
J. Nick Koston 6e5baeec70
Bump pyatv to 0.13.3 (#97670)
changelog: https://github.com/postlund/pyatv/compare/v0.13.2...v0.13.3

maybe fixes #80215
2023-08-03 14:31:49 +03:00
Marc Mueller 1fa66953b4
Use mirror to run black with pre-commit (#95605) 2023-08-03 13:21:07 +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
J. Nick Koston 53703448ec
Fix typo in tplink OUI (#97644)
The last two were reversed for https://ouilookup.com/search/788cb5
2023-08-03 12:20:35 +02:00
Luke 7b7b8689ef
Bump python-roborock to 0.31.1 (#97632)
bump to 0.31.1
2023-08-03 12:15:20 +02:00
Michael Arthur 05e2acb091
Add hour of free power select to Electric Kiwi (#97515)
* add select sensor to Electric Kiwi

* Update homeassistant/components/electric_kiwi/select.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* simplify the HOP select since there is only one

* remove handle coordinator state

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-03 12:06:42 +02:00
G Johansson 564e0110a4
Revert "OctoPrint add yaml config removal issue" (#97674)
Revert "OctoPrint add yaml config removal issue (#97431)"

This reverts commit 594d98822b.
2023-08-03 11:34:20 +02:00
Marc Mueller 1daac46635
Replace deprecated pkg_resources with importlib.metadata (#97628) 2023-08-03 09:14:00 +02:00
Joost Lekkerkerker 357bfc46bf
Revert "Add device naming to Yeelight" (#97647)
Revert "Add device naming to Yeelight (#97639)"

This reverts commit 82f27115f5.
2023-08-03 09:13:23 +02:00
Marc Mueller 4196c43416
Fix deluge DeprecationWarning (#97624) 2023-08-03 09:12:08 +02:00
Marc Mueller ad0873549d
Fix ssl DeprecationWarnings (#97623) 2023-08-03 09:11:41 +02:00
Marc Mueller 3c2cebea72
Fix abode DeprecationWarnings (#97620) 2023-08-03 09:10:31 +02:00
Michael Hansen 7cf2199e8b
Bump intents to 2023.8.2 (#97636) 2023-08-02 20:01:30 -04:00
Joost Lekkerkerker 82f27115f5
Add device naming to Yeelight (#97639) 2023-08-02 23:48:37 +02:00
Marc Mueller 9d9af0c884
Fix pylint DeprecationWarnings (#97627) 2023-08-02 20:30:41 +02:00
Marc Mueller 887e48c440
Replace deprecated aiohttp_unused_port fixture (#97626) 2023-08-02 20:30:13 +02:00
Marc Mueller 91a83e1ad2
Fix httpx DeprecationWarning (#97625) 2023-08-02 20:29:36 +02:00
Marc Mueller 0afa964724
Fix async_timeout DeprecationWarnings (#97622) 2023-08-02 20:29:03 +02:00
Marc Mueller 1a77121c02
Fix aiohttp code DeprecationWarnings (#97621) 2023-08-02 20:28:18 +02:00
Franck Nijhof 111510b11a
2023.8.0 (#97609) 2023-08-02 15:01:08 +02:00
Bram Kragten 445aaa0267
Update frontend to 20230802.0 (#97614) 2023-08-02 14:47:38 +02:00
Bram Kragten 02f8000f6c
Update frontend to 20230802.0 (#97614) 2023-08-02 14:43:42 +02:00
Bruno Enten 3ce05314e0
use write_registers also for target temp (#97475) 2023-08-02 13:36:05 +02:00
Franck Nijhof 598dece947
Bumped version to 2023.8.0 2023-08-02 13:05:31 +02:00
Robert Resch f81acc567b
Add rounding back when unique_id is not set (#97603) 2023-08-02 13:04:36 +02:00
Robert Resch e4303e4534
Add rounding back when unique_id is not set (#97603) 2023-08-02 11:26:25 +02:00
Robert Resch 641b5ee7e4
Fix duotecno's name to be sync with the docs (#97602) 2023-08-02 09:48:35 +02:00
Robert Resch f9ac102c27
Fix duotecno's name to be sync with the docs (#97602) 2023-08-02 09:09:13 +02:00
Jack Boswell f0e640346f
Fix Starlink Roaming name being blank (#97597) 2023-08-02 08:44:14 +02:00
J. Nick Koston 14850a23f3
Bump zeroconf to 0.72.0 (#97594) 2023-08-02 08:44:07 +02:00
Michael db4c9c67a2
Do not set hass data before first coordinator refresh (#97343) 2023-08-02 08:29:00 +02:00
Jack Boswell 49b9dd2a4f
Add Starlink to .strict-typing (#97598) 2023-08-02 08:26:50 +02:00
Maikel Punie ac9ec6e402
Bump pyDuotecno to 2023.8.1 (#97583) 2023-08-02 08:23:37 +02:00
J. Nick Koston 93d7165fe9
Bump zeroconf to 0.72.0 (#97594) 2023-08-02 08:19:22 +02:00
Jack Boswell 7a92bda514
Fix Starlink Roaming name being blank (#97597) 2023-08-02 08:12:49 +02:00
Franck Nijhof d115a372ae
Bumped version to 2023.8.0b4 2023-08-01 23:17:04 +02:00