Commit Graph

41574 Commits (ade4fcaebd9fb441b78bddf67ea39598b7d64fac)

Author SHA1 Message Date
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
epenet 5632e33426
Improve type hints in lw12wifi light (#77656) 2022-09-06 20:00:51 +02:00
epenet 759f12bcda
Use attributes in hvv_departures (#77588) 2022-09-06 19:58:27 +02:00
Bram Kragten 97d63e5c36
Update frontend to 20220906.0 (#77910) 2022-09-06 12:54:53 -04:00
epenet 5de95663a9
Introduce new StrEnums in media player (#77872)
* Introduce RepeatMode enum in media player
* Add MediaClass and MediaType
2022-09-06 18:47:34 +02:00
epenet 85beceb533
Use attributes in rflink binary sensor (#77901)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-06 18:17:28 +02:00
epenet bd84981ae0
Use _attr_force_update in tellstick (#77899) 2022-09-06 18:03:53 +02:00
epenet e3fb04e116
Add comment to life360 device tracker (#77879) 2022-09-06 11:34:59 -04:00
Yevhenii Vaskivskyi 5459b5fdfe
Handle exception on projector being unavailable (#77802) 2022-09-06 11:34:11 -04:00
Steven Looman d550b17bd9
Use identifiers host and serial number to match device (#75657) 2022-09-06 11:33:16 -04:00
J. Nick Koston b2f86ddf76
Bump bluetooth-auto-recovery to 0.3.1 (#77898) 2022-09-06 08:48:39 -05:00
Raman Gupta 91fbff05db
Improve performance impact of zwave_js update entity and other tweaks (#77866)
* Improve performance impact of zwave_js update entity and other tweaks

* Reduce concurrent polls

* we need to write state after setting in progress to false

* Fix existing tests

* Fix tests by fixing fixtures

* remove redundant conditional

* Add test for delayed startup

* tweaks

* outdent happy path

* Add missing PROGRESS feature support

* Update homeassistant/components/zwave_js/update.py

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

* Update homeassistant/components/zwave_js/update.py

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

* Fix tests by reverting outdent, PR comments, mark callback

* Remove redundant conditional

* make more readable

* Remove unused SCAN_INTERVAL

* Catch FailedZWaveCommand

* Add comment and remove poll unsub on update

* Fix catching error and add test

* readability

* Fix tests

* Add assertions

* rely on built in progress indicator

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-06 09:40:20 -04:00
J. Nick Koston b945327056
Bump zeroconf to 0.39.1 (#77859) 2022-09-06 08:00:05 -05:00
epenet 3a0eae3986
Improve entity type hints [z] (#77890) 2022-09-06 14:01:09 +02:00
epenet 23052dc7b5
Improve entity type hints [y] (#77888) 2022-09-06 14:00:25 +02:00
epenet 856318b137
Improve entity type hints [x] (#77887) 2022-09-06 14:00:09 +02:00
epenet a6b6949793
Improve entity type hints [w] (#77886) 2022-09-06 13:59:37 +02:00
epenet 050cb275ff
Improve entity type hints [v] (#77885) 2022-09-06 13:59:05 +02:00
epenet 3798d28bec
Improve entity type hints [u] (#77884) 2022-09-06 13:37:00 +02:00
epenet 3ec231c911
Improve entity type hints [s] (part 2/2) (#77882) 2022-09-06 13:36:44 +02:00
epenet 458001a06e
Improve entity type hints [t] (#77883) 2022-09-06 13:35:52 +02:00
epenet 0c767bd0d3
Improve entity type hints [s] (part 1/2) (#77881) 2022-09-06 13:35:14 +02:00
uvjustin 34da463df0
Cleanup camera after late PR review (#77880)
Cleanup changes to camera from #77439
2022-09-06 12:33:21 +02:00
ollo69 3327493ab7
Add state class total increasing to Tasmota energy today sensor (#77140)
Add  total increasing to tasmota energy today sensor
2022-09-06 11:24:08 +02:00
Oliver Völker 57212a39e4
Adjust Renault default scan interval (#77823)
raise DEFAULT_SCAN_INTERVAL to 7 minutes

This PR is raising the default scan interval for the Renault API from 5 minutes to 7 minutes. Lower intervals fail sometimes, maybe due to quota limitations. This seems to be a working interval as described in home-assistant#73220
2022-09-06 11:10:35 +02:00
epenet ea71a462d6
Improve entity type hints [o] (#77826) 2022-09-06 10:25:35 +02:00
epenet d6ca3544ee
Improve type hint in opensky (#77829) 2022-09-06 10:21:43 +02:00
epenet 36f3028ec3
Improve type hint in onvif (#77833) 2022-09-06 10:12:16 +02:00
Kevin Stillhammer b4669d8939
Add has_entity_name for kraken (#77841)
Add has_entity_name
2022-09-06 10:10:46 +02:00
J. Nick Koston ac8a12f99c
Bump thermopro-ble to 0.4.3 (#77863)
* Bump thermopro-ble to 0.4.2

- Turns on rounding of long values
- Uses bluetooth-data-tools under the hood
- Adds the TP393 since it works without any changes to the parser

Changelog: https://github.com/Bluetooth-Devices/thermopro-ble/compare/v0.4.0...v0.4.2

* bump again for device detection fix
2022-09-06 09:55:43 +02:00
J. Nick Koston 0e369d5b2e
Add RSSI to the bluetooth debug log (#77860) 2022-09-06 09:54:52 +02:00
Artem Draft 72f9e5f6ec
Bump pybravia to 0.2.2 (#77867) 2022-09-06 09:52:27 +02:00
epenet 474844744b
Improve entity type hints [p] (#77871) 2022-09-06 09:51:33 +02:00
epenet 6f564e4f51
Improve entity type hints [r] (#77874) 2022-09-06 09:47:35 +02:00
epenet 7198273a42
Improve entity type hints [q] (#77875) 2022-09-06 09:43:49 +02:00
uvjustin 852b0caf5b
Add orientation transforms to stream (#77439) 2022-09-06 13:31:36 +08:00
uvjustin bb77af71ff
Use fragmented mp4 in stream recorder (#77822) 2022-09-06 13:30:55 +08:00
GitHub Action 5c30b33ee2 [ci skip] Translation update 2022-09-06 00:27:55 +00:00
Justin Vanderhooft 50933fa3ae
Move Melnor Bluetooth switches to sub-services off the main device (#77842)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-05 18:34:59 -05:00
epenet 024a4f39b0
Use attributes in nightscout (#77825) 2022-09-05 16:20:56 -04:00
G Johansson 76006ce9d7
Allow empty db in SQL options flow (#77777) 2022-09-05 14:50:47 -05:00
Allen Porter 8280b8422c
Remove google calendar configuration.yaml deprecated in 2022.6 (#77814) 2022-09-05 21:12:38 +02:00
J. Nick Koston 6644f62ad2
Fix history stats device class when type is not time (#77855) 2022-09-05 14:56:27 -04:00
Bram Kragten 6867029062
Update frontend to 20220905.0 (#77854) 2022-09-05 14:27:48 -04:00
Robert Hillis 73ba7a989b
Make Sonos typing more complete (#68072) 2022-09-05 13:12:37 -05:00
J. Nick Koston 6fbc0a8103
Bump govee-ble to 0.17.2 (#77849) 2022-09-05 14:05:53 -04:00
J. Nick Koston 33dd8a4a45
Bump led-ble to 0.7.0 (#77845) 2022-09-05 14:05:37 -04:00
Jc2k a641bbc352
Less verbose error logs for bleak connection errors in ActiveBluetoothProcessorCoordinator (#77839)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-05 10:33:10 -04:00
epenet 61f4040d56
Address late review on kulersky light (#77838) 2022-09-05 16:19:34 +02:00
Erik Montnemery 4a0cbfb550
Add the hardware integration to default_config (#77840) 2022-09-05 10:18:49 -04:00
Artem Draft c158575aa5
Bump pybravia to 0.2.1 (#77832) 2022-09-05 10:04:33 -04:00
Charles Garwood b0c093ac70
Add remoteAdminPasswordEnd to redacted keys in fully_kiosk diagnostics (#77837)
Add remoteAdminPasswordEnd to redacted keys in diagnostics
2022-09-05 09:20:37 -04:00
rappenze 601fb5ebb5
Add reauth flow to fibaro (#74300) 2022-09-05 07:55:12 -05:00
epenet 420733a064
Improve entity type hints [n] (#77824) 2022-09-05 07:53:55 -05:00
Ernst Klamer 42393db9f3
Rename BThome to BTHome (#77807)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-05 07:52:50 -04:00
Raman Gupta d6cf416c63
Fix device info for zwave_js device entities (#77821) 2022-09-05 12:15:14 +02:00
J. Nick Koston 363f95c954
Remove auto lowercasing from async_track_entity_registry_updated_event (#77740) 2022-09-05 12:13:05 +02:00
epenet 6355e682fa
Improve entity type hints [m] (#77816) 2022-09-05 10:59:36 +02:00
Michael ce6e57da5d
Bump fritzconnection from 1.8.0 to 1.10.1 (#77751)
bump fritzconnection from 1.8.0 to 1.10.1
2022-09-05 11:50:00 +03:00
epenet 5739712a0d
Adjust type hint in meteoalarm (#77818) 2022-09-05 10:47:01 +02:00
epenet bbf77ed46f
Adjust type hint in mediaroom (#77817) 2022-09-05 10:19:57 +02:00
J. Nick Koston 8e0b9e1f98
Fix isy994 calling sync api in async context (#77812) 2022-09-05 08:45:35 +02:00
Allen Porter ddf668d1cb
Remove CalendarEventDevice which was deprecated in 2022.5 (#77809) 2022-09-04 22:25:43 -07:00
epenet 6044e2b054
Improve type hints in kulersky light (#77652) 2022-09-05 06:37:25 +02:00
J. Nick Koston 016a59ac94
Add support for subscribing to config entry changes (#77803) 2022-09-04 22:57:43 -05:00
J. Nick Koston 804e4ab989
Prefilter noisy apple devices from bluetooth (#77808) 2022-09-04 20:57:40 -04:00
GitHub Action c5100d2895 [ci skip] Translation update 2022-09-05 00:31:16 +00:00
Avi Miller 168d122db4
Add set_hev_cycle_state service to LIFX integration (#77546)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-04 19:04:36 -05:00
epenet 23a579d1c9
Improve type hints in lastfm sensor (#77657) 2022-09-04 22:45:41 +02:00
epenet be07bb7976
Improve type hints in file and huawei_lte notify (#77648) 2022-09-04 22:41:46 +02:00
epenet 14fc7c7595
Improve type hints in kodi media player (#77653) 2022-09-04 22:41:18 +02:00
G Johansson f51b33034f
Bump yale_smart_alarm_client to 0.3.9 (#77797) 2022-09-04 14:43:38 -05:00
G Johansson 03d804123a
Sensibo clean code (#74437) 2022-09-04 14:42:08 -05:00
Ståle Storø Hauknes b3596fdea1
Mill 3. gen add support for PRECISION_HALVES (#73592)
* Add support for PRECISION_HALVES for Mill 3. generation heaters

* Add support for precision halves for Mill local API

* Make sure to cast to float for local api

* Support both float for gen 3 heaters and int for gen < 3 heaters when using cloud api

* Mill attribute bugfix

* Add support for PRECISION_HALVES for Mill 3. generation heaters

* Add support for precision halves for Mill local API

* Make sure to cast to float for local api

* Support both float for gen 3 heaters and int for gen < 3 heaters when using cloud api

* Mill attribute bugfix

* Revert PRECISION_HALVES for Mill cloud integration

* Remove unused code

* Revert to casting to int for mill cloud integration

* Remove unused code
2022-09-04 10:32:57 -07:00
Michael 03b3959b95
Replace archived sucks by py-sucks and bump to 0.9.8 for Ecovacs integration (#77768) 2022-09-04 12:57:50 -04:00
J. Nick Koston 2b63d7644a
Bump led-ble to 0.6.0 (#77788)
* Bump ble-led to 0.6.0

Fixes reading the white channel on same devices

Changelog: https://github.com/Bluetooth-Devices/led-ble/compare/v0.5.4...v0.6.0

* Bump flux_led to 0.28.32

Changelog: https://github.com/Danielhiversen/flux_led/compare/0.28.31...0.28.32

Fixes white channel support for some more older protocols

* keep them in sync

* Update homeassistant/components/led_ble/manifest.json
2022-09-04 19:54:40 +03:00
Justin Vanderhooft e1150ce190
Expose battery and rssi sensors in Melnor Bluetooth integration (#77576) 2022-09-04 12:47:13 -04:00
G Johansson 98441e8620
Bump pysensibo to 1.0.19 (#77790) 2022-09-04 11:06:04 -05:00
J. Nick Koston 1b13105538
Bump flux_led to 0.28.32 (#77787) 2022-09-04 11:00:19 -05:00
Avi Miller 0e63a4c091
Fix lifx service call interference (#77770)
* Fix #77735 by restoring the wait to let state settle

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

* Skip the asyncio.sleep during testing

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

* Patch out asyncio.sleep for lifx tests

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

* Patch out a constant instead of overriding asyncio.sleep directly

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

Signed-off-by: Avi Miller <me@dje.li>
2022-09-04 17:51:57 +02:00
Matt Zimmerman a9c19e2ffb
Update smarttub to 0.0.33 (#77766) 2022-09-04 09:51:48 -05:00
Mick Vleeshouwer fe65c02c2b
Add Boost/Away mode duration to Overkiz integration (#76690) 2022-09-04 09:06:59 -05:00
Justin Vanderhooft 7e9f1a508a
Tweak unique id formatting for Melnor Bluetooth switches (#77773) 2022-09-04 08:56:10 -05:00
J. Nick Koston ed365cb8e9
Add BlueMaestro integration (#77758)
* Add BlueMaestro integration

* tests

* dc
2022-09-04 09:45:52 -04:00
Mick Vleeshouwer 6dcce61565
Add support for AtlanticHeatRecoveryVentilation to Overkiz integration (#74015) 2022-09-04 07:02:00 -05:00
Mick Vleeshouwer 807d197ca0
Add goToAlias button (my position) to Overkiz integration (#76694) 2022-09-04 07:01:42 -05:00
Mick Vleeshouwer 9a6b22a156
Address late review in Overkiz (add duration device class) (#77778)
Address follow-up review in Overkiz (duration device class)
2022-09-04 12:01:17 +02:00
J. Nick Koston a4261d588b
Increase default august timeout (#77762)
Fixes
```
2022-08-28 20:32:46.223 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/debounce.py", line 82, in async_call
    await task
  File "/Users/bdraco/home-assistant/homeassistant/components/august/activity.py", line 49, in _async_update_house_id
    await self._async_update_house_id(house_id)
  File "/Users/bdraco/home-assistant/homeassistant/components/august/activity.py", line 137, in _async_update_house_id
    activities = await self._api.async_get_house_activities(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/yalexs/api_async.py", line 96, in async_get_house_activities
    response = await self._async_dict_to_api(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/yalexs/api_async.py", line 294, in _async_dict_to_api
    response = await self._aiohttp_session.request(method, url, **api_dict)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/aiohttp/client.py", line 466, in _request
    with timer:
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/aiohttp/helpers.py", line 721, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
```
2022-09-04 11:13:34 +02:00
GitHub Action 6921583410 [ci skip] Translation update 2022-09-04 00:28:06 +00:00
Martin Hjelmare 7ca7a28db9
Refactor zwave_js event handling (#77732)
* Refactor zwave_js event handling

* Clean up
2022-09-03 17:19:05 -04:00
Pete 5d7e9a6695
Fix setting and reading percentage for MIOT based fans (#77626) 2022-09-03 22:55:34 +02:00
Raman Gupta fa987564a7
Handle dead nodes in zwave_js update entity (#77763) 2022-09-03 22:53:21 +02:00
Mick Vleeshouwer cd24223c1f
Enhance operating time sensor in Overkiz integration (#76688) 2022-09-03 16:18:56 -04:00
Michael ab215b653a
Fix upgrade api disabling during setup of Synology DSM (#77753) 2022-09-03 13:19:52 -04:00
Erik Montnemery b0d033ef29
Add mixin class CollectionEntity for the collection helper (#77703)
* Add mixin class CollectionEntity for the collection helper

* Improve typing

* Address review comments

* Fix tests
2022-09-03 12:56:49 +02:00
Erik Montnemery 56278a4421
Simplify device registry (#77715)
* Simplify device registry

* Fix test fixture

* Update homeassistant/helpers/device_registry.py

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

* Update device_registry.py

* Remove dead code

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-03 12:50:55 +02:00
Simon Hansen 7e100b64ea
Convert platform in iss integration (#77218)
* Hopefully fix everthing and be happy

* ...

* update coverage file

* Fix tests
2022-09-03 10:32:03 +02:00
Øyvind Matheson Wergeland f52c00a1c1
Add Nobø Ecohub integration (#50913)
* Initial version of Nobø Ecohub.

* Options update listener for Nobø Ecohub

* Unit test for nobo_hub config flow

* Cleanup

* Moved comment re backwards compatibility

* Improved tests

* Improved tests

* Options flow test
Pylint

* Fix backwards compatibility mode

* Don't require Python 3.9

* Import form configuration.yaml

* Check if device is already configured.
Correct tests for only discovering serial prefix
Fix importing when only serial suffix is configured

* Use constants

* Pylint and variable name clenaup.

* Review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Fix tests

* Correct disabling off_command and on_commands ("Default" is a hard coded week profile in the hub).

* Improve options dialog

* Configure override type in options dialog

* Formatting

* pyupgrade

* Incorporated review comments

* Incorporated review comments.

* Incorporated second round of review comments.

* Add polling to discover preset change in HVAC_MODE_AUTO.

* Added tests/components/nobo_hub to CODEOWNERS.

* Update homeassistant/components/nobo_hub/config_flow.py

Review

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Update homeassistant/components/nobo_hub/climate.py

Review

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Simplify if tests.

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Separate config step for manual configuration.

* Fixed indentation

* Made async_set_temperature more robust

* Thermometer supports tenths even though thermostat is in ones.

* Preserve serial suffix in config dialog on error.

* Initial version of Nobø Ecohub.

* Improved tests

* Review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Configure override type in options dialog

* Separate config step for manual configuration.

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Formatting (prettier)

* Fix HA stop listener.

* Review

* Apply suggestions from code review

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

* Review
- Removed workaround to support "OFF" setting.
- Simplified config flow to add a new device.

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Fixed review comments

* Update en.json with correction in review.

* Implemented review comments:
- Register devices
- Simplifed async_set_temperature

* Register hub as device in init module

* Implemented review comments.
Upgraded pynobo to 1.4.0.

* Apply suggestions from code review

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

* Avoid tacking on the device name in the entity name

* Inherit entity name from device name

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-03 10:11:40 +02:00
Paulus Schoutsen cf988354db
Bump frontend to 20220902.0 (#77734) 2022-09-02 20:53:33 -04:00
GitHub Action 945299dfb6 [ci skip] Translation update 2022-09-03 00:24:50 +00:00
starkillerOG b49d47a559
Register xiaomi_miio unload callbacks later in setup (#76714) 2022-09-02 23:50:52 +02:00
Nathan Spencer 916c44b5b4
Adjust litterrobot platform loading/unloading (#77682)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-02 16:18:10 -04:00
J. Nick Koston e4e29aa29d
Bump bluetooth-adapters to 3.3.4 (#77705) 2022-09-02 16:17:35 -04:00
Erik Montnemery 3a86209dec
Remove unnecessary use of dunder methods from entity registry (#77716) 2022-09-02 17:02:14 +00:00
Jan Bouwhuis 2e34814d7a
Fix reload of MQTT config entries (#76089)
* Wait for unsubscribes

* Spelling comment

* Remove notify_all() during _register_mid()

* Update homeassistant/components/mqtt/client.py

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

* Correct handling reload manual set up MQTT items

* Save and restore device trigger subscriptions

* Clarify we are storing all remaining subscriptions

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-09-02 18:54:20 +02:00
Raman Gupta 2e4d5aca09
Change zwave_js firmware update service API key (#77719)
* Change zwave_js firmware update service API key

* Update const.py
2022-09-02 16:50:05 +02:00
Avi Miller 1acb9a981a
Rename the binary sensor to better reflect its purpose (#77711) 2022-09-02 12:13:03 +00:00
Erik Montnemery 1bc8770b51
Remove area_id from entity_registry.async_get_or_create (#77700)
* Remove area_id from entity_registry.async_get_or_create

* Adjust tests

* Fix lying comment in test
2022-09-02 13:31:05 +02:00
Erik Montnemery 8924725d69
Improve some device registry tests (#77659) 2022-09-02 08:54:02 +02:00
amitfin 32e4a2515e
Time range should be treated as open ended (#77660)
* Time range should be treated as open end

* Refactored the logic of calculating the state

* Improve tests

* Improve tests

Co-authored-by: Erik <erik@montnemery.com>
2022-09-02 08:14:06 +02:00
Robert Svensson 6b361b70c9
Move up setup of service to make it more robust when running multiple instances of deCONZ (#77621) 2022-09-01 21:33:55 -04:00
Paulus Schoutsen 8eaadc0aaf
Bump frontend to 20220901.0 (#77689) 2022-09-01 21:24:30 -04:00
J. Nick Koston e230a1f253
Bump bluetooth-adapters to 0.3.3 (#77683) 2022-09-01 21:22:12 -04:00
GitHub Action ccef03f1d4 [ci skip] Translation update 2022-09-02 00:25:46 +00:00
starkillerOG 8e392b85ee
bump pynetgear to 0.10.8 (#77672) 2022-09-01 22:08:14 +00:00
Avi Miller 45f8b64a34
Add binary sensor platform to LIFX integration (#77535)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-01 22:07:21 +00:00
Diogo Gomes 1fe5948afd
Cleanup IPMA code (#77674)
revert yaml import
2022-09-01 23:15:42 +02:00
puddly 73e26b71b1
Migrate ZHA lighting to use newer zigpy ZCL request syntax (#77676)
* Migrate unit test to use more command definition constants

* Use keyword argument syntax for sending ZCL requests

* Ensure all ZHA unit tests pass
2022-09-01 15:32:32 -04:00
Paulus Schoutsen 57c766c03c
Pin Pandas 1.4.3 (#77679) 2022-09-01 15:00:50 -04:00
J. Nick Koston 7bac5fecee
Bump pySwitchbot to 0.18.22 (#77673) 2022-09-01 15:00:14 -04:00
J. Nick Koston 9a5bdaf87e
Ensure unique id is set for esphome when setup via user flow (#77677) 2022-09-01 14:10:20 -04:00
Erik Montnemery e326dd2847
Fix demo external energy statistics (#77665) 2022-09-01 14:03:37 -04:00
Nathan Spencer d0d1b303fd
Code quality improvements for litterrobot integration (#77605) 2022-09-01 14:02:46 -04:00
On Freund 1692808d5b
Increase sleep in Risco setup (#77619) 2022-09-01 14:02:09 -04:00
Jc2k 93a8aef4cc
Fix async_all_discovered_devices(False) to return connectable and unconnectable devices (#77670) 2022-09-01 12:57:49 -04:00
Erik Montnemery d65eaf11f4
Include entity registry id in entity registry WS API (#77668) 2022-09-01 11:51:27 -04:00
Ernst Klamer db4391adff
Add device class moisture (#77666) 2022-09-01 11:47:47 -04:00
Erik Montnemery cd2045b66d
Clean up user overridden device class in entity registry (#77662) 2022-09-01 11:45:19 -04:00
luar123 8afcde4ea9
Add and remove Snapcast client/group callbacks properly (#77624)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-01 08:52:06 -04:00
epenet d1ecd74a1a
Improve entity type hints [l] (#77655) 2022-09-01 14:14:31 +02:00
Christopher Bailey 08ab10d470
Fix timezone edge cases for Unifi Protect media source (#77636)
* Fixes timezone edge cases for Unifi Protect media source

* linting
2022-09-01 08:49:36 +00:00
uvjustin 3d64cf7304
Fix basic browse_media support in forked-daapd (#77595) 2022-09-01 10:46:43 +02:00
Kevin Stillhammer dec2661322
Required option_flow values for here_travel_time (#77651) 2022-09-01 10:19:21 +02:00
epenet 6f8b032a6e
Adjust notify type hints in mysensors (#77647) 2022-09-01 10:11:09 +02:00
Paulus Schoutsen 8dda2389c8
2022.10.0.dev0 (#77635) 2022-09-01 07:01:10 +02:00
J. Nick Koston 34ed6d1ecb
Bump bleak to 0.16.0 (#77629)
Co-authored-by: Justin Vanderhooft <justinvdhooft@gmail.com>
2022-08-31 22:43:18 -04:00
Artem Draft e19fb56dd3
Suppress 404 in Bravia TV (#77288) 2022-08-31 22:42:23 -04:00
Kevin Stillhammer 95dd9def66
Required config_flow values for here_travel_time (#75026) 2022-08-31 18:40:13 -07:00
Justin Vanderhooft f81cdf4bca
Bump melnor-bluetooth to 0.0.15 (#77631) 2022-09-01 00:23:45 +00:00
Matthias Alphart ae3dca11fe
Update xknx to 1.0.2 (#77627) 2022-09-01 01:18:34 +02:00
y34hbuddy a9fe9857bd
Implement reauth flow for volvooncall (#77328)
* implement reauth flow

* added more tests

* implement feedback for __init__.py

* implemented feedback

* remove impossible return checks

* raise UpdateFailed when update fails
2022-08-31 22:37:38 +02:00
Christopher Bailey de9f22f308
Bump version of pyunifiprotect to 4.2.0 (#77618) 2022-08-31 20:35:58 +00:00
epenet cf41dc639b
Adjust Available in hisense_aehw4a1 (#77590) 2022-08-31 22:22:07 +02:00
epenet 86c7f0bbac
Improve type hints in hive (#77586) 2022-08-31 22:19:44 +02:00
epenet c15faa161b
Improve type hints in heatmiser (#77592) 2022-08-31 22:18:39 +02:00
epenet 152022aef3
Improve type hints in home_connect (#77587) 2022-08-31 22:16:21 +02:00
epenet 448f4ee755
Improve entity type hints [j-k] (#77594) 2022-08-31 22:10:18 +02:00
epenet a40c1401d3
Adjust temperature_unit in heatmiser (#77584) 2022-08-31 22:06:14 +02:00
epenet 471878b5fa
Adjust temperature_unit in hisense_aehw4a1 (#77585) 2022-08-31 22:05:31 +02:00
Phil Bruckner c6b3b9fa90
Convert life360 to aiohttp (#77508)
Bump life360 package to 5.1.0.
2022-08-31 14:54:23 -05:00
Mick Vleeshouwer c98ee412c0
Catch unknown user exception in Overkiz integration (#76693) 2022-08-31 21:16:00 +02:00
Joakim Plate 083e902dc0
Ignore unknown states in universal media player (#77388)
Ignore unknown states
2022-08-31 19:53:14 +02:00
Paulus Schoutsen 1bee9923dc
Bump frontend to 20220831.0 (#77615) 2022-08-31 19:28:58 +02:00
jjlawren 4e21d56d7b
Bump plexapi to 4.13.0 (#77597) 2022-08-31 16:44:31 +00:00
puddly f8fc90bc07
Add ZHA config flow single instance checks for zeroconf and hardware (#77612) 2022-08-31 12:41:41 -04:00
J. Nick Koston 67ccb6f25a
Fix yet another Govee H5181 variant (#77611) 2022-08-31 12:41:22 -04:00
Paulus Schoutsen 708e614823
Migrate Ecowitt to webhooks (#77610) 2022-08-31 12:41:04 -04:00
puddly 4b24370549
ZHA Yellow config flow fixes (#77603) 2022-08-31 11:21:37 -04:00
Erik Montnemery 7d5c00b851
Fix comment in login_flow (#77600) 2022-08-31 15:58:18 +02:00
Artem Draft 0aae416425
Log command list in Bravia TV Remote (#77329) 2022-08-31 15:58:07 +02:00
Erik Montnemery d0375959fd
Add additional test to schedule (#77601) 2022-08-31 15:19:50 +02:00
MosheTzvi 875651f32d
Add Chatzot Hayom to Jewish calendar (#76378) 2022-08-31 14:47:23 +02:00
Erik Montnemery d18097580e
Bump hatasmota to 0.6.0 (#77560) 2022-08-31 14:23:57 +02:00
Nathan Spencer 5bc2f37bf8
Add support for Feeder-Robot select (#77512)
* Add support for Feeder-Robot select

* Use lambda to get current selected option

* Use generics and required keys mixin

* Code improvements

* Even more generics

* Fix missing type hint

* Apply suggestions from code review

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

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-08-31 13:23:51 +02:00
rikroe cfa838b27a
Small refactoring of BMW lock entity (#77451)
* Refactor entity_description

* Fix default attrs not always shown

* Simplify further

Co-authored-by: @emontnemery

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-31 13:19:47 +02:00
Diogo Gomes f98e86d3a6
Bump pyipma to 3.0.2 (#76332)
* upgrade to pyipma 3.0.0

* bump to support python3.9

* remove deprecated async_setup_platform

* full coverage

* add migrate
2022-08-31 07:00:42 -04:00
Robert Hillis e5eddba223
Litterrobot - Do not load a platform if there is no device supporting it (#77497)
* Do not load button platform if no Litter Robot 3

* uno mas

* uno mas

* Do not load Vacuum if not needed

* Use dict to map platforms for each model

* uno mas
2022-08-31 12:54:59 +02:00
Rami Mosleh b303c8e040
Refactor version key in `glances` (#77541)
* update version key

* Fix merge mistake

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-08-31 12:52:52 +02:00
Pascal Vizeli 105bb3e082
Ecowitt integration (#77441)
* Add ecowitt integration

* add tests

* use total

* use total

* test coverage

* Update homeassistant/components/ecowitt/__init__.py

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

* Update homeassistant/components/ecowitt/binary_sensor.py

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

* Update homeassistant/components/ecowitt/entity.py

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

* Update homeassistant/components/ecowitt/diagnostics.py

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

* add to async_on_unload

* remove attr_name / unload callback

* support unload platforms

* using replace

* address mapping

* update type

* mark final

* Apply suggestions from code review

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

* Fix bracket

* Fix another bracket

* Address comment

* Add strings

* update tests

* Update homeassistant/components/ecowitt/strings.json

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

* update text

* Update homeassistant/components/ecowitt/strings.json

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

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-31 12:51:39 +02:00
likeablob ee6ffb1be4
Fix `feedreader` component to keep the last entry timestamp up to date (#77547)
Fix feedreader to keep the last entry timestamp up to date

- Use `updated` date in precedence over `published` date to update `last_entry_timestamp`
  in the case a feed entry has both updated date and published date.
2022-08-31 12:43:50 +02:00
Erik Montnemery 008ac8d10d
Improve statistics metadata WS API (#77209) 2022-08-31 11:30:45 +02:00
epenet 7c585bd380
Fix sync context in icloud (#77582)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-31 10:52:41 +02:00
Robert Svensson 61ff52c93a
Normalize deCONZ sensor unique IDs (#76357)
* Normalize deCONZ sensor unique IDs

* Handle battery sensors properly

* Fix daylight sensor unique ID
2022-08-31 08:12:25 +02:00
epenet 3df2ec1ed6
Implement reauth_confirm in icloud (#77530) 2022-08-31 00:07:32 -04:00
Nathan Spencer e192c99d2f
Add support for Feeder-Robot switches (#77503) 2022-08-31 00:03:02 -04:00
On Freund 3caa4963bc
Use partition name as device name in Risco alarm control panels (#77526) 2022-08-30 23:48:03 -04:00
Joakim Plate 4185a70882
Allow data from un-connectable sources in fjäråskupan (#77236) 2022-08-30 23:40:25 -04:00
Robert Svensson ff3d3088ee
Add Aqara FP1 support to deCONZ integration (#77568) 2022-08-30 23:33:05 -04:00
Raman Gupta 0c35166a7b
Simplify zwave_js update entity (#77572) 2022-08-30 22:02:13 -04:00
Nathan Spencer 3ba1fbe69d
Add pet weight sensor for Litter-Robot 4 (#77566) 2022-08-30 22:01:49 -04:00
J. Nick Koston 5297dc1d5f
Bump govee-ble to add support for H5185 firmware variant (#77564) 2022-08-30 22:01:35 -04:00
J. Nick Koston edb8c58566
Add sensorpro (BLE) integration (#77569) 2022-08-30 21:49:31 -04:00
Erik Montnemery cdca08e68a
Add periodic system stats to hardware integration (#76873) 2022-08-30 21:45:13 -04:00
GitHub Action 1f08635d0a [ci skip] Translation update 2022-08-31 00:31:51 +00:00
J. Nick Koston 4b3355c111
Bump flux_led to 0.28.31 to add support for Armacost devices (#77500) 2022-08-30 16:14:58 -05:00
Justin Vanderhooft 8d94c8f74a
Add Melnor Bluetooth valve watering Integration (#70457) 2022-08-30 16:06:44 -05:00
Ernst Klamer f43f440739
Add new sensors to BThome (#77561) 2022-08-30 17:03:41 -04:00
Erik Montnemery 7c5a5f86ee
Allow setting to-time in schedule to 24:00 (#77558) 2022-08-30 15:54:31 -04:00
epenet 4b2e4c8276
Improve type hints in demo [3/3] (#77186) 2022-08-30 21:51:21 +02:00
epenet 7f883b7ff3
Use attributes in mochad (#76032) 2022-08-30 21:49:28 +02:00
epenet 46affe5c82
Adjust type hints in generic_thermostat (#77490) 2022-08-30 21:46:50 +02:00
Erik Montnemery 4655ed995e
Fix resetting of attributes in EntityRegistry.async_get_or_create (#77516)
* Fix resetting of attributes in EntityRegistry.async_get_or_create

* Fix typing

* Fix resetting config entry

* Improve test

* Update tests
2022-08-30 21:07:50 +02:00
epenet 67db380253
Adjust type hints in greewave (#77492) 2022-08-30 21:06:31 +02:00
epenet 809aa6b30f
Adjust type hints in gitlab_ci (#77493) 2022-08-30 21:05:49 +02:00
Erik Montnemery c8c9a4b09f
Migrate osramlightify light to color_mode (#70915) 2022-08-30 20:58:38 +02:00
epenet b366354d55
Improve type hints in insteon (#77532) 2022-08-30 20:56:10 +02:00
epenet 7f55e26cd1
Improve type hints in icloud (#77531) 2022-08-30 20:55:27 +02:00
epenet a1374963d1
Improve entity type hints [h] (#77468) 2022-08-30 20:55:01 +02:00
Kevin Addeman 05264cedfa
Fix lutron_caseta handling of 'None' serials for RA3/QSX zones (#77553)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-30 13:46:54 -05:00
Erik Montnemery 8936c91f50
Migrate smartthings light to color_mode (#70968) 2022-08-30 20:45:52 +02:00
Nathan Spencer fe881230db
Add support for Feeder-Robot button (#77501)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-08-30 13:30:42 -05:00
J. Nick Koston 0c60e887e3
Bump unifi-discovery to 1.1.6 (#77557) 2022-08-30 13:30:30 -05:00
J. Nick Koston ba499dff25
Add Nutrichef as a supported brand of inkbird (#77551) 2022-08-30 13:29:13 -05:00
J. Nick Koston 935274c2e7
Bump bluetooth-auto-recovery to 0.3.0 (#77555) 2022-08-30 12:55:48 -05:00
epenet 23090cb8a2
Improve entity type hints [i] (#77529) 2022-08-30 19:21:08 +02:00
epenet 50663bbc5d
Use _attr_available in denonavr (#77486) 2022-08-30 19:19:36 +02:00
epenet 9cdb7bba4c
Fix glances config-flow flaky test (#77549) 2022-08-30 11:57:42 -05:00
Raman Gupta df214c2d26
Add support for zwave_js firmware update service (#77401)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-08-30 12:49:27 -04:00
puddly f78b39bdbf
ZHA backup/restore config flow (#77044) 2022-08-30 12:40:16 -04:00
Rami Mosleh e48d493db4
Bump `glances` library to 0.4.1 (#77540) 2022-08-30 11:14:54 -05:00