Commit Graph

29283 Commits (8a72e8df79883897c42ac9a1a6a743b64be654f0)

Author SHA1 Message Date
Franck Nijhof 8c36f5c627
Deprecate Lyft integration (#53005) 2021-07-14 12:07:00 +02:00
Erik Montnemery ddc788bf8e
Include future statistics in history/list_statistic_ids (#52942)
* Include future statistics in history/list_statistic_ids

* Improve tests
2021-07-14 11:54:55 +02:00
J. Nick Koston 30d465e9dd
Update homekit to use network integration (#52946) 2021-07-14 11:44:58 +02:00
jan iversen c360d6009c
copy() --> deepcopy(). (#52794) 2021-07-14 11:00:16 +02:00
Franck Nijhof 2c3f3d7bda
Remove defunct Weather Underground integration (#52999) 2021-07-14 10:55:06 +02:00
Doug Hoffman 88fb30af11
Bump pyatv to 0.8.1 (#52849)
* Bump pyatv to 0.8.1

* Update apple_tv tests for new create_session location

* Update test_user_adds_unusable_device to try device with no services

pyatv >=0.8.0 considers AirPlay a valid service and no longer fails under the previous conditions.
2021-07-14 10:45:47 +02:00
Raman Gupta f13a15f2a6
Make zwave_js value updated event logic more performant (#52997) 2021-07-14 08:56:10 +02:00
GitHub Action 7b7062dded [ci skip] Translation update 2021-07-14 00:10:16 +00:00
Peter Nijssen 9cd6a9626e
Update pyrainbird to 0.4.3 (#52990) 2021-07-13 18:10:23 -04:00
Robert Hillis d76607e945
Use entity class attributes for august (#52744) 2021-07-13 09:56:34 -10:00
jan iversen 12ac666459
only allow one active call in each platform. (#52823) 2021-07-13 21:45:42 +02:00
Erik Montnemery 19d3aa71ad
Enable basic type checking for recorder (#52440)
* Enable basic type checking for recorder

* Tweak
2021-07-13 21:21:45 +02:00
Tom Harris 960684346f
Fix issue connecting to Insteon Hub v2 (#52970) 2021-07-13 20:27:04 +02:00
jjlawren f39f087b10
More graceful exception handling in Plex library sensors (#52969) 2021-07-13 20:22:31 +02:00
Ron Klinkien ff56ede960
Bump python-fireservicerota to 0.0.43 (#52966) 2021-07-13 20:21:50 +02:00
Raman Gupta 794571efdd
Add missing device classes for climacell sensors (#52979) 2021-07-13 20:13:56 +02:00
Robert Hillis 7f0eff8230
Use entity class attributes for Blackbird (#52889)
* Use entity class attributes for blackbird

* rework

* undo media_title
2021-07-13 20:08:22 +02:00
Robert Hillis 2b65501ca7
Use entity class attributes for aquostv (#52670)
* Use entity class attributes for aquostv

* fix

* fix

* Tweak

* tweak
2021-07-13 20:06:41 +02:00
Raman Gupta 026ca4e4e4
Additional fixes for siren platform (#52971) 2021-07-13 10:56:41 -07:00
Erik Montnemery 777fec62a5
Set device class for climacell temperature sensors (#52965) 2021-07-13 13:35:55 -04:00
René Klomp 23b0633ae2
Bump pysma to 0.6.4 (#52973) 2021-07-13 19:33:53 +02:00
puddly 987c7a289a
Update ZHA to support zigpy 0.34.0 device initialization (#52610)
* Handle `None` node descriptors

* Skip loading uninitialized devices

* Fix unit test incorrectly handling unset cluster `ep_attribute`

* Revert filtering devices by status during startup
2021-07-13 19:31:17 +02:00
stefano055415 7aaa08f153
Add binary_sensor support to Freedompro (#52717)
* Update Freedompro

* change _attr_unique_id with unique_id
2021-07-13 18:37:09 +02:00
Robert Hillis 55b0d562ce
Use entity class attributes for automation (#52694)
* Use entity class attributes for automation

* tweak
2021-07-13 15:01:43 +02:00
Erik Montnemery e563dc0d7b
Set device_class on additional temperature sensors (#52960)
* Set device_class on additional temperature sensors

* Apply suggestions from code review

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>

* Set device class for greeneye_monitor sensor

* Set device class for bme280 and bme680 sensor

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-07-13 14:20:47 +02:00
stefano055415 96f6e0e4a4
Add sensor support to Freedompro (#52726)
* Update Freedompro

* Update tests/components/freedompro/test_sensor.py

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

* add new test for sensor and add unit_of measurement and state_class

* add test state updates from the API

* optimizer code test

* optimizer code sensor

* Update homeassistant/components/freedompro/sensor.py

* Fix imports

* Update homeassistant/components/freedompro/sensor.py

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

* Update homeassistant/components/freedompro/sensor.py

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

* Update homeassistant/components/freedompro/sensor.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-13 13:59:34 +02:00
Shulyaka e9948100a7
Add generic hygrostat integration (#36759)
* generic_hygrostat: new integration
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-07-13 13:25:29 +02:00
Erik Montnemery 3408912ded
Improve docstring for async_get_device_class_lookup (#52921) 2021-07-13 10:55:18 +02:00
Raman Gupta 30def802fc
Validate tone is valid when processing siren.turn_on service call (#52953)
* Validate tone is valid when processing siren.turn_on service call

* Better message
2021-07-13 10:42:35 +02:00
Lincoln Kirchoff ac39607ae9
Fix modbus climate precision configuration variable (#52651)
* Updated precision to follow the tenths, halves, whole notation used by
other home assistant climate modules. Added the precision @property so
that home assistant can handle this rounding in the frontend, rather
than in the _async_read_register() method.

* Fixed a pylinter error for periods in user-facing log messages, and
updated `precision` defaults in components/modbus/__init__.py to be
consistent with an error case, using `PRECISION_WHOLE`.

* revert changes to `precision:` configuration variable
instead, the climate `precision()` function will infer whether or not
to display in whole or tenths. halves will be unsupported, which should
be fine.

* re-added missing line that was removed

* revert change to use self._input_type instead of CALL_TYPE_REGISTER_HOLDING
2021-07-13 10:36:54 +02:00
Erik Montnemery c5556a091e
Return empty when listing statistic_ids for unsupported statistic (#52954) 2021-07-13 10:35:55 +02:00
Raman Gupta 9cbf88d944
Switch to using entry.async_on_remove (#52952) 2021-07-13 10:31:49 +02:00
J. Nick Koston a021d7d628
Expose async_get_source_ip in the network integration (#52901)
* Expose async_get_source_ip in the network integration

* Handle source ip on disabled interface

* add coverage
2021-07-13 10:26:00 +02:00
stefano055415 d09035db2a
Add switch support to Freedompro (#52727)
* Update Freedompro

* add test state updates from the API

* fix test switch

* fix test
2021-07-13 09:41:52 +02:00
Raman Gupta 4a058503ca
Change behavior of Z-Wave JS services (#52941)
* Change behavior of Z-Wave JS services

* pop parameters in for loop

* Update logger message
2021-07-13 01:02:36 -04:00
Raman Gupta e915f5be53
Handle FailedCommand exceptions in zwave_js WS API (#52461)
* Handle zwave-js errors in WS API

* Unsubscribe callbacks when zwave-js error is caught

* fix tests

* simplify unsub logic

* add tests

* add kwargs to be safe

* use existing msg format

* switch to generic failed command handling

* remove unneeded constant

* Update homeassistant/components/zwave_js/api.py

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

* Update homeassistant/components/zwave_js/api.py

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

* fix

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-13 00:13:43 -04:00
Raman Gupta 92e4013f73
Fix siren turn on parameter filtering (#52947)
* Fix siren turn on parameter filtering

* fix test
2021-07-12 22:18:04 -04:00
GitHub Action 6723942bf8 [ci skip] Translation update 2021-07-13 00:13:03 +00:00
Tobias Sauerwein 4afede9e08
Add schedule selector for Netatmo (#52909)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-07-12 15:27:48 -07:00
Robert Hillis fe5abf1a87
Use entity class attributes for aqualogic (#52668) 2021-07-13 00:22:50 +02:00
Ville Skyttä 9864f2ef8b
String formatting cleanups (#52937) 2021-07-13 00:12:55 +02:00
jjlawren 2970931d8d
Use entity class attributes for Plex (#52617) 2021-07-12 23:01:58 +02:00
Otto Winter 4d16cda957
ESPHome enable static type checking (#52348) 2021-07-12 22:56:10 +02:00
Robert Hillis 9b2107b71f
Use entity class attributes for Blebox (#52890)
* Use entity class attributes for blebox

* rework

* Apply suggestions from code review

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 22:52:38 +02:00
jjlawren ab5fd70988
Bump pysonos to 0.0.52 (#52934) 2021-07-12 13:50:51 -07:00
Robert Hillis 7ef4bd53ec
Use entity class attributes for Blockchain (#52894)
* Use entity class attributes for blockchain

* rework

* tweak
2021-07-12 22:49:38 +02:00
Robert Hillis adb5fd5a03
Use entity class attributes for bbox (#52838)
* Use entity class attributes for bbox

* tweak
2021-07-12 22:47:58 +02:00
Erik Montnemery 9b8a776001
Set device_class on temperature sensors A-E (#49524)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 22:45:29 +02:00
J. Nick Koston 0099b54489
Fix recorder purge with sqlite3 < 3.32.0 (#52929) 2021-07-12 22:03:13 +02:00
J. Nick Koston e6ea9f4708
Fix nexia thermostats humidify without dehumidify support (#52758) 2021-07-12 21:39:51 +02:00
bwduncan ee52706f03
Poll Nissan servers for battery updates (#44826) 2021-07-12 08:57:08 -10:00
Erik Montnemery d1f3c20079
Set device_class on temperature sensors L-Q (#52919) 2021-07-12 20:41:45 +02:00
Milan Meulemans 0a3aab935a
Use properties instead of raw data in the rituals integration (#52587) 2021-07-12 20:40:16 +02:00
Erik Montnemery 3e09787d85
Set device_class on temperature sensors F-K (#52918)
* Set device_class on temperature sensors F-K

* Fix juicenet sensor
2021-07-12 20:32:55 +02:00
jan iversen 646862ec96
Add array write to turn_on/off in modbus switch/fan/light (#52582) 2021-07-12 11:22:53 -07:00
Ron Klinkien 8f8935c859
Bump python-fireservicerota to 0.0.42 (#52807) 2021-07-12 11:21:10 -07:00
Erik Montnemery 5e472f2c06
Improve typing of Tasmota (1/3) (#52746) 2021-07-12 20:14:03 +02:00
jan iversen 5caf170c78
Correct Wrong "raise" in modbus validators. (#52924) 2021-07-12 11:06:31 -07:00
Franck Nijhof 5c200581b6
Upgrade sentry-sdk to 1.3.0 (#52926) 2021-07-12 20:03:40 +02:00
Tom Harris ec8f11f1e3
Bump pyinsteon to 1.0.11 (#52927) 2021-07-12 20:02:56 +02:00
Erik Montnemery 2e44e256f0
Improve typing of Tasmota (3/3) (#52748) 2021-07-12 19:17:44 +02:00
Erik Montnemery 1a74fd7a14
Set device_class on temperature sensors R-Z (#52920) 2021-07-12 18:53:52 +02:00
Robert Hillis ad0ccc1b70
Use entity class attributes for apple_tv (#52664)
* Use entity class attributes for apple_tv

* fix pylint

* tweak
2021-07-12 18:29:34 +02:00
Erik Montnemery 8c812bc25c
Improve typing of Tasmota (2/3) (#52747)
* Improve typing of Tasmota (2/3)

* Add more typing, add TasmotaOnOffEntity

* Address review comments
2021-07-12 18:27:11 +02:00
J. Nick Koston 98109caee9
Add zeroconf discovery to Sonos (#52655) 2021-07-12 18:24:12 +02:00
J. Nick Koston 6a5dcf0869
Handle dhcp packets without a hostname (#52882)
* Handle dhcp packets without a hostname

- Since some integrations only match on OUI we want to
  make sure they still see devices that do not request
  a specific hostname

* Update tests/components/dhcp/test_init.py

* Update homeassistant/components/dhcp/__init__.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 17:25:16 +02:00
Tobias Sauerwein 40549d9d2f
Add some type hints for webhook component (#52895)
* Add some type hints

* Fix type hint

* Address comment

* Make pylint happy
2021-07-12 17:24:56 +02:00
jjlawren 2b6a3716e8
Ignore Sonos Boost devices during discovery (#52845) 2021-07-12 17:09:45 +02:00
J. Nick Koston 0f6a0f6bcd
Add the Trane brand to nexia (#52805) 2021-07-12 16:30:54 +02:00
J. Nick Koston a810c1ff08
Bump aiohomekit to 0.5.1 to solve performance regression (#52878)
- Changelog: https://github.com/Jc2k/aiohomekit/compare/0.5.0...0.5.1

- Note that #52759 will need to be cherry-picked under this commit
2021-07-12 16:13:07 +02:00
Robert Hillis 11edbcabc8
Use entity class attributes for Bitcoin (#52887)
* Use entity class attributes for bitcoin

* rework

* fix

* tweak
2021-07-12 16:03:27 +02:00
Daniel Hjelseth Høyer 900eab5a68
Surepetcare, fix set_lock_state (#52912)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-12 15:57:26 +02:00
Robert Hillis 01afd141c6
Use entity class attributes for Bizkaibus (#52888) 2021-07-12 10:37:14 +02:00
Marc Mueller 5d2e5d2612
Import Protocol from typing (#52848) 2021-07-12 10:35:17 +02:00
Robert Hillis a1d6e12c45
Use entity class attributes for Bh1750 (#52886)
* Use entity class attributes for bh1750

* rework
2021-07-12 10:20:15 +02:00
Robert Hillis 12555d09d6
Use entity class attributes for Blinksticklight (#52892)
* Use entity class attributes for blinksticklight

* rework

* remove self._serial
2021-07-12 09:48:42 +02:00
Simone Chemelli 13c142a402
Fix Soundbar exclusion from SamsungTV (#51023)
* Improved check

* Fix tests

* Fix logic and tests

* Update tests
2021-07-12 08:58:53 +02:00
Robert Svensson fd6b5ed072
Prefer using xy over hs when supported by light (#52883) 2021-07-12 08:17:50 +02:00
jan iversen 2ecfd74fa4
Add more data_types to modbus (#52423)
* Add more data_types.

* Use new struct when writing temperature.
2021-07-12 07:58:45 +02:00
Ville Skyttä 91a2b96da0
Implement stable unique id for Huawei LTE, requires credentials on setup (#49878) 2021-07-11 21:25:00 -07:00
Raman Gupta e652ef51a1
Initial support for zwave_js device conditions (#52003) 2021-07-11 21:22:33 -07:00
GitHub Action 2ddaf746e6 [ci skip] Translation update 2021-07-12 00:09:46 +00:00
Leszek Swirski e556722281
Add device classes to homematicip_cloud cover (#52793)
Make HMIP covers report a SHUTTER/BLIND/GARAGE device_class (as
appropriate).
2021-07-11 18:51:28 -04:00
J. Nick Koston 574cb03acc
Send ssdp requests to ipv4 broadcast as well (#52760)
* Send ssdp requests to 255.255.255.255 as well

- This matches pysonos behavior and may fix reports of
  inability to discover some sonos devices
  https://github.com/amelchio/pysonos/blob/master/pysonos/discovery.py#L120

* Update homeassistant/components/ssdp/__init__.py
2021-07-11 17:03:48 -04:00
Raman Gupta 0f076610fd
Add siren platform (#48309)
* Add siren platform

* add more supported flags and an ability to set siren duration

* tone can be int or string

* fix typing

* fix typehinting

* fix typehints

* implement a proposed approach based on discussion

* Address comments

* fix tests

* Small fix

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* typing

* use class attributes

* fix naming

* remove device from service description

* Filter out params from turn on service

* fix tests

* fix bugs and tests

* add test

* Combine is_on test with turn on/off/toggle service tests

* Update homeassistant/components/siren/__init__.py

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

* fix filtering of turn_on attributes

* none check

* remove services and attributes for volume level, default duration, and default tone

* Update homeassistant/components/siren/__init__.py

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

* Update homeassistant/components/siren/__init__.py

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

* Update homeassistant/components/siren/__init__.py

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

* import final

* Update homeassistant/components/siren/__init__.py

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

* Fix typing and used TypedDict for service parameters

* remove is_on function

* remove class name redundancy

* remove extra service descriptions

* switch to positive_int

* fix schema for tone

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-11 16:51:11 -04:00
EddyK69 11d7efb785
Add AllTrips sensors for BMW Connected Drive (#50420)
* Add AllTrips sensors for BMW Connected Drive

Added several new AllTrips sensors and some optional extra AllTrips sensors (disabled by default)

* Fix for failed checks

* Fix for failed check (black)

* Code tidying

Changed code after useful comments ;)
2021-07-11 16:47:32 -04:00
Robert Hillis c865a1876e
Use entity class attributes for arlo (#52681)
* Use entity class attributes for arlo

* revert sensor
2021-07-11 16:45:05 -04:00
Robert Hillis 9b577e830d
Use entity class attributes for azure_devops (#52698) 2021-07-11 16:42:52 -04:00
Robert Hillis 5849a97150
Use entity class attributes for Beewi smartclim (#52839)
* Use entity class attributes for beewi_smartclim

* rework
2021-07-11 16:41:14 -04:00
Robert Hillis 77c68cb507
Use entity class attributes for bayesian (#52831) 2021-07-11 16:37:41 -04:00
Robert Hillis d01227f141
Use entity class attributes for bbb_gpio (#52837) 2021-07-11 16:35:36 -04:00
Joakim Sørensen d7b2ec80b2
Bump pyhaversion to 21.7.0 (#52880) 2021-07-11 16:33:03 -04:00
Raman Gupta f234da6379
Bump zwave-js-server-python to 0.27.1 (#52885) 2021-07-11 16:27:46 -04:00
GitHub Action b484969b09 [ci skip] Translation update 2021-07-11 00:09:40 +00:00
Marc Mueller b5cec353cc
Fix pylint issue with stream component c-extension (#52847)
* Rename 'extension-pkg-whitelist' setting to 'extension-pkg-allow-list'
* Add 'av.stream' and 'av.audio.stream'
* Replace 'Any' type hint
2021-07-10 22:58:37 +02:00
Joakim Plate dd648f5c9c
Update arcam lib to 0.7.0 (#52829) 2021-07-10 22:31:42 +02:00
Alexei Chetroi fb7b202251
Bump up ZHA depdencies (#52818) 2021-07-09 22:37:56 -04:00
GitHub Action b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
Simone Chemelli bbff9622a7
Fix Neato parameter for token refresh (#52785)
* Fix param

* cleanup
2021-07-09 13:12:51 -04:00
Chris 92ab471f7b
Add transition support to zwave_js lights (#52160)
* Add transition support to zwave_js lights

* Add transition support to color_switch lights

* simplify and add tests

* fix logic

* add check for color transition to add SUPPORT_TRANSITON supported features

* Use new metadata property

* Use new metadata property

* update tests and device state dump json files

* fix file perms

* update tests and fixtures with new metadata

* update test

* update test

* update tests for color transitions

* check for color tansitions as well

* more tests

* fix color transtions

* remove unneed default

* set add_to_watched_value_ids to false

* set transition default

* properly set default

* update tests

* make sure transition is an int

* suggested changes

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* formatting

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-09 12:15:20 -04:00
stefano055415 1e6229dd7b
Add device info to Freedompro (#52715)
* Update Freedompro

* Update homeassistant/components/freedompro/light.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-09 16:36:13 +02:00
Robert Svensson 2787dc9e97
Bump dependency to properly handle current and voltage not being reported on some zhapower endpoints (#52764) 2021-07-09 11:54:40 +02:00
Jc2k 7e2ef8f0c7
Support certain homekit devices that emit invalid JSON (#52759) 2021-07-09 11:51:46 +02:00
Otto Winter 07e2a7245f
Fix ESPHome Camera not merging image packets (#52783) 2021-07-09 11:38:38 +02:00
Brandon Rothweiler 2eb531b8c8
Upgrade pymazda to 0.2.0 (#52775) 2021-07-09 07:55:26 +02:00
GitHub Action f7e4db512f [ci skip] Translation update 2021-07-09 00:09:30 +00:00
Jc2k 5b257d2be8
Fix homebridge devices becoming unavailable frequently (#52753)
Update to aiohomekit 0.4.3 and make sure service type UUID is normalised before comparison

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-08 17:26:25 +01:00
apaperclip 49181d6ba8
Remove scale calculation for climacell cloud cover (#52752) 2021-07-08 12:10:05 -04:00
Jon Gilmore eb735b6162
Bump pylutron to 0.2.8 fixing python 3.9 incompatibility (#52702) 2021-07-08 15:18:08 +02:00
Robert Hillis 922ef3f2f3
Use entity class attributes for aurora (#52690)
* Use entity class attributes for aurora

* fix
2021-07-08 15:06:00 +02:00
Tom Matheussen 293690e3d8
Fix KNX Fan features (#52732)
* Fan entity should return support features

* Revert "Fan entity should return support features"

This reverts commit 3ad0e87708.

* Restore supported_features for KNX fan
2021-07-08 15:05:43 +02:00
Niels Mündler f069fbdb25
Upgrade Fronius dependency to 0.5.3 (#52737)
supports more values of new Gen24 type of fronius device
2021-07-08 14:45:34 +02:00
Jesse Hills 94e15b3eea
Esphome fix camera image (#52738) 2021-07-08 14:44:49 +02:00
jan iversen fe1f7ba316
Add check for _client existence in modbus (#52719) 2021-07-08 11:58:51 +02:00
jjlawren 578c897161
Ignore unused keys from Sonos device properties callback (#52660)
* Ignore known but unused keys from device callback

* Fix bug, add test
2021-07-08 11:56:50 +02:00
Robert Hillis 1c11b247e4
Use entity class attributes for apcupsd (#52662) 2021-07-08 11:55:26 +02:00
Robert Hillis 7d0751df8a
Use entity class attributes for anthemav (#52602) 2021-07-08 11:42:07 +02:00
Stefan Agner 1dd4ba5fcd
Fix precipitation calculation for hourly forecast (#52676)
It seems that hourly forecast have precipitation in 3h blocks.
2021-07-08 11:39:56 +02:00
Andre Lengwenus abca7deadb
Hint for str type instead of explicitly casting to str (#52712) 2021-07-08 10:42:27 +02:00
Franck Nijhof 62c7e5408b
Ensure Forecast.Solar returns an iso formatted timestamp (#52669) 2021-07-08 10:09:30 +02:00
avee87 5ff7c7708d
Use iso-formatted times in MetOffice weather forecast (#52672)
* Fixed raw datetime in MetOffice weather forecast

* Use datetime in sensor attribute
2021-07-08 10:01:06 +02:00
Robert Hillis c4d8d1dc8e
Use entity class attributes for Aten pe (#52687)
* Use entity class attributes for aten_pe

* Use entity class attributes for atag
2021-07-08 10:39:53 +03:00
Tobias Sauerwein cb0a7589ce
Use class properties in netatmo (#52705) 2021-07-08 09:30:54 +02:00
Robert Hillis 71b14b51b4
Use entity class attributes for aurora_abb_power (#52692) 2021-07-08 09:22:54 +02:00
uvjustin b021e2ee8c
Move recorder.py import to runtime (#52682) 2021-07-08 09:20:27 +02:00
Robert Hillis 5b49107007
Use entity class attributes for avion (#52696) 2021-07-08 09:16:47 +02:00
jjlawren dabb50f7ee
Warn if `interface_addr` remains in Sonos configuration (#52652) 2021-07-08 09:15:56 +02:00
Eric Severance 4e85bdd67c
pyWeMo version bump (0.6.5) (#52701) 2021-07-08 09:11:56 +02:00
Robert Hillis 4e848f60c4
Use entity class attributes for anel_pwrctrl (#52594)
* Use entity class attributes for anel_pwrctrl

* Tweak
2021-07-07 22:12:17 -04:00
GitHub Action b5a6d05778 [ci skip] Translation update 2021-07-08 00:13:44 +00:00
Aaron Bach f3c464786c
Bump simplisafe-python to 11.0.1 (#52684) 2021-07-07 19:45:39 -04:00
Aaron Bach aa022d4c52
Add missing type annotations to ReCollect Waste (#52600) 2021-07-07 17:40:03 -05:00
Aaron Bach f44a13970a
Add missing type annotations to Notion (#52599) 2021-07-07 17:39:52 -05:00
Aaron Bach 50d56fd755
Add missing type annotations to Guardian (#52598) 2021-07-07 17:39:34 -05:00
Allen Porter e895b6cd42
Refactor decompression timestamp validation logic in stream component (#52462)
* Refactor dts validation logic into a separate function

Create a decompression timestamp validation function to move the logic out of
the worker into a separate class. This also uses the python itertools.chain
to chain together the initial packets with the remaining packets in the
container iterator, removing additional inline if statements.

* Reset dts validator when container is reset

* Fix typo in a comment

* Reuse existing dts_validator when disabling audio stream
2021-07-07 15:29:15 -07:00
Simone Chemelli 5c82776411
Fix Fritz default consider home value (#52648) 2021-07-07 20:19:31 +02:00
Joakim Sørensen 351b67ffb1
Handle KeyError when accessing device information (#52650) 2021-07-07 20:18:43 +02:00
Anaïs Betts cd7f366501
Fix service registration typo in Nuki integration (#52631) 2021-07-07 17:25:52 +02:00
Pascal Vizeli b2ee4894f1
Bump opencv to 4.5.2.54 (#52630) 2021-07-07 16:43:19 +02:00
Bram Kragten e2b1cdafc9
Update frontend to 20210707.0 (#52624) 2021-07-07 10:43:45 +02:00
Chris 45fbc18eb0
Fix mysensors rgb light (#52604)
* remove assert self._white as not all RGB will have a white channel

* suggested change

* Update homeassistant/components/mysensors/light.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-07 10:34:14 +02:00
Franck Nijhof c5d806fdbe
Fix broadlink creating duplicate unique IDs (#52621) 2021-07-07 09:46:59 +02:00
J. Nick Koston 1ba5c1c9fb
Fix deadlock at shutdown with python 3.9 (#52613) 2021-07-07 09:23:24 +02:00
Alexei Chetroi 88cd7f481d
Bump up ZHA dependencies (#52611) 2021-07-07 08:30:48 +02:00
GitHub Action 0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
Aaron Bach 9fb05736e4
Add type annotations to Ambient PWS (#52596) 2021-07-06 20:19:58 +02:00
Aaron Bach 2f1af9a254
Remove unnecessary async_setup method for Guardian (#52597) 2021-07-06 20:19:41 +02:00
Thibaut 5c07fb51a2
Update Somfy to reduce calls to /site entrypoint (#51572)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-06 18:48:48 +02:00
Shay Levy f5c3444072
Fix Sensibo timeout exceptions (#52513) 2021-07-06 18:34:56 +02:00
J. Nick Koston e1e3f68d0b
Revert nmap_tracker to 2021.6 version (#52573)
* Revert nmap_tracker to 2021.6 version

- Its unlikely we will be able to solve #52565 before release

* hassfest
2021-07-06 18:28:23 +02:00
Aaron Bach 40ad25df4c
Fresh attempt at SimpliSafe auto-relogin (#52567)
* Fresh attempt at SimpliSafe auto-relogin

* Fix tests
2021-07-06 18:21:25 +02:00
Erik Montnemery 6c8de16fbc
Enable basic type checking for fan (#52471) 2021-07-06 18:21:00 +02:00
Franck Nijhof 8fce858a76
Upgrade numpy to 1.21.0 (#52586) 2021-07-06 18:11:22 +02:00
Maciej Bieniek 62c3b3bdfe
Use HA location name as `name` in GIOS integration (#52585) 2021-07-06 17:52:22 +02:00
Erik Montnemery 3d7fd83ad4
Add home-assistant/core as codeowner for the template integration (#52592) 2021-07-06 17:35:11 +02:00
Robert Svensson 605f65b75d
Make use of entry id rather than unique id when storing deconz entry in hass.data (#52584)
* Make use of entry id rather than unique id when storing entry in hass data

* Update homeassistant/components/deconz/services.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-06 17:18:54 +02:00
Erik Montnemery 7ba1fdea70
Bump hatasmota to 0.2.20 (#52591) 2021-07-06 18:13:45 +03:00
Raman Gupta 81fe3583c9
Don't raise when setting HVAC mode without a mode ZwaveValue (#52444)
* Don't raise an error when setting HVAC mode without a value

* change logic based on discord convo and add tests

* tweak
2021-07-06 16:33:07 +02:00
Robert Hillis 6e779855f7
Clean up alarmdecoder (#52517)
* Clean up alarmdecoder

* fix

* try again

* tweak
2021-07-06 16:18:00 +02:00
ondras12345 07bda0973e
Fix update of Xiaomi Miio vacuum taking too long (#52539)
Home assistant log would get spammed with messages like
Update of vacuum.vacuum_name is taking over 10 seconds
every 20 seconds if the vacuum was not reachable through the network.

See #52353
2021-07-06 16:03:54 +02:00
Simone Chemelli 046eb1690a
Fix Fritz Wi-Fi 6 networks with same name as other Wi-Fi (#52588) 2021-07-06 15:49:22 +02:00
Simone Chemelli a70dae0843
Enable strict typing for Fritz (#50668)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-06 15:06:32 +02:00
RenierM26 12082736a8
Add type annotations to init and coordinator. Minor cleanups. (#52506) 2021-07-06 14:55:34 +02:00
Erik Montnemery 4d32e1ed01
Minor improvements of MQTT typing (#52578)
* Minor improvements of MQTT typing

* Tweak
2021-07-06 14:38:48 +02:00
Maciej Bieniek dc72c6c606
Improve config entry title for GIOS integration (#52583)
* Improve GIOS config entry title

* Usonly station name as title
2021-07-06 14:04:00 +02:00
Erik Montnemery b645560633
Minor improvements of util.percentage typing (#52581) 2021-07-06 13:29:39 +02:00
Maciej Bieniek 669aca9585
Bump gios to version 1.0.2 (#52576) 2021-07-06 12:32:17 +02:00
Bram Kragten 33577e1bfc
Update frontend to 20210706.0 (#52577) 2021-07-06 11:52:53 +02:00
Andre Lengwenus e16ef10af5
Add type hints to LCN (#52509)
* Add type hints to LCN

* Fix requested review changes
2021-07-06 09:54:35 +02:00
Franck Nijhof b496469a2f
Fix unavailable entity capable of triggering non-numerical warning in Threshold sensor (#52563) 2021-07-06 09:33:00 +02:00
Robert Hillis 2a48fe5199
Use entity class attributes for aladdin_connect (#52516)
* Use entity class attributes for aladdin_connect

* fix

* fix

* fix pylint
2021-07-06 08:47:49 +02:00
Raman Gupta a70e8a65fa
Bump pyeight version to 0.1.9 (#52568) 2021-07-06 02:41:23 -04:00
GitHub Action d249530ed1 [ci skip] Translation update 2021-07-06 00:09:29 +00:00
J. Nick Koston 3191fef8d6
Update the ip/port in the homekit_controller config entry when it changes (#52554) 2021-07-05 15:16:49 -05:00
René Klomp 7d87efc996
Bump pysma version to 0.6.2 (#52553) 2021-07-05 22:04:55 +02:00
J. Nick Koston f74049e018
Bump aiohomekit to 0.4.2 (#52560)
- Changelog: https://github.com/Jc2k/aiohomekit/compare/0.4.1...0.4.2

- Fixes: #52548
2021-07-05 22:00:57 +02:00
Alexei Chetroi f58b231bbd
Bump up zha dependencies (#52555) 2021-07-05 14:00:32 -04:00
Tom Brien a4b97f7dcb
Update list of supported Coinbase wallet currencies (#52545) 2021-07-05 16:22:41 +02:00
J. Nick Koston 34782557b7
Bump zeroconf to 0.32.1 (#52547)
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.32.0...0.32.1

- Fixes #52384
2021-07-05 09:17:11 -05:00
Franck Nijhof 74029a0948
Fix Statistics recorder migration path by dropping in pairs (#52453) 2021-07-05 13:34:40 +02:00
Franck Nijhof 5e9127ef7a
Remove problematic/redudant db migration happning schema 15 (#52541) 2021-07-05 13:28:01 +02:00
Tobias Sauerwein f9c7137d02
Use dataclasses in netatmo data handler (#52537)
* Switch to using dataclasses

* Clean up

* Update homeassistant/components/netatmo/data_handler.py
2021-07-05 13:05:18 +02:00
Robert Hillis 4cac85e3f5
Use entity class attributes for ads (#52488)
* Use entity class attributes for ads

* fix

* Update homeassistant/components/ads/cover.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-07-05 12:03:16 +02:00
Yuval Aboulafia 323088ff63
Fully type Tag component (#52540) 2021-07-05 11:54:00 +02:00
jan iversen 1cb298948f
Fix MODBUS connection type rtuovertcp does not connect (#52505)
* Correct host -> framer.

* Use function pointer
2021-07-05 11:45:50 +02:00
RenierM26 2e4f513526
Add type annotations and shorten sensor names on ezviz sensor platforms (#52475)
* Add basic typing and change name on sensor platforms.

* Complete type annotations for all functions.
2021-07-05 11:40:13 +02:00
Aaron Bach 64e63dedf6
Revert "Force SimpliSafe to reauthenticate with a password (#51528)" (#52484)
This reverts commit 549f779b06.
2021-07-05 11:38:31 +02:00
Robert Hillis 5367a036d2
Use entity class attributes for accuweather (#52431) 2021-07-05 11:36:04 +02:00
Erik Montnemery 1cc8280959
Enable basic type checking for the homeassistant component (#52464)
* Enable basic type checking for the homeassistant component

* Tweak
2021-07-05 11:26:31 +02:00
Erik Montnemery 600bea2459
Enable basic type checking for Google cast (#52434)
* Enable basic type checking for Google cast

* tweak
2021-07-05 11:14:41 +02:00
Robert Hillis 05b35cd98a
Rename goalzero sensor (#52452) 2021-07-05 11:05:53 +02:00
Shay Levy 6fc5a6a065
Fix CI failing due to Shell Command exception (#52483) 2021-07-05 10:38:55 +02:00
Robert Hillis 6d9628423c
Use entity class attributes for aftership (#52500)
* Use entity class attributes for aftership

* Tweaks

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-05 10:37:00 +02:00
Erik Montnemery 79ee112490
Enable basic type checking for mqtt (#52463)
* Enable basic type checking for mqtt

* Tweak
2021-07-05 10:33:12 +02:00
Robert Hillis 5321151799
Use entity class attributes for abode (#52427)
* Use entity class attributes for abode

* Apply suggestions from code review

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

* move from base class

* fix

* Undo light supported features

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-05 10:31:11 +02:00
Chris Talkington cacd803a93
Enable basic typing for roku (#52478)
* enable basic typing for roku

* Update mypy.ini

* Update media_player.py

* Create coordinator.py

* Update __init__.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update coordinator.py

* Update coordinator.py

* Update remote.py

* Update entity.py

* Update coordinator.py

* Update config_flow.py

* Update entity.py

* Update const.py

* Update const.py

* Update const.py

* Update entity.py

* Update entity.py

* Update entity.py

* Update test_media_player.py

* Update test_remote.py
2021-07-05 10:27:52 +02:00
Yuval Aboulafia 0e7cd02d17
Add type checking and entity attributes for Fast.com (#52524)
* Cleanup fast.com (typing, attrs)

* Adress review

* fixes
2021-07-05 10:19:37 +02:00
Robert Hillis e9453bb344
Use entity class attributes for alert (#52518) 2021-07-05 09:42:39 +02:00
Robert Hillis e2b89e4650
Use entity class attributes for alpha_vantage (#52520)
* Use entity class attributes for alpha_vantage

* tweak

* clean up
2021-07-05 09:37:09 +02:00
Robert Hillis 4463d50711
Use entity class attributes for aemet (#52499) 2021-07-05 07:53:16 +02:00