Commit Graph
65108 Commits
Author SHA1 Message Date
Maikel PunieandJoost Lekkerkerker 6570517330 Add lightplatform to Duotecno (#97582)
* add light platform

* Add light to coveragerc

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* comments

* revert

* re-implement comments

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-05 18:29:46 +02:00
G JohanssonandJoost Lekkerkerker 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-TwoandG Johansson 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
Maciej Bieniek d611b169ac Don't assume that battery_level value is always present in Tractive hw_info (#97766)
Don't assume that battery_level value is always present in hw_info
2023-08-05 13:05:15 +02:00
J. Nick Koston c2023936c1 Bump aiohomekit to 2.6.13 (#97820) 2023-08-04 22:01:08 -10:00
jan iversen f0abea48a6 Fix Flexit mypy error in pymodbus (#97799) 2023-08-04 21:38:32 +02:00
Jan Bouwhuis 50da5c3fae Fix typo in telegram_bot translations (#97793) 2023-08-04 21:35:35 +02:00
Jason Cook 32c1ffcde1 Update strings.json to correct grammer. (#97790)
Change of to off.
2023-08-04 21:23:33 +02:00
jan iversen bbc34bae87 modbus: use pb not pymodbus consistently as name. (#97780)
Use pb not pymodbus consistently as name.
2023-08-04 20:14:32 +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
Ian Harcombe b5e23ee650 Fix metoffice visibility range sensor device class (#97763)
* Fix for issue #97694

Issue #97694 points out that the visibility range is a string with a band of distances, not a single value, which is causing issues for front end components. Removed the device class to leave as an informational string value.

* Removed *all* empty device_class statements

* Missed an empty device_class :(
2023-08-04 17:04:18 +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
amitfin d78e39d568 Fix allow_name_translation logic (#97701) 2023-08-04 12:51:04 +02:00
Joost Lekkerkerker 80d0f32237 Add has entity name to Solarlog (#97764) 2023-08-04 12:46:53 +02:00
Joost Lekkerkerker ecce601d3f Fix WAQI being zero (#97767) 2023-08-04 12:46:23 +02:00
Robert Svensson 2820514c33 Break long strings in Axis integration (#97254) 2023-08-04 12:43:06 +02:00
Joost Lekkerkerker 0971449b94 Remove unused translation key from OpenSky (#97699) 2023-08-04 12:42:31 +02:00
Marc Mueller 3f5a21dce4 Fix mailbox PytestCollectionWarning (#97740) 2023-08-04 12:31:32 +02:00
Marc Mueller 447479d0a0 Add packaging as default requirement (#97712) 2023-08-04 12:29:18 +02:00
Matthieu Barthelemy 6adb06956b Add overkiz battery sensor level medium (#97472) 2023-08-04 11:50:03 +02:00
J. Nick Koston 8719aa76ca Avoid calling the http access logging when logging is disabled in emulated_hue (#97750) 2023-08-04 11:46:19 +02:00
Maikel Punie 95ca609124 Bump pyduotecno to 2023.8.3 (#97759) 2023-08-04 11:33:03 +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
Nerdix f68f9d4e01 Fix Kostal_Plenticore SELECT entities using device_info correctly (#97690) 2023-08-04 11:31:54 +02:00
Marc Mueller f39a35c4ef Fix jinja2 DeprecationWarnings (#97728) 2023-08-04 11:25:08 +02:00
Marc Mueller c33e3ce212 Fix core test RuntimeWarnings (#97730) 2023-08-04 11:21:57 +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
tronikos b16254a0de Bump opower to 0.0.20 (#97752) 2023-08-04 09:32:59 +02:00
LukeandJoost Lekkerkerker 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
Cyr-ius 3ac2106eb8 Fix freebox enumerate raid disks (#97696) 2023-08-04 09:25:51 +02:00
Marc Mueller 37885400c9 Fix mqtt test DeprecationWarnings (#97734) 2023-08-04 09:21:36 +02:00
Joost Lekkerkerker 1587ac2137 Waqi State unknown if value is string (#97617) 2023-08-04 08:45: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
J. Nick Koston d1f8309423 Bump zeroconf to 0.74.0 (#97745)
* Bump zeroconf to 0.74.0

changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.72.3...0.74.0

- more cython build fixes
- performance improvements (mostly for pyatv)

* handle typing

* handle typing

* remove if TYPE_CHECKING, this doesnt get called that often

* remove if TYPE_CHECKING, this doesnt get called that often
2023-08-03 22:48:53 -04:00
Marc Mueller ddb384c2ed Fix airvisual RuntimeWarning (#97739) 2023-08-04 01:23:12 +02:00
Marc Mueller d1ad1c47e6 Fix zha test RuntimeWarnings (#97733) 2023-08-04 01:07:11 +02:00
J. Nick KostonandMarc Mueller 282ae80cc2 Fix hassfest check for schema (#97713)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-08-03 12:55:33 -10:00
Marc Mueller 52fc3c26d1 Fix yalex_ble test RuntimeWarning (#97732) 2023-08-03 12:55:18 -10:00
TheJulianJES f7aec46b69 Bump zigpy to 0.56.4 (#97722) 2023-08-03 18:11:36 -04:00
Matthias Alphart fd26739bbf Fix unloading KNX integration without sensors (#97720) 2023-08-03 23:23:12 +02:00
Michael Arthur bfa394d399 address code comments / tidy ups (#97716) 2023-08-03 23:09:14 +02:00
Paul BotteinandFranck Nijhof 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
d33955c467 Bump Cryptography to 41.0.3 for a second security fix (#97611)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-03 21:36:12 +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