Commit Graph

41783 Commits (67779089cd066fcdba510aa9743c3d5817d5d3fe)

Author SHA1 Message Date
Erik Montnemery c37d294d12
Use reload helper to reload rest component (#78491) 2022-09-15 11:02:37 +02:00
epenet 2cc45cd302
Use new media player enums in bluesound (#78096) 2022-09-15 11:00:55 +02:00
epenet 0a13fe99d2
Move mypy override for device_registry (#78493) 2022-09-15 11:00:25 +02:00
Federico Marani 08449dc1bc
Bump aioftp to 0.21.3 (#78257) 2022-09-15 10:52:33 +02:00
Vincent Knoop Pathuis 035f206e95
Bump ultraheat-api to 0.4.3 (#78295) 2022-09-15 10:51:19 +02:00
J. Nick Koston 11789dd079
Bump bleak-retry-connector to 0.17.1 (#78474) 2022-09-15 10:40:52 +02:00
Franck Nijhof 4e7a99dc77
Update sentry-sdk to 1.9.8 (#78496) 2022-09-15 09:57:35 +02:00
ollo69 aa46ba4ad5
Add device class TV to AndroidTV (#78487) 2022-09-15 08:56:30 +02:00
Avi Miller c0cf9d8729
Add infrared brightness select entity for LIFX Night Vision bulbs (#77943)
* Add infrared brightness select entity for LIFX Night Vision bulbs

Signed-off-by: Avi Miller <me@dje.li>

* Code refactored from review comments

Signed-off-by: Avi Miller <me@dje.li>

* Update and refactor from code review feedback

Signed-off-by: Avi Miller <me@dje.li>

Signed-off-by: Avi Miller <me@dje.li>
2022-09-15 08:53:58 +02:00
starkillerOG ade4fcaebd
Use asyncio in XiaomiAqara instead of threading (#74979)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-15 08:36:56 +02:00
Erik Montnemery 84a812ad05
Allow setting number selector step size to 'any' (#78265)
* Allow setting number selector step size to 'any'

* Improve test coverage
2022-09-15 08:29:46 +02:00
Erik Montnemery 30702bdcd2
Deduplicate some code in scripts and automations (#78443) 2022-09-15 07:41:11 +02:00
Erik Montnemery 0a1fd36e03
Catch up with statistics after DB migration is done (#78469)
* Catch up with statistics after DB migration is done

* Don't access the database from the event loop

* Fix deadlocking test

* Fix test
2022-09-15 07:40:56 +02:00
GitHub Action bcf01e8873 [ci skip] Translation update 2022-09-15 00:29:28 +00:00
Shay Levy 1b3088e41a
Bump aioswitcher to 3.0.0 (#78471) 2022-09-15 00:29:59 +03:00
Teemu R 43053d05b4
Bump python-songpal to 0.15.1 (#78481) 2022-09-14 21:54:01 +02:00
Franck Nijhof 6678f660a8
Remove U.S. Citizenship and Immigration Services (USCIS) integration (#78432)
* Remove U.S. Citizenship and Immigration Services (USCIS) integration

* Update .coveragerc

Fix due to sorting in https://github.com/home-assistant/core/pull/78447

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-09-14 21:51:24 +03:00
Erik Montnemery 8a55f85703
Improve MQTT debug log of retained messages (#78453)
Improve MQTT debug log for retained messages
2022-09-14 20:45:46 +02:00
Robert Hillis a46982befb
Add Google Sheets integration (#77853)
Co-authored-by: Allen Porter <allen@thebends.org>
2022-09-14 14:31:54 -04:00
epenet 996bcbdac6
Make EntityComponent generic (#78473) 2022-09-14 14:16:23 -04:00
epenet fd05d949cc
Fix device_class in demo (#78463)
Use _attr_device_class in demo
2022-09-14 20:09:31 +03:00
Stefan Agner 650aae49fe
Support AMD SoC CPU temperature (#78472)
This adds support for CPU temperature readings on AMD SoC based systems
like the AMD G-Series GX-222G found in FUJITSU FUTRO S920.
2022-09-14 20:06:29 +03:00
Erik Montnemery 2ba0f42acc
Prevent deleting blueprints which are in use (#78444) 2022-09-14 16:47:08 +02:00
uvjustin 855b0dfdba
Pass tasks instead of coros to asyncio.wait in forked_daapd (#78462)
* Remove coroutines from asyncio.wait in forked_daapd

* Update homeassistant/components/forked_daapd/media_player.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-14 15:49:00 +02:00
epenet 219cee2ca9
Move Trace classes to separate module (#78433) 2022-09-14 09:23:29 -04:00
Marc Mueller 99ebac13ed
Bump openevsewifi to 1.1.2 (#78460)
Update openevsewifi to 1.1.2
2022-09-14 15:19:43 +02:00
uvjustin ae865a07b2
Cleanup async_announce in forked_daapd (#78457) 2022-09-14 20:40:20 +08:00
Poltorak Serguei 003d160a96
Rework Z-Wave.Me switch multilevel devices to also use light entity (#77969)
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
2022-09-14 14:19:17 +02:00
epenet 1fcab33653
Improve type hints in light (#78349) 2022-09-14 13:36:20 +02:00
epenet 374b72f052
Make LimitedSizeDict a generic (#78440)
* Make LimitedSizeDict a generic

* Remove comments

* Use super()

* Apply suggestion

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-14 13:30:17 +02:00
uvjustin ad25a966a8
Sort constants in forked_daapd (#78455) 2022-09-14 19:24:51 +08:00
epenet efb482fb1d
Add demo to strict-typing (#77596)
* Add demo to strict-typing

* Adjust component

* Adjust PR

* Update homeassistant/components/demo/mailbox.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-14 13:05:00 +02:00
epenet 5e338d2166
Improve type hints in automation (#78368)
* Improve type hints in automation

* Apply suggestion

* Apply suggestion

* Apply suggestion

* Add Protocol for IfAction

* Use ConfigType for IfAction

* Rename variable
2022-09-14 13:04:09 +02:00
J. Nick Koston b7e9fcb9fe
Replace asyncio.wait_for with async_timeout in baf (#78445) 2022-09-14 12:29:43 +02:00
epenet 2625189529
Use async_timeout in forked_daapd (#78451) 2022-09-14 12:24:54 +02:00
Ernst Klamer fad0b00fbc
Binary sensor description for BTHome (#78408) 2022-09-14 12:09:03 +02:00
epenet 13c7a7bbcc
Refactor forked_daapd to use _async_announce (#78446) 2022-09-14 11:58:32 +02:00
epenet 5cccb24830
Improve type hints in group (#78350) 2022-09-14 11:36:28 +02:00
epenet 03a24e3a05
Improve type hints in proximity (#78348) 2022-09-14 11:22:58 +02:00
epenet abc87b5dfa
Improve type hints in scene (#78347) 2022-09-14 11:18:23 +02:00
epenet dce2569389
Improve type hints in weather (#78346)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-14 11:15:47 +02:00
epenet b87cd926e7
Fix image-processing type hint (#78426) 2022-09-14 11:13:48 +02:00
Franck Nijhof 393f1487a5
Remove Ambee integration (#78427) 2022-09-14 10:25:01 +02:00
Bram Kragten 9382f4be23
Update frontend to 20220907.2 (#78431) 2022-09-14 09:54:51 +02:00
Simone Chemelli 9d535b9ae9
Bump fritzconnection to 1.10.3 (#77847)
* Bump fritzconnection to 1.10.2

* bump to 1.10.3
2022-09-14 08:13:42 +02:00
Diogo Gomes 831c87205f
Retry on unavailable IPMA api (#78332)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-13 21:00:59 -04:00
GitHub Action 23faf8024e [ci skip] Translation update 2022-09-14 00:28:24 +00:00
Aaron Bach 5501b7e710
Fix bug with RainMachine update entity (#78411)
* Fix bug with RainMachine update entity

* Comment
2022-09-13 18:16:21 -04:00
epenet 416a5cb279
Import constants from component root (#78395) 2022-09-14 00:12:54 +02:00
epenet d3be06906b
Improve type hints in script helpers (#78364)
* Improve type hints in script helpers

* Import CONF_SERVICE_DATA from homeassistant.const

* Make data optional
2022-09-13 23:11:29 +02:00
epenet 4f963cfc64
Improve type hints in integration (#78345) 2022-09-13 22:45:25 +02:00
epenet 6c0ad54a84
Use media player enums in dlna_dms (#78393)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-09-13 23:27:04 +03:00
J. Nick Koston 13e8bae432
Bump govee-ble to 0.17.3 (#78405) 2022-09-13 16:17:09 -04:00
Bram Kragten 4c164cc48d
Update frontend to 20220907.1 (#78404) 2022-09-13 16:15:45 -04:00
J. Nick Koston 8189af0e7e
Bump led-ble to 0.10.0 (#78367) 2022-09-13 16:15:30 -04:00
J. Nick Koston e2c563c79d
Bump yalexs-ble to 1.9.0 (#78362) 2022-09-13 16:14:53 -04:00
J. Nick Koston 32c6f8aaef
Bump PySwitchbot to 0.19.8 (#78361)
* Bump PySwitchbot to 0.19.7

Changes for bleak 0.17

https://github.com/Danielhiversen/pySwitchbot/compare/0.19.6...0.19.7

* bump again to fix some more stale state bugs
2022-09-13 23:11:44 +03:00
epenet 02c9541862
Improve type hints in mailbox (#78353) 2022-09-13 21:55:50 +02:00
epenet 49ab5cfc9c
Improve type hints in geo-location (#78352) 2022-09-13 21:55:13 +02:00
Pascal Vizeli 0ab19fe6f6
Bump aioecowitt 2022.09.2 (#78287)
* Bump aioecowitt 2022.09.2

* add percentage type
2022-09-13 22:11:57 +03:00
J. Nick Koston 9c2601036d
Bump xiaomi-ble to 0.10.0 (#78365) 2022-09-13 21:06:17 +02:00
epenet dc3c4a2b54
Expose SOURCE_CLOUD in google-assistant root (#78394) 2022-09-13 15:05:55 -04:00
J. Nick Koston be52b66f6c
Bump aiohomekit to 1.5.7 (#78369) 2022-09-13 15:00:45 -04:00
Erik Montnemery 4898a41dcf
Don't allow partial update of timer settings (#78378) 2022-09-13 14:58:12 -04:00
Erik Montnemery 925a4b0286
Don't allow partial update of input_text settings (#78377) 2022-09-13 14:57:14 -04:00
Erik Montnemery 19e853dbb0
Don't allow partial update of input_select settings (#78376) 2022-09-13 14:56:59 -04:00
Erik Montnemery abf8b59831
Don't allow partial update of input_button settings (#78374) 2022-09-13 14:56:46 -04:00
Erik Montnemery 33fa4ec8b2
Don't allow partial update of input_datetime settings (#78373) 2022-09-13 14:56:40 -04:00
Erik Montnemery e2a0dd9955
Don't allow partial update of input_boolean settings (#78372) 2022-09-13 14:55:24 -04:00
Erik Montnemery 47da1c456b
Don't allow partial update of counter settings (#78371) 2022-09-13 14:55:06 -04:00
Erik Montnemery 15f104911a
Don't allow partial update of input_number settings (#78356) 2022-09-13 14:54:52 -04:00
Pascal Vizeli 0e7c81288f
Unregister EcoWitt webhook at unload (#78388) 2022-09-13 14:51:04 -04:00
J. Nick Koston be34fdc344
Bump pylutron-caseta to 0.15.1 (#78209) 2022-09-13 17:00:18 +02:00
Yevhenii Vaskivskyi 328530479d
Bump blinkpy to 0.19.2 (#78097) 2022-09-13 16:46:31 +02:00
G Johansson fd7c257a90
Fix Sensibo Pure sensitivity sensor text (#78313) 2022-09-13 16:44:22 +02:00
epenet 69b59c9d59
Improve type hints in trace (#78366) 2022-09-13 09:09:38 -04:00
epenet 458ddb6f4b
Improve type hints in image-processing (#78351) 2022-09-13 08:39:39 -04:00
Erik Montnemery 6256d07255
Drop initial when loading input_number from storage (#78354) 2022-09-13 08:39:05 -04:00
J. Nick Koston 392548fe6e
Bump bleak to 0.17.0 (#78333) 2022-09-13 14:31:34 +02:00
epenet 1dff0075b0
Import humidifier constants from root (#78343) 2022-09-13 14:05:36 +02:00
epenet 7c3258fbec
Import network constants from root (#78342) 2022-09-13 14:04:02 +02:00
Daniel Hjelseth Høyer 0d38073817
Bump mill-local to 0.2.0 (#78302) 2022-09-13 13:59:46 +02:00
TheJulianJES b5935e5a4f
Bump PyViCare==2.17.0 (#78232) 2022-09-13 13:01:13 +02:00
J. Nick Koston 131512f7fd
Make yalexs_ble matcher more specific (#78307) 2022-09-13 12:38:01 +02:00
epenet 52ea9998bb
Use new media player enums in forked_daapd (#78100) 2022-09-13 11:55:24 +02:00
epenet d88334b2b2
Expose humidifier constants at the top level (#78033) 2022-09-13 11:28:08 +02:00
Robin Wohlers-Reichel b0249e6aa9
Update solax to 0.3.0 (#78219) 2022-09-13 10:07:38 +02:00
jafar-atili 24266f1426
Add SwitchBee Integration (#70201)
* Add SwitchBee Integration

* fixes

* improved API and more logs

* fixed test_config_flow code

* removed light and cover

* Fixed CR comments, updated pylib, improved response time and lowered the scan interval for lower latency

* CR fixes, added advanced setup form to let the
user choose the following:
    - scan interval in seconds: default 5
    - whether to expose scenarios and group switches from the CU or not

* used SCAN_INTERVAL_SEC instead of typing just the number

* Fixed PR comments, added unit tests

* fixes

* Improved the pypi and updated the code accordingly

* Add SwitchBee Integration

* fixes

* improved API and more logs

* fixed test_config_flow code

* removed light and cover

* Fixed CR comments, updated pylib, improved response time and lowered the scan interval for lower latency

* CR fixes, added advanced setup form to let the
user choose the following:
    - scan interval in seconds: default 5
    - whether to expose scenarios and group switches from the CU or not

* used SCAN_INTERVAL_SEC instead of typing just the number

* Fixed PR comments, added unit tests

* fixes

* Improved the pypi and updated the code accordingly

* fixes

* restored new line in .coveragerc

* test: increased config_flow test coverage

* removed two way type

* Updated CODEOWNERS

* fix: code review comments

* fixed review comments

* added device_info

* moved device info to attribute
2022-09-13 09:01:29 +02:00
Erik Montnemery 4e32bf2ac9
Drop old migration code from entity registry (#78278) 2022-09-12 22:28:05 -04:00
epenet 13f250319d
Import websocket api constants from root (#78250) 2022-09-12 22:07:58 -04:00
Erik Montnemery 8a9edea2c1
Fix calculating gas cost for gas measured in ft3 (#78327) 2022-09-12 21:24:49 -04:00
epenet b5402f9b57
Import device tracker constants from root (#78242) 2022-09-12 20:50:44 -04:00
GitHub Action 955f3b7083 [ci skip] Translation update 2022-09-13 00:29:19 +00:00
J. Nick Koston 05d4ece4de
Bump bluetooth-auto-recovery to 0.3.3 (#78245)
Downgrades a few more loggers to debug since the only reason we check them is to give a better error message when the bluetooth adapter is blocked by rfkill.

https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.3.2...v0.3.3

closes #78211
2022-09-12 20:16:46 -04:00
d-walsh 0b2c3cfb99
Fix missing dependency for dbus_next (#78235) 2022-09-12 18:03:07 -05:00
Marc Mueller 93a5b99191
Rename zwave_js trigger helper to avoid confusion (#78331)
* Rename zwave_js trigger helper to avoid confusion

* Fix test
2022-09-12 18:36:05 -04:00
epenet 9b0602a8b6
Import device automation constants from root (#78272) 2022-09-13 00:19:57 +02:00
J. Nick Koston 5f1979dbc3
Bump xiaomi-ble to 0.9.3 (#78301) 2022-09-12 16:54:20 -05:00
epenet e32adfc801
Import modbus constants from root (#78273) 2022-09-12 23:46:24 +02:00
epenet c687273180
Import media source constants from root (#78275) 2022-09-12 23:45:19 +02:00
epenet 2857a15cbc
Import http constants from root (#78274) 2022-09-12 23:43:59 +02:00
epenet 7db1f8186c
Improve zone typing (#78294)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-12 23:43:21 +02:00
epenet dbc6dda41e
Adjust components to use relative imports (#78279) 2022-09-12 23:33:21 +02:00
epenet 9cb8d910ce
Improve media-player typing (#78300)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-12 23:32:07 +02:00
epenet 55e59b778c
Add type hints to TTS provider (#78285)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-12 23:29:55 +02:00
David F. Mulcahey 9d47160e68
Fix sengled bulbs in ZHA (#78315)
* Fix sengled bulbs in ZHA

* fix tests

* update discovery data
2022-09-12 15:37:11 -04:00
epenet 19bee11a01
Improve sun typing (#78298) 2022-09-12 21:34:35 +02:00
J. Nick Koston 3be9bee61e
Bump pySwitchbot to 0.19.6 (#78304)
No longer swallows exceptions from bleak connection errors which
was hiding the root cause of problems.

This was the original behavior from a long time ago which
does not make sense anymore since we retry a few times anyways

https://github.com/Danielhiversen/pySwitchbot/compare/0.19.5...0.19.6
2022-09-12 21:18:26 +02:00
epenet 5c8e8e4860
Use new media player enums (#78264) 2022-09-12 20:06:27 +02:00
epenet 7871a517a8
Import constants from root (#78271) 2022-09-12 18:53:05 +02:00
epenet 7aa7458a22
Expose modbus constants in root (#78269) 2022-09-12 18:48:10 +02:00
epenet 1fc8a570b0
Expose media-source constants in root (#78268) 2022-09-12 18:46:25 +02:00
epenet 1e6e10ec93
Expose constants in device_tracker root (#78240) 2022-09-12 18:43:50 +02:00
epenet 454bdcc00d
Expose http constants in root (#78267) 2022-09-12 18:41:18 +02:00
epenet 17e217269f
Expose device_automation constants in root (#78266) 2022-09-12 18:39:07 +02:00
epenet 2f3091122b
Import update constants from root (#78251) 2022-09-12 18:22:22 +02:00
epenet d8c5d08f90
Expose websocket_api constants in root (#78249) 2022-09-12 18:18:37 +02:00
epenet ac3534cba1
Import number constants from root (#78248) 2022-09-12 18:14:49 +02:00
epenet 9c8e9f044b
Import stt constants from root (#78247) 2022-09-12 18:12:06 +02:00
epenet 45a69090f0
Expose and use lovelace constants from root (#78246) 2022-09-12 18:10:33 +02:00
epenet 4dcbe3e608
Import notify constants from root (#78244) 2022-09-12 18:07:26 +02:00
epenet 1fb5800bdf
Import trace constants from root (#78243) 2022-09-12 18:06:03 +02:00
epenet 0ce526efe1
Import logbook constants from root (#78236) 2022-09-12 17:53:06 +02:00
Radu 6a5678154a
Add ZigStar ZeroConf (#78237) 2022-09-12 09:26:23 -05:00
alakdae 844074c3a9
Add extra precision to ADC voltage (from 1 decimal to 2 decimals) (#77889) 2022-09-12 16:53:03 +03:00
epenet 253d355526
Remove unused mypy ignore statements (#78292) 2022-09-12 09:25:11 -04:00
J. Nick Koston e83594a179
Bump aiodiscover to 1.4.13 (#78253) 2022-09-12 12:19:45 +02:00
Raman Gupta abebf3c067
Switch to new entity naming schema across zwave_js (#77434) 2022-09-12 09:14:59 +02:00
GitHub Action b56f54745a [ci skip] Translation update 2022-09-12 00:26:16 +00:00
epenet 7eb5e6d623
Import automation constants from root (#78238) 2022-09-11 21:11:51 +02:00
J. Nick Koston c0374a9434
Bump PySwitchbot to 0.19.5 (#78224) 2022-09-11 12:19:31 -04:00
J. Nick Koston 5a9dfa9df9
Bump aiohomekit to 1.5.6 (#78228) 2022-09-11 12:19:12 -04:00
J. Nick Koston 7e0652f80e
Bump led-ble to 0.9.1 (#78226) 2022-09-11 12:19:01 -04:00
J. Nick Koston 4da10a50ad
Bump yalexs-ble to 1.8.1 (#78225) 2022-09-11 12:18:52 -04:00
G Johansson f0053066ca
Bump pysensibo to 1.0.20 (#78222) 2022-09-11 12:18:38 -04:00
Vincent Knoop Pathuis 93b7f604d5
Landis+Gyr integration: increase timeout and add debug logging (#78025) 2022-09-11 12:18:01 -04:00
Artem Draft 29be6d17b0
Add is_host_valid util (#76589) 2022-09-11 11:12:04 -05:00
epenet b0777e6280
Use new media player enums in demo (#78114)
* Use new media player enums in demo

* Adjust import location
2022-09-11 16:48:18 +02:00
epenet 9a61cc07c7
Use new media player enums in emby (#78098) 2022-09-11 16:36:03 +02:00
Aaron Bach 49222d6bc8
Bump `regenmaschine` to 2022.09.1 (#78210) 2022-09-11 10:17:36 +02:00
J. Nick Koston d77ca99791
Bump bluetooth-adapters to 0.4.1 (#78205)
Switches to dbus-fast which fixes a file descriptor leak
2022-09-11 10:06:13 +02:00
J. Nick Koston e77058b762
Bump led_ble to 0.8.5 (#78215)
* Bump led_ble to 0.8.4

Changelog: https://github.com/Bluetooth-Devices/led-ble/compare/v0.8.3...v0.8.4

* bump again
2022-09-11 10:04:05 +02:00
GitHub Action 051974304a [ci skip] Translation update 2022-09-11 00:27:01 +00:00
epenet 0d2465cf0a
Expose logbook constants at the top level (#78184) 2022-09-10 23:44:03 +02:00
epenet 6affd9c6fb
Import climate constants from root [m-z] (#78178) 2022-09-10 23:42:28 +02:00
epenet ec532414ba
Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
epenet 7eefaa308f
Use new media player enums in universal (#78112) 2022-09-10 22:29:04 +02:00
epenet 0d88567e0e
Use new media player enums in soundtouch (#78110) 2022-09-10 22:26:26 +02:00
epenet 9e1cb914b1
Use new media player enums in snapcast (#78109) 2022-09-10 22:24:01 +02:00
epenet d0605d3a59
Use new media player enums in kodi (#78106) 2022-09-10 22:22:18 +02:00
epenet a2559b48ce
Use new media player enums in group (#78104) 2022-09-10 22:17:38 +02:00
epenet 64fd84bd88
Use new media player enums in frontier_silicon (#78101) 2022-09-10 22:16:04 +02:00
epenet a1aac4a2e9
Use new media player enums in esphome (#78099) 2022-09-10 22:12:37 +02:00
J. Nick Koston 27e8e40968
Bump aiohomekit to 1.5.4 to handle stale ble connections at startup (#78203) 2022-09-10 14:36:44 -04:00
J. Nick Koston a3ec28ea79
Close stale switchbot connections at setup time (#78202) 2022-09-10 14:21:10 -04:00
puddly f19af72895
Bump ZHA dependencies (#78201) 2022-09-10 13:56:01 -04:00
Rami Mosleh 17ed090f98
Fix sending notification to multiple targets in Pushover (#78111)
fix sending to mulitple targets
2022-09-10 19:35:26 +02:00
J. Nick Koston dbcb269111
Fix switchbot not setting up when already connected at startup (#78198) 2022-09-10 13:32:38 -04:00
J. Nick Koston 1e302c12ff
Fix Yale Access Bluetooth not setting up when already connected at startup (#78199) 2022-09-10 13:32:29 -04:00
J. Nick Koston c406e4defe
Bump led-ble to 0.8.3 (#78188)
* Bump led-ble to 0.8.0

Fixes setup when the previous shutdown was not clean and
the device is still connected

* bump again

* bump again

* bump again
2022-09-10 19:30:30 +02:00
Pascal Vizeli a877c8030f
Add dependencies to ecowitt (#78187) 2022-09-10 17:02:36 +02:00
Paulus Schoutsen b2692ecc80
Fix ecowitt typing (#78171) 2022-09-09 23:32:14 -04:00
J. Nick Koston 68b511737d
Bump aiohomekit to 1.5.3 (#78170) 2022-09-09 23:20:39 -04:00
Ernst Klamer 39f40011cc
Add BTHome binary sensors (#78151) 2022-09-09 22:43:25 -04:00
J. Nick Koston a1ec9c6147
Bump pySwitchbot to 0.19.1 (#78168) 2022-09-09 22:32:17 -04:00
Jc2k 28f4a5b7a2
Add missing moisture sensor to xiaomi_ble (#78160) 2022-09-09 22:31:51 -04:00
Pascal Vizeli 0227f2cd67
Bump aioecowitt to 2022.09.1 (#78142) 2022-09-09 22:31:10 -04:00
GitHub Action 901031eb25 [ci skip] Translation update 2022-09-10 00:29:43 +00:00
J. Nick Koston d98ed03845
Fix switchbot writing state too frequently (#78094) 2022-09-09 18:13:27 -05:00
J. Nick Koston fcb6888f87
Start logbook stream faster (#77921)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-09-09 17:16:02 -05:00
Raman Gupta 8cc0b41daf
Fix zwave_js update entity (#78116)
* Test zwave_js update entity progress

* Block until firmware update is done

* Update homeassistant/components/zwave_js/update.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* revert params

* unsub finished event listener

* fix tests

* Add test for returned failure

* refactor a little

* rename

* Remove unnecessary controller logic for mocking

* Clear event when resetting

* Comments

* readability

* Fix test

* Fix test

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-09 22:10:56 +02:00
Michael Kowalchuk 19cf5dfc6d
Add zwave_js speed configuration for Leviton ZW4SF fans (#60677)
* Add speed info for Leviton 4 speed fans

* Use new format for fan speed configuration

* Add a fixture and test for the Leviton ZW4SF

* Use pytest.approx
2022-09-09 22:06:01 +02:00
J. Nick Koston 8084d163d3
Bump bluetooth-adapters to 0.3.6 (#78138) 2022-09-09 13:56:21 -04:00
G Johansson 167b9cb1a0
Additional cleanup for Sensibo (#78144)
* Clean sensibo code

* Add function to description
2022-09-09 17:06:57 +02:00
epenet 7a3ca8278d
Expose climate constants at the top level (#78018)
* Expose climate constants at the top level

* Add new climate enums

* Add new climate enums

* Import new enums

* Adjust ClimateEntity

* Adjust pylint

* Fix mypy

* Revert "Fix mypy"

This reverts commit 3dbe2fab01.

* Revert "Adjust pylint"

This reverts commit b19b085b22.

* Revert "Adjust ClimateEntity"

This reverts commit 6a822c58f1.

* Revert "Import new enums"

This reverts commit 7d70007c60.

* Revert "Add new climate enums"

This reverts commit dcd7716106.

* Revert "Add new climate enums"

This reverts commit a9aaa08a1c.
2022-09-09 16:42:01 +02:00
Yevhenii Vaskivskyi 6a41a631db
Add missing strings for errors in amberelectric config flow (#78140) 2022-09-09 10:36:48 -04:00
Erik Montnemery 5c40dffb29
Allow non-integers in threshold sensor config flow (#78137) 2022-09-09 10:05:14 -04:00
epenet dd86d7f0ea
Use new media player enums in mediaroom (#78108) 2022-09-09 15:27:30 +02:00
Jan Bouwhuis fb67123d77
Clear MQTT discovery topic when a disabled entity is removed (#77757)
* Cleanup discovery on entity removal

* Add test

* Cleanup and test

* Test with clearing payload not unique id

* Address comments

* Tests cover and typing

* Just pass hass

* reuse code

* Follow up comments revert changes to cover tests

* Add test unique_id has priority over disabled

* Update homeassistant/components/mqtt/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-09-09 15:24:26 +02:00
Anders Melchiorsen 0a143ac596
Fix LIFX light turning on while fading off (#78095) 2022-09-09 08:43:54 -04:00
Erik Montnemery e332091d76
Improve unique_id collision checks in entity_platform (#78132) 2022-09-09 14:35:23 +02:00
uvjustin 9b2d17cd00
Escape media_content_id in media player proxy (#77811)
* Escape media_content_id in media player proxy

* Change usage in kodi

* Change usage in roku

* Change usage in sonos

* Add test

* Add comment

* Change path regex instead of double quoting

* Use .+ instead of .*
2022-09-09 13:18:24 +02:00
holysoles c3b2e03ce8
Support unique_id for Universal Media Player (#77461)
* support unique id

* tests for unique_id

* use unique_id attribute
2022-09-09 11:50:39 +02:00
Jan Bouwhuis d53d59eb6c
Improve warning messages on invalid received modes (#77909) 2022-09-09 11:12:09 +02:00
epenet 8b3ce8c58c
Use new constants in dlna_dmr media player (#78045) 2022-09-09 09:03:59 +02:00
epenet 7ff23506fe
Use new enums in cast (#77946)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-09 08:57:14 +02:00
Erik Montnemery eb28d7188b
Fix DB migration to schema version 29 (#78037)
* Fix DB migration to schema version 29

* Fix misspelled constants
2022-09-09 08:06:14 +02:00
Paulus Schoutsen 0e734e629c
Handle missing supported brands (#78090) 2022-09-09 07:47:33 +02:00
rlippmann fe04af8798
Fix issue #77920 - ecobee remote sensors not updating (#78035) 2022-09-08 21:01:43 -04:00
GitHub Action 718d4ac6cc [ci skip] Translation update 2022-09-09 00:28:55 +00:00
Alex Thompson 45b69618d3
Add iBeacon start byte to allowed Apple Bluetooth advertisements (#78088) 2022-09-08 18:21:58 -05:00
epenet a9b5e276bb
Use new media player enums [x-z] (#78068) 2022-09-08 23:25:51 +02:00
epenet 8bdeb3ca5b
Use new media player enums [u-w] (#78067) 2022-09-08 23:22:16 +02:00
epenet 6b157921ea
Use new media player enums [s] (#78064) 2022-09-08 23:05:10 +02:00
epenet 45d0ec7150
Use new media player enums [r] (#78062) 2022-09-08 22:59:52 +02:00
epenet 52b5e1779f
Use new media player enums [p] (#78058) 2022-09-08 22:54:43 +02:00
Jan Bouwhuis 9c192dea9c
Allow OpenWeatherMap config flow to test using old API to pass (#78074)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-09-08 16:49:49 -04:00
epenet 2f8af92735
Use new media player enums [m-o] (#78057) 2022-09-08 22:47:59 +02:00
epenet 56c4e0391d
Use new media player enums [e-h] (#78049) 2022-09-08 22:44:30 +02:00
Aaron Bach 9fc9d50e07
Fix bug with 1st gen RainMachine controllers and unknown API calls (#78070)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-08 16:41:09 -04:00
Raman Gupta 52d2ebd2c8
Show progress for zwave_js.update entity (#77905)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-08 16:40:55 -04:00
epenet 823e7e8830
Use new media player enums [i-l] (#78054) 2022-09-08 22:35:53 +02:00
Erik Montnemery 7937bfeedb
Deprecate history integration's statistics API (#78056) 2022-09-08 16:03:43 -04:00
Maikel Punie c528a2d2cd
Bump velbus-aio to 2022.9.1 (#78039)
Bump velbusaio to 2022.9.1
2022-09-08 20:28:40 +02:00
Martin Hjelmare f11b51e12b
Fix zwave_js device re-interview (#78046)
* Handle stale node and entity info on re-interview

* Add test

* Unsubscribe on config entry unload
2022-09-08 20:15:27 +02:00
J. Nick Koston be064bfeef
Bump bluetooth-auto-recovery to 0.3.2 (#78063) 2022-09-08 19:15:26 +02:00
Nathan Spencer 03e6bd0811
Bump pylitterbot to 2022.9.1 (#78071) 2022-09-08 19:13:20 +02:00
Raman Gupta 01189b023c
Increase rate limit for zwave_js updates
Al provided a new key which bumps the rate limit from 10k per hour to 100k per hour
2022-09-08 12:53:30 -04:00
J. Nick Koston 2a23792b23
Bump bluetooth-adapters to 0.3.5 (#78052) 2022-09-08 09:58:53 -04:00
epenet 03f4eb84a0
Improve type hints in demo and dependencies (#78022) 2022-09-08 12:46:41 +02:00
epenet ff356205bf
Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
epenet f14bb8195f
Import climate constants from root [a-l] (#78021) 2022-09-08 11:24:15 +02:00
Erik Montnemery c134bcc536
Remove use of deprecated SUPPORT_* constants from Template light (#77836) 2022-09-08 11:22:38 +02:00
Erik Montnemery b21f8c9ea8
Remove use of deprecated SUPPORT_* constants from MQTT light (#77828)
* Remove use of deprecated SUPPORT_* constants from MQTT light

* Refactor
2022-09-08 11:21:46 +02:00
epenet 9a5fe950a4
Use new media player enums [a-d] (#77939) 2022-09-08 11:03:10 +02:00
Martin Hjelmare bfe245cc3f
Fix zwave_js default emulate hardware in options flow (#78024) 2022-09-08 10:59:40 +02:00
Joakim Sørensen 11e897a5e8
Extract lametric device from coordinator in notify (#78027) 2022-09-08 10:50:14 +02:00
epenet 5276d849ec
Improve type hints in apple_tv media player (#77940) 2022-09-08 10:46:23 +02:00
epenet e2568d8375
Import climate constants from root [m-z] (#78020) 2022-09-08 10:34:44 +02:00
epenet f87e873275
Adjust alexa imports (#78013) 2022-09-08 09:45:22 +02:00
Raman Gupta 37631d2017
Add value ID to zwave_js device diagnostics (#78015) 2022-09-08 09:13:01 +02:00
Yevhenii Vaskivskyi 1802ecfc24
Fix `len` method typo for Osram light (#78008)
* Fix `len` method typo for Osram light

* Fix typo in line 395
2022-09-08 08:49:36 +02:00
GitHub Action ea26c0bf77 [ci skip] Translation update 2022-09-08 00:27:38 +00:00
epenet f62fbbe524
Use _attr_force_update in mqtt (#77902) 2022-09-07 23:42:16 +02:00
Chris McCurdy 52c8c80f91
Add additional method of retrieving UUID for LG soundbar configuration (#77856) 2022-09-07 17:43:05 +02:00
Bram Kragten cd5967c4c6
Update frontend to 20220907.0 (#77963) 2022-09-07 17:31:53 +02:00
puddly 4076f8b94e
Fix ZHA lighting initial hue/saturation attribute read (#77727)
* Handle the case of `current_hue` being `None`

* WIP unit tests
2022-09-07 11:10:24 -04:00
J. Nick Koston 2cfdc15c38
Handle stale switchbot advertisement data while connected (#77956) 2022-09-07 16:54:21 +02:00
epenet 645f5e5ac1
Introduce new MediaPlayerState StrEnum (#77941)
* Adjust media-player checks in pylint plugin

* Adjust media-player definitions

* Adjust cast signatures

* Adjust play_media signature

* Introduce MediaPlayerState

* Fix cast implementations

* Revert cast changes

* Update hass_enforce_type_hints.py

* Use set

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Fix tests

* Keep unused constants

* Fix test

* Revert tests

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-07 16:30:22 +02:00
Alex Thompson 951047d94e
Add initial implementation of tilt_ble integration (#77633)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-07 09:24:21 -05:00
epenet 9490771a87
Refactor distance, speed and volume utils (#77952)
* Refactor distance util

* Fix bmw connected drive tests

* Adjust here travel time tests

* Adjust waze travel time tests

* Adjust test_distance

* Adjust rounding values

* Adjust more tests

* Adjust volume conversions

* Add tests
2022-09-07 16:18:00 +02:00
Marc Mueller 01f1629ac0
Update surepy to 0.8.0 (#77948) 2022-09-07 15:13:51 +02:00
kingy444 a0071e7877
Bump aiopvapi to 2.0.1 (#77949) 2022-09-07 13:17:45 +02:00
J. Nick Koston e42c48ebca
Bump PySwitchbot to 0.18.25 (#77935) 2022-09-07 06:12:17 -05:00
epenet f71313ee1e
Adjust get_scanner pylint checks (#77944) 2022-09-07 10:58:54 +02:00
Daniel Hjelseth Høyer 9fa30af8de
Bump pyTibber to 0.25.2 (#77919) 2022-09-07 10:26:07 +02:00
J. Nick Koston 79b46956e9
Bump led-ble to 0.7.1 (#77931) 2022-09-07 10:22:19 +02:00
epenet a82484d7a7
Use attributes in rest base entity (#77903) 2022-09-07 09:40:52 +02:00
Raman Gupta fce28d4848
Bump zwave-js-server-python to 0.41.1 (#77915)
* Bump zwave-js-server-python to 0.41.1

* Fix fixture
2022-09-07 07:28:47 +02:00
Ståle Storø Hauknes 79d2c87844
Mill gen 3 cloud, support precision halves for gen 3 heaters (#77932)
* Update pymill to latest version

* Use float with PRECISION_HALVES for Mill Gen 3 cloud connected heaters
2022-09-07 07:25:23 +02:00
Lennard Scheibel 35cdad943b
Fix shopping_list service calls not notifying event bus (#77794) 2022-09-06 23:18:27 -04:00
GitHub Action 4f7ad27b65 [ci skip] Translation update 2022-09-07 00:27:56 +00:00
J. Nick Koston dfef6c3d28
Small tweaks to improve performance of bluetooth matching (#77934)
* Small tweaks to improve performance of bluetooth matching

* Small tweaks to improve performance of bluetooth matching

* cleanup
2022-09-06 19:12:32 -04:00
J. Nick Koston 9ba1bb7c73
Bump aiohomekit to 1.5.2 (#77927) 2022-09-06 16:43:18 -05:00
Matthew Simpson 4e625f0360
Bump btsmarthub_devicelist to 0.2.2 (#77609) 2022-09-06 21:50:03 +02:00
Rami Mosleh 769084058d
Add sensors for Tuya "tdq" category switches (#77581) 2022-09-06 20:22:04 +02:00
epenet 19b85851a1
Use _attr_force_update in tasmota (#77900) 2022-09-06 20:20:07 +02:00
epenet 6864f43986
Drop unused property from zha (#77897) 2022-09-06 20:19:33 +02:00
Marc Mueller 87ab14d758
Add protocol type for legacy notify platforms (#77894) 2022-09-06 20:18:52 +02:00
Franck Nijhof dbb556a812
Revert "Add ability to ignore devices for UniFi Protect" (#77916) 2022-09-06 20:13:01 +02:00