Commit graph

53448 commits

Author SHA1 Message Date
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
epenet
b369c2f54c
Deprecate SUPPORT_* constants for color_mode (#69269)
* Deprecate SUPPORT_* constants for color_mode

* Simplify

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-09-09 11:27:16 +02:00
Jan Bouwhuis
9a4c8f5f0e
Refactor common MQTT tests to use modern schema (#77583)
* Common tests availability

* Common tests attributes

* Common tests unique id

* Common tests discovery

* Common tests encoding

* Common tests device info

* Common tests entity_id updated

* Common tests entity debug info

* Common test entity category

* Common tests setup reload unload+corrections

* Cleanup sweep

* Comments from curent change

* Cleanup

* Remove unused legacy config
2022-09-09 11:15:48 +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