Commit Graph
16856 Commits
Author SHA1 Message Date
Mike KeeseyandGitHub 44aa531a51 Alexa temperature adjustment handle multiple setpoint (#95821)
* Alexa temperature adjustment handle multiple setpoint

In "auto" mode with many thermostats, the thermostats expose both an
upper and lower setpoint representing a range of temperatures. When a
temperature delta is sent from Alexa (e.g. "lower by 2 degrees), we need
to handle the case where the temperature property is not set, but
instead the upper and lower setpoint properties are set. In this case,
we adjust those properties via service call instead of the singular
value.

* Updating tests to fix coverage
2023-07-18 01:12:15 +02:00
Erik MontnemeryandGitHub c79fa87a7f Fix check for HA Yellow radio in otbr config flow (#96789) 2023-07-17 22:21:52 +02:00
Erik MontnemeryandGitHub 49a27bb9a7 Fix otbr test (#96788) 2023-07-17 22:12:59 +02:00
Erik MontnemeryandGitHub 863b36c0c3 Include addon name in otbr config entry title (#96786) 2023-07-17 21:26:15 +02:00
Erik MontnemeryandGitHub 8559af8232 Remove extra otbr config entries (#96785) 2023-07-17 21:23:20 +02:00
Erik MontnemeryandGitHub 1e3fdcc4d1 Prevent otbr creating multiple config entries (#96783) 2023-07-17 21:22:50 +02:00
Joakim PlateandGitHub d02bf837a6 Add some basic tests for gardena (#96777) 2023-07-17 21:13:13 +02:00
Maciej BieniekandGitHub 31dfa5561a Add external power sensor for Shelly Plus HT (#96768)
* Add external power sensor for Plus HT

* Tests
2023-07-17 22:07:24 +03:00
Joost LekkerkerkerandGitHub e99b6b2a03 Migrate VeSync to has entity name (#96772)
* Migrate VeSync to has entity name

* Fix tests
2023-07-17 17:52:53 +02:00
Joost LekkerkerkerandGitHub 7ccb06ed22 Add entity translations to Twentemilieu (#96762) 2023-07-17 17:26:13 +02:00
BjörnandGitHub e29b6408f6 Periodically re-scan for Fronius inverters that were offline while setup (#96538) 2023-07-17 10:16:28 +02:00
Jan BouwhuisandGitHub 65ebb6a74f Improve imap error handling for config entry (#96724)
* Improve error handling config entry

* Removed CancelledError

* Add cleanup

* Do not call protected async_set_state()
2023-07-17 09:44:47 +02:00
J. Nick KostonandGitHub 3a06659120 Speed up single entity/response service calls (#96729)
* Significantly speed up single entity/response service calls

Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather

* Significantly speed up single entity/response service calls

Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather

* revert

* cannot be inside pytest.raises

* one more

* Update homeassistant/helpers/service.py
2023-07-17 09:33:13 +02:00
MaximilianandGitHub c76fac0633 Bump pynina to 0.3.1 (#96693) 2023-07-17 09:27:01 +02:00
33d2dd3797 Airvisual Pro Outside Station Support (#96618)
* Airvisual Pro Outside Station Support

* pr feedback

* formatting, language

* Update homeassistant/components/airvisual_pro/strings.json

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

* fix assertion on airvisual test

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-17 00:44:03 +02:00
28540b0cb2 Migrate google assistant to has entity name (#96593)
* Migrate google assistant to has entity name

* Fix tests

* Add device name

* Update homeassistant/components/google_assistant/button.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-07-16 17:39:27 +02:00
7ec506907c Ensure async_get_system_info does not fail if supervisor is unavailable (#96492)
* Ensure async_get_system_info does not fail if supervisor is unavailable

fixes #96470

* fix i/o in the event loop

* fix tests

* handle some more failure cases

* more I/O here

* coverage

* coverage

* Update homeassistant/helpers/system_info.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* remove supervisor detection fallback

* Update tests/helpers/test_system_info.py

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-07-16 11:10:07 -04:00
J. Nick KostonandGitHub 4d3e24465c Bump bthome-ble to 3.0.0 (#96616) 2023-07-15 21:47:09 -10:00
DennisandGitHub edcae75812 Add UV Index and UV Health Concern sensors to tomorrow.io (#96534) 2023-07-15 14:58:40 -04:00
J. Nick KostonandGitHub 62c5194bc8 Avoid compressing binary images on ingress (#96581) 2023-07-15 00:09:25 -10:00
J. Nick KostonandGitHub 1c814b0ee3 Defer SSDP UPNP server start until the started event (#96555) 2023-07-14 14:28:29 -10:00
ollo69andGitHub c95e2c074c Add missing type hints for AndroidTV (#96554)
* Add missing type hints for AndroidTV

* Suggested change
2023-07-15 02:18:34 +02:00
Joost LekkerkerkerandGitHub 81ce6e4797 Add entity translations to Sonos (#96167)
* Add entity translations to Sonos

* Add entity translations to Sonos

* Add entity translations to Sonos

* Add entity translations to Sonos
2023-07-15 00:36:26 +02:00
J. Nick KostonandGitHub b77de2abaf Handle empty strings for ESPHome UOMs (#96556) 2023-07-14 12:14:32 -10:00
Jan BouwhuisandGitHub 72458b6672 Add feature to turn off using IMAP-Push on an IMAP server (#96436)
* Add feature to enforce polling an IMAP server

* Add test

* Remove not needed string tweak

* Rename enforce_polling to enable_push

* Push enabled by default
2023-07-14 21:26:35 +02:00
Joost LekkerkerkerandGitHub 1b7632a673 Support MyStrom switch 120 (#96535) 2023-07-14 09:04:48 -04:00
Michael HansenandGitHub afdded58ee Wyoming Piper 1.1 (#96490)
* Add voice/speaker options to Piper TTS

* Use description if available

* Fix tests

* Clean up if
2023-07-14 08:56:27 -04:00
Erik MontnemeryandGitHub 614f3c6a15 Move device info validation to device registry (#96465)
* Move device info validation to device registry

* Don't move DeviceInfo

* Fix type annotation

* Don't block adding device for unknown config entry

* Fix test

* Remove use of locals()

* Improve error message
2023-07-14 08:55:17 -04:00
Erik MontnemeryandGitHub 7539cf25be Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Erik MontnemeryandGitHub 8440f14a08 Correct dlna_dmr device info (#96480) 2023-07-13 12:15:46 -04:00
Erik MontnemeryandGitHub fbbdebee47 Correct unifi device info (#96483) 2023-07-13 12:14:31 -04:00
J. Nick KostonandGitHub ffe81a9716 Improve ESPHome update platform error reporting (#96455) 2023-07-12 16:46:29 -10:00
J. Nick KostonandGitHub 08af42b00e Fix mixed case service schema registration (#96448) 2023-07-12 14:39:51 -10:00
J. Nick KostonandGitHub 7009683226 Ensure ESPHome dashboard connection recovers if its down when core starts (#96449) 2023-07-12 14:37:28 -10:00
MichaelandGitHub 400c513209 Always add guest wifi qr code entity in AVM Fritz!Tools (#96435) 2023-07-12 20:54:48 +02:00
Paul BotteinandGitHub e513b7d0eb Add condition selector for blueprint (#96350)
* Add condition selector for blueprint

* Add tests and validation

* Update comment
2023-07-12 10:58:35 -04:00
594d240a96 Migrate & fix logger services to support translations (#96393)
* Migrate logger services to support translations

* Fix tests and schema validation

* Apply suggestions from code review

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 10:37:18 -04:00
Joakim PlateandGitHub f7ce9b1688 Add support for gardena bluetooth (#95179)
Add support for gardena bluetooth based water computers.
2023-07-12 16:08:15 +02:00
ollo69andGitHub ce3c23cb3a Add Nut commands to diagnostics data (#96285)
* Add Nut commands to diagnostics data

* Add test for diagnostics
2023-07-12 10:56:08 +02:00
J. Nick KostonandGitHub 5d5c58338f Fix ESPHome deep sleep devices staying unavailable after unexpected disconnect (#96353) 2023-07-11 11:12:24 -10:00
Joost LekkerkerkerandGitHub fe44827e3c Add entity translations to Rainforest eagle (#96031)
* Add entity translations to Rainforest eagle

* Add entity translations to Rainforest Eagle
2023-07-11 14:24:33 -04:00
Jan BouwhuisandGitHub efcaad1179 Fix handling MQTT light brightness from zero rgb (#96286)
* Fix handling MQTT light brightness from zero rgb

* Fix log message
2023-07-11 14:22:12 -04:00
Joost LekkerkerkerandGitHub fe6402ef73 Use device class naming for sfr box (#96092) 2023-07-11 20:19:04 +02:00
Erik MontnemeryandGitHub 2257e7454a Remove unreferenced issues (#96264)
* Remove unreferenced issues

* Remove outdated tests
2023-07-11 14:15:16 -04:00
J. Nick KostonandGitHub b106ca7983 Fix race fetching ESPHome dashboard when there are no devices set up (#96196)
* Fix fetching ESPHome dashboard when there are no devices setup

fixes #96194

* coverage

* fix
2023-07-11 14:11:51 -04:00
puddlyandGitHub b6e83be6f9 Fix ZHA serialization issue with warning devices (#96275)
* Bump ZHA dependencies

* Update unit tests to reduce mocks
2023-07-11 14:09:52 -04:00
Jan BouwhuisandGitHub 50442c5688 Speedup tests command_line integration (#96349) 2023-07-11 18:31:32 +02:00
G JohanssonandGitHub 49b6c8ed6e Fix diagnostics Sensibo (#96336) 2023-07-11 18:24:40 +02:00
Erik MontnemeryandGitHub c61c5a0443 Schedule VacuumEntity for removal in Home Assistant Core 2024.2 (#96236) 2023-07-11 18:20:00 +02:00
MichaelandGitHub 5a87186916 Improve integration startup in AVM Fritz!Tools (#96269) 2023-07-11 18:01:05 +02:00