Commit Graph
49330 Commits
Author SHA1 Message Date
RadekHvizdos 81f9cc40dd Add missing Shelly Cover sensors bugfix (#71831)
Switching Shelly Plus 2PM from switch to cover mode results in missing sensors for Power, Voltage, Energy and Temperature.

These parameters are still available in the API, but need to be accessed via "cover" key instead of "switch" key.

This change adds the missing sensors.
2022-05-18 12:14:29 -07:00
Christopher BaileyandJ. Nick Koston 5f3c7f11d8 Fix handling package detection for latest UniFi Protect beta (#71821)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-18 12:14:29 -07:00
Ethan MaddenandMartin Hjelmare 2448661371 Fix VeSync air_quality fan attribute (#71771)
* Refactor attribute inclusion for VeSync fans.

A recent change to pyvesync (introduced in 2.2) changed `air_quality` to
refer to air quality as an integer representation of perceived air
quality rather than a direct reading of the PM2.5 sensor. With 2.3 the
PM2.5 sensor access was restored as `air_quality_value`. Unfortunately,
`air_quality_value` was not added as an attribute on the fan object, and
rather only exists in the `details` dictionary on the fan object.

* Update homeassistant/components/vesync/fan.py

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

* Rename `air_quality_value` attribute to `pm25`

This should make it more clear what the attribute actually represents

* `air_quality` attribute reports `air_quality_value`

This restores previous behavior for this integration to what it was
before the `pyvesync==2.02` upgrade, using the `air_quality` attribute
to report pm2.5 concentrations (formerly `air_quality`) rather the
vague measurement now reported by `air_quality`.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-18 12:14:28 -07:00
rappenze 107615ebef Limit parallel requests in fibaro light (#71762) 2022-05-18 12:14:27 -07:00
Avi Miller 5fbc4b8dba Remove LIFX bulb discovery from the inflight list if it fails to connect (#71673)
Remove the bulb discovery from the inflight list if it fails to connect

Signed-off-by: Avi Miller <me@dje.li>
2022-05-18 12:14:26 -07:00
Simone ChemelliandPaulus Schoutsen a3bd911ce3 Warn user if "model" key is missing from Shelly firmware (#71612)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 12:14:25 -07:00
MichaelandPaulus Schoutsen 5deb78a0dd Refresh camera stream source of Synology DSM connected cameras (#70938)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-18 12:14:02 -07:00
Erik Montnemery 99c5070591 Add missing cast test fixture (#71595) 2022-05-12 17:34:15 -07:00
Paul Annekov f65eca9c19 Changed API for Ukraine Alarm (#71754) 2022-05-12 16:48:05 -07:00
2500cc6132 Add use_wallclock_as_timestamps option to generic (#71245)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-12 16:46:14 -07:00
J. Nick Koston 316bfc89f2 Fix merge conflict with master to dev in sabnzbd (CI fix) (#71605) 2022-05-12 16:41:15 -07:00
Paulus Schoutsen c9543d8665 Bumped version to 2022.5.4 2022-05-12 07:34:25 -07:00
Raman Gupta a19a88db63 Fix zwave_js device automation bug (#71715) 2022-05-12 07:34:16 -07:00
J. Nick Koston 1f53786e1b Prevent history_stats from rejecting states when microseconds differ (#71704) 2022-05-12 07:33:54 -07:00
rappenze aa30122434 Fix wrong brightness level change visible in UI (#71655) 2022-05-12 07:32:45 -07:00
Robert Svensson fabea6aacb Bump pydeconz to v92 (#71613) 2022-05-12 07:32:44 -07:00
Maciej Bieniek cd69b5708f Bump nam backend library to version 1.2.4 (#71584) 2022-05-12 07:32:43 -07:00
Evan Bruhn 596039ff4a Bump logi_circle to 0.2.3 (#71578) 2022-05-12 07:32:42 -07:00
Erik Montnemery 8f5677f523 Bump pychromecast to 12.1.2 (#71567) 2022-05-12 07:32:41 -07:00
Erik Montnemery 0099560a8d Correct device class for meater cook sensors (#71565) 2022-05-12 07:32:40 -07:00
Erik Montnemery 4b28d522a8 Improve Google Cast detection of HLS playlists (#71564) 2022-05-12 07:32:39 -07:00
Christopher BaileyandJ. Nick Koston 2caa92b1eb Fix typer/click incompatibilty for unifiprotect (#71555)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-12 07:32:38 -07:00
Shai Ungar 18d440cc6f Fix SABnzbd config check (#71549) 2022-05-12 07:32:38 -07:00
Aaron Bach 6c70a518eb Bump simplisafe-python to 2022.05.1 (#71545)
* Bump simplisafe-python to 2022.05.1

* Trigger Build
2022-05-12 07:32:36 -07:00
Shai UngarandMartin Hjelmare b213f221b5 Migrate sabnzbd sensors unique ids (#71455)
* Migrate sensors unique ids

1. migrate sensors to have unique id constructed also from entry_id
2. add migration flow in init
3. bump config flow to version 2
4. add tests for migration

* move migrate to async_setup_entry

* 1. Use the entity registry api in tests
2. Set up the config entry and not use integration directly
3. remove patch for entity registry

* fix too many lines

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-12 07:32:35 -07:00
Tom Harris 4a54425426 Fix Insteon issue with dimmer default on level (#71426) 2022-05-12 07:32:34 -07:00
Marvin ROGER 22930457c5 Fix timezone issue on onvif integration (#70473) 2022-05-12 07:32:33 -07:00
Paulus Schoutsen 534eef0b76 Bumped version to 2022.5.3 2022-05-08 08:23:26 -07:00
Paulus Schoutsen d477546e76 Fix other enums in helpers (#71505) 2022-05-08 08:23:21 -07:00
Paulus Schoutsen f88c643e1c Bump frontend to 20220504.1 (#71504) 2022-05-08 08:23:20 -07:00
Shai Ungar 3ee32e22c1 fix speed sensor wrong number (#71502) 2022-05-08 08:23:19 -07:00
9f1d996d95 Add Ukraine Alarm integration (#71501)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-08 08:23:18 -07:00
Maciej Bieniek 51ba02f141 Add timeout (#71499) 2022-05-08 08:23:18 -07:00
Austin Mroczek f817caa7fc bump total_connect_client to 2022.5 (#71493) 2022-05-08 08:23:17 -07:00
0bmay fccad81227 Update py-canary to 0.5.2 (#71489)
Update py-canary from 0.5.1 to 0.5.2
Github issue #71052
Github Issue #44830
2022-05-08 08:23:16 -07:00
rappenze 34cbf26e2f Revert usage of Fibaro Client V5 as it has too many errors (#71477) 2022-05-08 08:23:16 -07:00
rappenze 5b4764351d Fix rgb conversion in fibaro light (#71476) 2022-05-08 08:23:15 -07:00
J. Nick Koston b2721d6596 Ensure sql sensors keep working after using the options flow (#71453)
* Ensure sql sensors keep working after using the options flow

Fixes
```
2022-05-06 16:17:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up sql platform for sensor
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 97, in async_setup_entry
    name: str = entry.options[CONF_NAME]
KeyError: name
```

* ensure saving the options flow fixes the broken config entry

* ensure options changes take effect right away

* Add cover to validate the reload
2022-05-08 08:23:14 -07:00
J. Nick Koston b18d64fdac Fix display of multiline queries in sql config flow (#71450) 2022-05-08 08:23:13 -07:00
Paulus Schoutsen 6abc51b363 Move flexit climate to HVAC action (#71443) 2022-05-08 08:23:12 -07:00
Paulus Schoutsen 4a7710572c Bumped version to 2022.5.2 2022-05-06 11:25:53 -07:00
Paulus Schoutsen dc3e421b3b Stringify enums in selectors (#71441) 2022-05-06 11:25:48 -07:00
David F. Mulcahey 2fffac02a3 Update Zigpy attribute cache for switch devices that do not report state (#71417)
* fix devices that do not report state

* whoops
2022-05-06 11:25:48 -07:00
0bmay 46a36adf26 Fix Canary camera stream blocking call (#71369)
* fix: Canary stream camera, fix blocker

fixes a "detected blocking call to putrequest inside the event loop. This is causing stability issues. Please report issue for canary doing blocking calls at homeassistant/components/canary/camera.py, line 149: self._live_stream_session.live_stream_url, extra_cmd=self._ffmpeg_arguments" from log file.

* refactor: black formatting changes

tsia
2022-05-06 11:25:47 -07:00
Alessandro Di Felice c54e236416 Upgrade glances_api to 0.3.5 (#71243) 2022-05-06 11:25:46 -07:00
Paulus Schoutsen 4ae596fef2 Bump pychromecast to 12.1.1 (#71377) 2022-05-05 15:01:39 -07:00
Paulus Schoutsen e2ae62ea95 Bumped version to 2022.5.1 2022-05-05 14:43:44 -07:00
Shai Ungar 9a4ce19aff Add unique ids to sensors (#71367) 2022-05-05 14:43:34 -07:00
Paulus SchoutsenandShay Levy 61a3873d09 Fix importing blueprints (#71365)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-05 14:43:33 -07:00
Paulus Schoutsen 9f8111cabe Ignore loading system entity category (#71361) 2022-05-05 14:43:32 -07:00