Commit Graph

29664 Commits (ff307a802ea0fa203cded92bc477431465793603)

Author SHA1 Message Date
Allen Porter 022ba31999
Refactor the logic for peeking into the start of the stream (#52699)
* Reset dts validator when container is reset

* Reuse existing dts_validator when disabling audio stream

* Refactor peek logic at the start of a stream

Add a PeekingIterator to support rewinding an iterator so that the code
for adjusting audio streams and start pts can be inlined in the worker.

* Simplification and readability improvements

* Remove unnecessary verbiage from comments and pydoc

* Address pylint errors

* Remove rewind function and just mux the first packet separately

* More cleanup after removing rewind()

* Skip check to self._buffer on every iteration
2021-07-27 08:53:42 -07:00
Franck Nijhof f1eb35b1a5
Use entity descriptions classes in Forecast.Solar (#53553) 2021-07-27 17:45:47 +02:00
Marc Mueller 72a98550b6
Use EntityDescription - epsonworkforce (#53556) 2021-07-27 17:45:25 +02:00
gjong 9f495fd200
Add initial version for the YouLess integration (#41942)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 17:42:15 +02:00
Maciej Bieniek ea9d312b45
Use SensorEntityDescription in Brother integration (#53558) 2021-07-27 17:26:47 +02:00
Marc Mueller 0552b9c783
Use EntityDescription - glances (#53559) 2021-07-27 17:24:18 +02:00
jjlawren 214920f486
Ignore Sonos Boost devices during discovery v2 (#53358) 2021-07-27 09:50:46 -05:00
Marc Mueller 268ade6b76
Use EntityDescription - metoffice (#53555) 2021-07-27 16:22:01 +02:00
Milan Meulemans e3df4f8795
Upgrade Rituals Perfume Genie to quality level "silver" (#53550) 2021-07-27 14:46:51 +02:00
Franck Nijhof 27e69037d4
Use entity descriptions classes in DSMR (#53549) 2021-07-27 14:44:58 +02:00
Milan Meulemans b51c666817
Replace ServiceCallType with ServiceCall in lcn services (#53547) 2021-07-27 14:16:01 +02:00
Peter Nijssen e037d3a16f
Update spider integration to support HEM (#53397)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-27 12:58:33 +02:00
Robert Svensson 93899e981f
UniFi lies about the client being noted, using the real note instead if it exists (#53542) 2021-07-27 12:35:16 +02:00
Milan Meulemans 348d7a5622
Remove incorrect use of ConfigType in config flows (#53544) 2021-07-27 12:33:17 +02:00
Milan Meulemans 0471b27179
Replace HomeAssistantType with HomeAssistant (#53545) 2021-07-27 12:30:56 +02:00
Maciej Bieniek ca020e1f87
Use SensorEntityDescription in Nettigo Air Monitor (#53539) 2021-07-27 12:12:15 +02:00
Maciej Bieniek c0e84a7b32
Use SensorEntityDescription in Airly integration (#53540) 2021-07-27 12:08:31 +02:00
Eric Severance 4506b41022
Use SensorEntityDescription for wemo (#53537) 2021-07-27 12:05:21 +02:00
Aaron Bach f4a7292f08
Enforce strict typing for Tile (#53410) 2021-07-27 11:51:57 +02:00
Milan Meulemans 7103835d15
Enable strict typing for Rituals Perfume Genie (#53543)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-27 11:50:47 +02:00
Jesse Hills 18bf0762b5
Add select entities to ESPHome (#53526)
Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-07-27 11:45:04 +02:00
Aaron Bach a6b34924be
Enforce strict typing for RainMachine (#53414) 2021-07-27 10:45:44 +02:00
Aaron Bach 5483ab0cda
Enforce strict typing for Flu Near You (#53407) 2021-07-27 10:42:51 +02:00
Matt Zimmerman d7d859fc86
Update nexia to 0.9.11 (#53534) 2021-07-27 10:40:20 +02:00
Eric Severance 7119285201
Clean wemo sensor attributes (#53532)
* Wemo: Use the available property instead of returning unavailable from state property

* Nit: s/_insight_device_key/_insight_params_key

* Use insight_params_key for generating unique_id
2021-07-27 07:18:05 +02:00
Franck Nijhof d4d791e0a1
Ensure Jewish Calendar returns an iso formatted timestamp (#52722) 2021-07-26 20:23:25 -07:00
GitHub Action 2b3148296c [ci skip] Translation update 2021-07-27 00:12:20 +00:00
BreakingBread0 20b66faa6d
Add MFA Capability to Tesla Integration (#53245)
* Adds MFA Capability to Tesla Integration

* Add "(Optional)" to MFA Code

* Update homeassistant/components/tesla/translations/de.json

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update en.json

* Revert "Update en.json"

This reverts commit 825685c3a2.

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-27 01:46:49 +02:00
Marc Mueller 3e08e50050
Use EntityDescription - nws (#53523)
* Use EntityDescription - nws

* Bugfix

* Bugfix 2
2021-07-27 01:46:01 +02:00
Allen Porter 6376b4be5c
Increase static type coverage for nest integration (#53475)
Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 01:43:52 +02:00
Franck Nijhof d4c4263730
Adjust typing of _attr_extra_state_attributes (#53529) 2021-07-27 01:25:22 +02:00
Milan Meulemans 8ff3b2a2f6
Upgrade pyrituals to 0.0.6 (#53527) 2021-07-27 00:49:55 +02:00
Milan Meulemans b26e65d7e5
Fix Rituals Perfume Genie sensors icons (#53517) 2021-07-27 00:47:06 +02:00
Tobias Sauerwein 31079a05b3
Address late review comments on Netatmo (#53524) 2021-07-27 00:42:36 +02:00
Franck Nijhof 0b44265232
Add description classes to entity components (#53521)
* Add description classes to entity components

* An -> A

* Add StateVacuumEntityDescription
2021-07-27 00:22:21 +02:00
Bram Kragten 7cb3414517
Update frontend to 20210726.0 (#53522) 2021-07-26 23:56:40 +02:00
Oxan van Leeuwen 2127314f9e
Fix typo in codeowners (#53520) 2021-07-26 23:33:15 +02:00
Matthias Alphart c1c6c54b45
xknx 0.18.9 (#53519) 2021-07-26 23:18:20 +02:00
Jc2k 1681bbe5a5
Make sure that vocolinc flowerbud humidity sensor is exposed (via homekit_controller) (#53518)
* Make sure that vocolinc flowerbud humidity sensor is exposed

* Was a no-op to request these from humidifier, so remove them

* Fix typo
2021-07-26 16:11:27 -05:00
Franck Nijhof ee452d415d
Add SensorEntityDescription class (#53357) 2021-07-26 22:00:43 +02:00
jjlawren 88cffc86bb
Add crossfade control support to Sonos (#53228) 2021-07-26 21:58:13 +02:00
Robert Hillis aee48dbcb3
Use entity class attributes for cloud (#53445) 2021-07-26 21:23:32 +02:00
jan iversen cfb0def718
Change integration modbus to use _attr variables (#53511) 2021-07-26 21:20:34 +02:00
Anton Tolchanov 80aaebb761
Rename Prometheus metrics to conform with naming guidelines (#50156) 2021-07-26 20:52:30 +02:00
micha91 f4d65e3751
Musiccast grouping fixes (#52339)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-26 20:48:20 +02:00
Dermot Duffy 23b64cd496
Bump motioneye-client version to v0.3.11 (#53504) 2021-07-26 20:43:22 +02:00
Paulus Schoutsen 962ddf664c
Add country code to co2signal state attributes (#53512) 2021-07-26 11:10:39 -07:00
Franck Nijhof f28d8fae2f
Mark energy integration as internal (#53513) 2021-07-26 10:21:40 -07:00
Bram Kragten fcc6ea7497
Add energy integration (#52001)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2021-07-26 09:37:37 -07:00
Raman Gupta 4b189bd8c5
Add zwave_js WS API commands to get statistics (#53393)
* Add zwave_js WS API commands to get statistics

* update function name

* move nested functions to top level functions
2021-07-26 11:59:16 -04:00
Eric Severance a6331d85ed
Support energy/power sensors in the WeMo component (#53419) 2021-07-26 08:50:22 -07:00
Jc2k 9a000a1183
Support controlling Flowerbud spray level via homekit_controller (#53493) 2021-07-26 10:46:36 -05:00
Daniel Hjelseth Høyer d58a02a647
Broadlink, remove attr_current_power_w and add sensor (#53342) 2021-07-26 08:42:19 -07:00
Simone Chemelli 37d6824ed4
Increase pool max size for urllib3 in Fritz integration (#53461) 2021-07-26 16:44:58 +02:00
Simone Chemelli 2025afe14b
Add MAC to SamsungTV when missing (#53479)
* Add MAC when missing

* Fix I/O

* Add test for missing MAC address
2021-07-26 16:43:05 +02:00
Marc Mueller 46c3495ae0
Update pylint to 2.9.5 (#53496) 2021-07-26 16:17:15 +02:00
Jc2k af8f594939
Address late review of homekit_controller (#53492)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-26 15:32:16 +02:00
broadcasttechie ad730524c8
Reduce min scan interval to 10s for InfluxDB (#53276) 2021-07-26 14:32:42 +02:00
Michael ebfdfd172b
Add state class measurement to sensors where suitable for Synology DSM (#53468) 2021-07-26 11:42:52 +02:00
Franck Nijhof 01c8114e93
Add WLED playlist support (#53381)
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2021-07-26 11:15:49 +02:00
Joakim Sørensen 3a5347f69e
Handle serverTime change (#53490) 2021-07-26 11:01:58 +02:00
Franck Nijhof fbe576e93a
Deprecate wled.preset service (#53383) 2021-07-26 11:01:02 +02:00
Otto Winter 51e4f66b82
Fix ESPHome services when .storage cleared (#53488) 2021-07-26 09:33:06 +02:00
J. Nick Koston 25229a9670
Allow zeroconf name change if there is another Home Assistant running on the local network (#53476)
* Allow zeroconf name change if there is another Home Assistant running on the local network

* Remove unused try/except
2021-07-26 09:27:49 +02:00
jjlawren 550a6f159e
Reduce repetitive noise in Sonos debug logs (#53352) 2021-07-26 00:54:38 -05:00
Alexei Chetroi 505dd500cb
Bump up ZHA dependencies (#53472)
* Bump up ZHA dependencies

* Fix ZHA WS API tests
2021-07-25 22:09:40 -04:00
GitHub Action c6ee058c0d [ci skip] Translation update 2021-07-26 00:10:23 +00:00
jan iversen 15ec9fbf6c
Late review comment in edl21 (#53464)
* Late review comment.

* Review comment.

* pylint.

* Update homeassistant/components/edl21/sensor.py

* Callback typing.

* Complete typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-25 18:59:14 -04:00
David Kendall f3ba71748b
Feature/google calendar read only support (#52790)
* feat(google): Added support for read only access in google calendar.

By default the current read/write access will be given, but the user has the option to set read only access which stops the add event service from registering

* fix(google): Updated documentation link

* docs(google-calendar): Added style fixes

* feat(calendar-google): Updated scopes to be defined on enum property.

This was done as a MR suggestion to simplify the code.

* feat(calendar-google):Removed constants no longer needed.

* feat(calendar-google): Reduced scope check to minimum.

* style: Fixed style issues
2021-07-25 12:33:21 -07:00
Dermot Duffy 5e6853b9e1
Codereview fixes. (#53452) 2021-07-25 22:23:11 +03:00
G Johansson 5741a59d08
Bugfix package 0.3.4 (#53470) 2021-07-25 22:17:45 +03:00
Aidan Timson d18ca62f60
Bump aioambient to 1.2.4 (#53467) 2021-07-25 12:23:38 -06:00
Dermot Duffy 5189172b80
Pass clientsession. (#53455) 2021-07-25 19:58:50 +02:00
Simone Chemelli 33af2602af
Fix wan/device uptime and add state_class to counters for Fritz (#52574)
* Fix wan/device uptime, add state_class to counters

* Rebase + cleanup + adapt to final fritzconnection

* Bump fritzconnection library

* Missing bump
2021-07-25 20:43:31 +03:00
Daniel Hjelseth Høyer ff8affdd04
Address late review of Adax (#53456)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-25 12:32:50 +02:00
Aidan Timson c8d2fc1e04
Fix System Bridge unique key for filesystem sensors (#53446) 2021-07-25 12:31:16 +02:00
Robert Hillis 7e59f3160b
Use entity class attributes for climacell (#53444) 2021-07-25 02:19:08 -04:00
GitHub Action c1b18f4867 [ci skip] Translation update 2021-07-25 00:12:45 +00:00
Shay Levy 68bf6194e1
Add myself to webOS TV codeowners (#53428) 2021-07-24 21:45:24 +02:00
G Johansson a5eb2ac7b7
Bump yalesmartalarmclient to 0.3.4 (#53431) 2021-07-24 21:13:06 +02:00
G Johansson f0d5ae2fec
Add yale_smart_alarm config flow and coordinator (#50850)
* config flow and coordinator

* comply with pylint

* Remove pylint errors

* Update test coverage yale smart alarm

* Update test config_flow

* Fix test already configured

* Second try test already configured

* Fixes config flow and tests

* Conform pylint errors coordinator

* Fix various review remarks

* Correct entity unique id

* Fix unique id and migrate entries

* Remove lock code

* Remove code from test

* Expand code coverage config flow test

* Add more constants

* Add test new requirements

* Minor corrections

* Resolve conflict alarm schema

* Change logger

* Changed from review

* Fix isort error

* Fix flake error

* Ignore mypy errors

* Corrections from PR review no 2

* Corrections from PR review no 3

* Added tests and fix pylint error

* Corrections from PR review no 4

* Corrections from PR review no 5

* Corrections from PR review no 6

* Corrections from PR review no 6_2

* Corrections from PR review no 7

* Corrections from PR review no 8

* Minor last changes for PR

* Update homeassistant/components/yale_smart_alarm/coordinator.py

Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2021-07-24 13:55:43 -04:00
J. Nick Koston 0f15d2bf19
Ensure HomeKit accessories are started again after reset (#53372) 2021-07-24 16:31:30 +02:00
Bram Gerritsen 87e41e807c
Add support for Velux light devices (#49338)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-24 15:52:14 +02:00
David Beitey ea1ec91c9c
Upgrade open-garage to 0.1.5 (#53412) 2021-07-24 15:49:39 +02:00
Aaron Bach 54ace4cdd4
Enforce strict typing for OpenUV (#53409)
* Enforce strict typing for OpenUV

* Linting

* Fix tests
2021-07-24 14:50:01 +02:00
Michael 5c86cc502f
Bump to py-synologydsm-api 1.0.3 (#53402) 2021-07-24 14:44:50 +02:00
Bouwe Westerdijk e65283389d
Update Plugwise config_flow once more (#53423) 2021-07-24 14:28:33 +02:00
J. Nick Koston 6d493a848c
Ensure PyPI packages can still be installed on high latency connections (#53365) 2021-07-24 14:07:10 +02:00
Robert Hillis 16e8373fdd
Use entity class attributes for advantage_air (#52498)
* Use entity class attributes for advantage_air

* update

* tweak

* tweak

* use update listeners
2021-07-24 13:00:41 +02:00
Jon Caruana 72a3860361
Add transition to LiteJet (#47657) 2021-07-24 12:43:10 +02:00
Samuel Tardieu 0f78004ede
Add missing string interpolation (#53422) 2021-07-24 12:13:21 +02:00
Dermot Duffy ffa7962a37
Fix motionEye switch refresh bug (#53413) 2021-07-24 12:12:27 +02:00
Robert Hillis 4b393f215d
Use entity class attributes for asuswrt (#52685)
* Use entity class attributes for asuswrt

* fix

* tweak
2021-07-24 11:55:54 +02:00
Jc2k 0db160e372
Handle homekit accessories where the pairing flag is wrong (#53385) 2021-07-23 20:03:44 -10:00
Guido Schmitz bf3a16eed4
Use class attributes in devolo Home Control (#53360) 2021-07-23 21:48:32 -07:00
GitHub Action 7fa8586b17 [ci skip] Translation update 2021-07-24 00:08:57 +00:00
Paulus Schoutsen c49decb7f0
Convert CO2Signal to data update coordinator and add fossil fuel percentage (#53370)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-07-23 14:35:11 -07:00
Robert Svensson d0bef97453
Handle situations where action is part of a deCONZ event but has the value None (#53373)
* Handle situations where action is part of an event but has the value None

* Cover more possible permutations of what a bad action string is
2021-07-23 21:43:00 +02:00
Robert Svensson 0d5e480397
Fix Gira and Jung models not working as deCONZ device triggers (#53394) 2021-07-23 21:18:19 +02:00
Aaron Bach 4b353917f5
Enforce strict typing for Notion (#53355)
* Enforce strict typing for Notion

* Code review
2021-07-23 13:00:02 -06:00
Jc2k 91018d0451
Add support for power data from Koogeek SW2 via homekit_controller (#53378) 2021-07-23 07:37:18 -10:00
Franck Nijhof d8887a97e3
Upgrade debugpy to 1.4.0 (#53284) 2021-07-23 12:57:36 -04:00
Børge Nordli 87165d6133
Support group events for AC switches and binary sensors. Fixes #53065. (#53384)
* Support group events for AC switches and binary sensors. Fixes #53065.

* Review comments
2021-07-23 18:45:31 +02:00
Raman Gupta 952cb964c8
Add new input to zwave_js.multicast_set_value service (#53369)
* Tweak Z-Wave JS service and WS API commands

* Revert WS API change so it can be split out

* Add keywords
2021-07-23 10:35:44 -04:00
Raman Gupta 9ee7e55f10
Send initial status in zwave_js WS API cmds to subscribe to updates (#53386) 2021-07-23 10:34:49 -04:00
Franck Nijhof 0d38ee7378
Upgrade wled to 0.8.0 (#53376) 2021-07-23 14:03:46 +02:00
Michael 42e8a7c842
Move Fritzbox power, energy and temperature switch attributes to sensors (#52562)
* deprecate switch entity properties

* Add last_reset to FritzBoxEnergySensor

* Remove obsolet temperature attribute
2021-07-23 13:06:30 +02:00
Dermot Duffy dee5d8903c
Add motionEye switches (#52491) 2021-07-22 23:17:39 -07:00
Robert Hillis 1d44bfcfb6
Use entity class attributes for Cert expiry (#53363)
* Use entity class attributes for cert_expiry

* Use entity class attributes for cert_expiry
2021-07-23 07:54:06 +02:00
Tobias Sauerwein 0b6e1d3d82
Bump version (#53359) 2021-07-22 22:01:24 -04:00
GitHub Action 969be5c539 [ci skip] Translation update 2021-07-23 00:12:05 +00:00
Anders Melchiorsen e85b0ec052
Move Sonos to upstream SoCo (#53351) 2021-07-23 00:40:30 +02:00
J. Nick Koston bfdbb93d2d
Bump HAP-python to 3.5.2 (#53362) 2021-07-22 12:06:37 -10:00
Franck Nijhof c875ff8648
Store JSON in database in compact format (#53364)
* Store JSON in database in compact format

* Fix logbook
2021-07-22 12:05:59 -10:00
Robert Hillis 12503d548b
Use entity class attributes for canary (#53333)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-22 22:40:32 +02:00
Hans Oischinger 84dc6af760
Update to PyVicare 1.0 (#53281) 2021-07-22 21:56:38 +02:00
Simone Chemelli 75f7d3d696
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 1 (#52980) 2021-07-22 08:12:33 -10:00
Tom Harris 3461f61f9f
Create APIs for Insteon panel (#49785) 2021-07-22 08:11:36 -10:00
Aaron Bach 032cae772a
Bump aionotion to 3.0.2 (#53354) 2021-07-22 12:04:27 -06:00
jjlawren 0707792bec
Handle more Sonos snapshot restore scenarios (#53277) 2021-07-22 08:04:02 -10:00
Ian Harcombe 74023fce21
Fix for issue #53031 (#53343)
Logs from issue #53031 show that not only ints are appearing in the values for the forecast data now, so change the check from just for int, to see whether the value has a "value" attribute before dereferencing it.
2021-07-22 09:24:47 -07:00
Guido Schmitz c9c1c62d67
Add state class and last reset to consumption sensor in devolo Home Control (#53337)
* Add state class and last reset

* Use STATE_CLASS_MEASUREMENT
2021-07-22 09:24:06 -07:00
Michael 24e07bc154
Fritzbox enable temp sensor (#52558) 2021-07-22 09:19:39 -07:00
Franck Nijhof 258162d933
Upgrade wled to 0.7.3 (#53340) 2021-07-22 16:35:19 +02:00
Marc Mueller f778467d63
Use NamedTuple - rainbird (#53329)
* Use NamedTuple - rainbird

* Apply suggestions from code review

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-22 15:29:50 +02:00
Robert Hillis d371ab9deb
Use entity class attributes for caldav (#53332) 2021-07-22 14:47:30 +02:00
sillyfrog d3e77e00e1
Add Automate Pulse Hub v2 support (#39501)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Sillyfrog <sillyfrog@users.noreply.github.com>
2021-07-22 14:40:33 +02:00
Sergiy Maysak f009b1442f
Switch wirelesstag to use cloud push (#50984) 2021-07-22 13:40:39 +02:00
Guido Schmitz ff781583fc
Remove energy attributes from switch platform in devolo Home Control (#53335) 2021-07-22 12:59:39 +02:00
J. Nick Koston 009f34bfed
Add a homekit.unpair service to forcefully remove pairings (#53303)
- Sometimes homekit will go unresponsive because a pairing for a specific
  device is missing. To avoid deleting the config entry and recreating
  it, which can be a painful process if there are many bridged entities,
  the homekit.unpair service allows forceful removal of the pairings so
  the accessory can be paired again.
2021-07-22 12:44:36 +02:00
Marc Mueller 80c535f02e
Use NamedTuple - rova (#53292)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-22 12:26:50 +02:00
Rami Mosleh 1a450c2084
Speedtestdotnet code cleanup and type hints (#52533) 2021-07-22 12:25:54 +02:00
Marc Mueller 7768f53281
Use NamedTuple - brother (#53330) 2021-07-22 10:36:29 +02:00
Jan Bouwhuis 9753500f5e
Disable speeds for first gen Xiaomi_miio air purifiers (#52772)
* Disable speeds for first gen air purifiers

* Remove test code line

* remove OPERATION_MODES_AIRPURIFIER list
2021-07-22 08:57:29 +02:00
Robert Hillis 804499968e
Use entity class attributes for Bluesound (#53033)
* Use entity class attributes for bluesound

* rework

* tweak

* tweak
2021-07-22 08:51:14 +02:00
J. Nick Koston 4df928c188
Add support for updating the ISY ip address from discovery (#53290)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-22 08:38:55 +02:00
Paulus Schoutsen ce382a39d0
Block title in strings.json unless internal or allowed (#53304) 2021-07-22 08:37:33 +02:00
Raman Gupta b9a6ce77d1
Bump zwave-js-server-python to 0.28.0 (#53302) 2021-07-22 02:37:10 -04:00
Aaron Bach 1bde914075
Ensure Guardian is strictly typed (#53253) 2021-07-21 23:01:05 -07:00
Marc Mueller 560bde94ef
Use NamedTuple - epsonworkforce (#53295) 2021-07-21 22:28:02 -07:00
Marc Mueller 551c117717
Use NamedTuple - ondilo_ico (#53296) 2021-07-21 22:27:31 -07:00
Marc Mueller 5c3fb77660
Use NamedTuple - glances (#53297) 2021-07-21 22:27:01 -07:00
Marc Mueller f5480481cd
Use NamedTuple - metoffice (#53294) 2021-07-21 22:25:38 -07:00
Marc Mueller d98e580c3c
Use NamedTuple - nws (#53293) 2021-07-21 22:24:07 -07:00
J. Nick Koston e78a62c802
Fix homekit locks not being created from when setup from the UI (#53301) 2021-07-21 22:22:06 -07:00
GitHub Action ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
Paulus Schoutsen edf42bab25
Migrate forecast solar to v2 (#53259) 2021-07-21 15:04:30 -07:00
Paulus Schoutsen 86752516ee
Add WS API to access solar forecast data (#53264)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-21 23:48:21 +02:00
Tobias Sauerwein 583deada83
Add type annotations for Netatmo (#52811) 2021-07-21 14:36:57 -07:00
J. Nick Koston 84c482441d
Use None instead of STATE_UNKNOWN in template lock (#53286) 2021-07-21 14:29:41 -07:00
Steven Looman 34b1ab5f5c
Upgrade to async-upnp-client==0.19.1 (#53288) 2021-07-21 14:29:27 -07:00
Franck Nijhof cfd69de5a7
Upgrade PyNaCl to 1.4.0 (#53287) 2021-07-21 14:28:22 -07:00
RenierM26 f3d95501d9
Add refresh after turning switch on or off and type annotations to ezviz (#52469) 2021-07-21 23:15:47 +02:00
Aaron Bach 8d9345c407
Add missing type annotations to Airvisual (#52615) 2021-07-21 22:18:08 +02:00
cnico 6636e5b737
Flipr integration (#46582)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: cnico <>
2021-07-21 21:35:44 +02:00
Robert Hillis 3eb3c2824c
Refactor goalzero (#53282) 2021-07-21 20:52:17 +02:00
Marc Mueller fd2f15b7c7
Add new unit constants (#53258)
* Add new unit constant - MHz

* Add new unit constants - precipitation (in, in/h)
2021-07-21 12:14:47 -06:00
Paulus Schoutsen ba00c786b0
Correctly detect is not home (#53279) 2021-07-21 19:45:07 +02:00
jan iversen 217c625c9b
Convert ebox to use NamedTuple (#53272)
* Convert to use NamedTuple.

* Convert to NamedTuple.

* Use _attr variables.

* Review comments.
2021-07-21 19:43:33 +02:00
jan iversen aed7cb9120
Convert skybell to use NamedTuple (#53269)
* Convert to NamedTuple.

* Second version.

* Use names instead of index.

* Review comments.

* Add meta variable.

* Review comment.

* Review comments.
2021-07-21 19:42:30 +02:00
Robert Hillis a1df3519db
Use entity class attributes for Bsblan (#53165) 2021-07-21 19:37:12 +02:00
Simone Chemelli db1a8e9336
Fix similar network names for Fritz (#53278) 2021-07-21 19:31:51 +02:00
Marc Mueller 2d48d273a7
Fix incorrect unit (#53274) 2021-07-21 10:12:32 -07:00
Maciej Bieniek 772cbd59d7
Improve typing in Shelly integration (#52544) 2021-07-21 10:11:44 -07:00
Michael f128bc9ef8
Add reauth flow to Synology DSM (#53204) 2021-07-21 09:16:27 -07:00
Robert Hillis 800f7fe3a5
Use entity class attributes for Broadlink (#53058)
* Clanup broadlink

* rework

* tweak

* fix using wrong attribute

* tweak

* revert device info
2021-07-21 15:27:52 +02:00
Robert Hillis 0803b2aecd
Use entity class attributes for arest (#52678) 2021-07-21 14:32:42 +02:00
Robert Hillis 668437741a
Use entity class attributes for Bmw connected drive (#53054)
* Use entity class attributes for bmw_connected_driv

* forgot the icon
2021-07-21 14:09:54 +02:00
Robert Hillis 7fef87691a
Use entity class attributes for airvisual (#52503)
* Use entity class attributes for airvisual

* fix

* rework

* tweaks

* finish

* remove overriden available attribute

* rework
2021-07-21 14:07:26 +02:00
Robert Hillis 462db1b4b2
Add config flow to nfandroidtv (#51280)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-21 13:31:54 +02:00
Robert Hillis 02a7a2464a
Use entity class attributes for atag (#52686) 2021-07-21 11:33:44 +02:00
Robert Hillis 81c4d95afe
Use entity class attributes for arduino (#52677)
* Use entity class attributes for arduino

* Revert state

* tweak

* tweak
2021-07-21 11:31:50 +02:00
Daniel Hjelseth Høyer e9ce3c57cd
Adax heaters (#50998)
Co-authored-by: G Johansson <62932417+gjohansson-ST@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-21 10:25:46 +02:00
muppet3000 18ec0544b9
Allow for alternative external Growatt servers (#53102) 2021-07-21 10:16:02 +02:00
Franck Nijhof 4546e14674
Fix MQTT to allow setting an unknown Select state (#53227) 2021-07-21 10:02:07 +02:00
Daniel Hjelseth Høyer 9b2d98f027
Tibber, use nameclass (#53242) 2021-07-21 08:56:29 +02:00
Paulus Schoutsen 5e059c7f55
Fix lint on dev (#53265) 2021-07-21 08:55:34 +02:00
Robert Hillis 930db7167e
Code quality improvements for goalzero (#53260) 2021-07-21 08:53:53 +02:00
Daniel Hjelseth Høyer 2cf930f3bd
Netatmo, use nameclass (#53247) 2021-07-21 08:46:01 +02:00
jan iversen 7306503756
Calculate count automatically in modbus platforms (#53116) 2021-07-20 22:49:54 -07:00
jan iversen 2e2b340b1e
Set modbus entity to non-available unless scan_interval=0 (#53155) 2021-07-20 22:48:02 -07:00
Daniel Hjelseth Høyer 8a72e8df79
Convert Mill consumption attributes to sensors (#52311) 2021-07-20 22:41:08 -07:00
Raman Gupta 90765132cc
Make additional input for zwave_js device triggers optional (#53134) 2021-07-20 22:08:08 -07:00
Joakim Plate 8a7cb389ed
Drop support for fan speeds and support reverse (#53105) 2021-07-20 22:07:15 -07:00
J. Nick Koston fe89603ee7
Update homekit lock to support locking, unlocking, jammed (#52819) 2021-07-20 21:55:19 -07:00
J. Nick Koston 564a505486
Update homekit controller lock to support locking, unlocking, jammed (#52821) 2021-07-20 23:55:04 -05:00
J. Nick Koston ee242764a1
Update template lock to support locking, unlocking, jammed (#52817) 2021-07-20 21:50:21 -07:00
J. Nick Koston 5d85983b09
Update google assistant locks to support locking, unlocking, jammed (#52820) 2021-07-20 23:49:05 -05:00
J. Nick Koston bfe3ef0980
Update august to support locking, unlocking, jammed (#52814) 2021-07-20 21:48:15 -07:00
J. Nick Koston 0ce071e0a4
Bump httpx to 0.18.2 (#53257) 2021-07-20 21:47:13 -07:00
J. Nick Koston f20602e11d
Auto recreate HomeKit TVs when the sources are out of sync (#53208) 2021-07-20 21:46:39 -07:00
J. Nick Koston 2a65c5f93c
Recreate HomeKit accessories when calling the reset_accessory service (#53199) 2021-07-20 21:45:21 -07:00
J. Nick Koston 4d122fc366
Update alexa lock to support locking, unlocking, jammed (#52841) 2021-07-20 23:21:05 -05:00
jan iversen 8f61efe714
Correct typing in edl21 and activate mypy. (#53188) 2021-07-20 21:53:56 -05:00
Aaron Bach 56efee4603
Ensure Ambient PWS is strictly typed (#53251)
* Ensure Ambient PWS is strictly typed

* Fix typing
2021-07-20 21:52:05 -05:00
Nathan Spencer 9d3bc0632f
Bump pylitterbot to 2021.7.2 (#53254)
* Bump pylitterbot to 2021.7.1

* Bump pylitterbot dependency to 2021.7.2 which unpins Authlib and httpx dependencies
2021-07-20 15:47:37 -10:00
Steven Looman 72bc748081
Avoid supplemental discovery of ignored upnp entry (#53250) 2021-07-20 15:46:33 -10:00
GitHub Action 9d93f8b6d1 [ci skip] Translation update 2021-07-21 00:11:58 +00:00
Brett 6ee82e1031
Advantage Air add zone temperature sensors (#51941)
* Create AdvantageAirZoneTemp

* Disable by default

* Add test coverage

* add state_class

* Use entity class attributes

* Match code style of PR #52498
2021-07-20 19:38:50 -04:00
Aaron Bach 0fd88e7e66
Type _attr_extra_state_attributes as a MutableMapping (#52616)
* Type extra_state_attributes as a MutableMapping

* Update homeassistant/helpers/entity.py

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>

* Update homeassistant/helpers/entity.py

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-20 15:41:03 -06:00
jtitley 0b8b45818d
Update BlinkStick to 1.2.0 (#52244)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-20 22:57:47 +02:00
Robert Hillis a9b9c4f13c
Add extra state attributes to goalzero (#52932)
* Add extra state attributes to goalzero

* tweak
2021-07-20 22:26:52 +02:00
Franck Nijhof 059a9bc8ed
Fix modbus setting string as temperature in climate platform (#53249) 2021-07-20 22:03:10 +02:00
web-dc 034251f006
Update requirement of homematicip_cloud component to v1.0.1 (#51407)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Sascha Schiegg <s.schiegg@s-schiegg.com>
2021-07-20 20:28:43 +02:00
PeteRager 5ccbac5ff6
Fix alert infinite loop on repeat interval of 0 (#52628)
* #4851 - Infinite loop on repeat interval of 0

Notification will enter an infinite loop when the repeat interval is specified as zero and it is the last repeat configured.  When this occurs avoid the infinite loop and log a warning message.  Note: I encountered this issue when routing SMS to Twilio and quickly sent thousands of text messages.

* Update __init__.py

* Remove runtime check since configuration input is now blocked

* Tweak comment

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-20 20:23:22 +02:00
jjlawren a2fbc4218d
Cleanup regroup handling in Sonos (#53241)
Check event before creating coroutine
Remove unnecessary regrouping dispatcher
Update typing to reflect actual behavior
Add optimizations for polling mode
2021-07-20 20:21:48 +02:00
jan iversen 8c43e5c736
Correct set_temperature in modbus climate (#52923) 2021-07-20 20:19:26 +02:00
Daniel Hjelseth Høyer a14bde8187
Melcloud use NamedTuple (#53234)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-20 20:18:09 +02:00
Marc Mueller 6be30b0289
Use unit constants (#53244)
* Powerwall - use POWER_KILO_WATT constant

* Use constants firtz sensor
2021-07-20 20:08:39 +02:00
Daniel Hjelseth Høyer a05392fbf2
Tibber, remove yaml support (#53235) 2021-07-20 20:07:06 +02:00
Marc Mueller 074d762664
Rename and reorganize electric unit constants (#53243) 2021-07-20 20:06:23 +02:00
Raman Gupta 6e88428f95
Fix typing for climacell dataclass (#53240) 2021-07-20 19:31:55 +02:00
Daniel Hjelseth Høyer 165e1917ea
Address late review of Ambiclimate, code clean up (#53231)
* Ambiclimate, code clean up

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/ambiclimate/climate.py

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

* Update homeassistant/components/ambiclimate/climate.py

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

* Update homeassistant/components/ambiclimate/config_flow.py

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

* Update homeassistant/components/ambiclimate/climate.py

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

* import

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-20 18:57:40 +02:00
Paulus Schoutsen 1ed7b00b71
Add last reset and state class to rainforest eagle (#52951) 2021-07-20 18:39:14 +02:00
Simone Chemelli 1746103e0e
Add friendly name to Fritz profile switches (#53190) 2021-07-20 18:38:16 +02:00
jan iversen 193d1b945b
Add typing in dynalite and activate mypy (#53238)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-20 18:28:31 +02:00
J. Nick Koston 9b705ad6df
Update lock entity to support locking, unlocking, jammed (#51455) 2021-07-20 18:12:56 +02:00
Daniel Hjelseth Høyer 0cc4231ac2
Tibber use dataclass (#53233)
* Tibber, use dataclass

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber, use dataclass

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-20 17:57:35 +02:00
Daniel Hjelseth Høyer 2b9b346a28
Address late review of Co2 signal (#53232) 2021-07-20 17:52:22 +02:00
Allen Porter 1fe2d0f9c8
Address style issues in nest typing (#53236)
* Add additional types for config flow

Fixing style errors introduced by partial typing in pr #53214

* Address typing style errors

Make all functions fully typed, follow up to pr #53214
2021-07-20 17:41:48 +02:00
jan iversen f819be7acc
Correct typing in Insteon and activate mypy (#53222) 2021-07-20 17:26:00 +02:00
Marc Mueller c578541a82
Add new electrical unit constants (mV + mA) (#53158) 2021-07-20 15:57:11 +02:00
Robert Hillis 08f03c95d2
Use entity class attributes for Brunt (#53164) 2021-07-20 14:18:09 +02:00
Marc Mueller a56485a8c5
Revert new unit types (#53226) 2021-07-20 14:13:51 +02:00
Franck Nijhof b4a50f5459
Add unique ID support to light, cover and media player groups (#53225) 2021-07-20 13:56:23 +02:00
jan iversen 51dd95ce35
Review comments on earlier merge. (#53221) 2021-07-20 13:00:07 +02:00
Daniel Hjelseth Høyer d17776af87
Tibber, accumulated reward (#53195)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-20 12:28:50 +02:00
Robert Hillis 79a418f1bc
Use entity class attributes for Brottsplatskartan (#53163) 2021-07-20 12:20:56 +02:00
Marc Mueller 5d2ce19746
Update python-typing-update to v0.3.5 (#53223)
* Update python-typing-update to 0.3.5

* Update typing
2021-07-20 11:31:48 +02:00
Robert Hillis cd37c2492b
Use entity class attributes for acer_projector (#52432)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-07-20 11:13:59 +02:00
Raman Gupta 05fa220703
Add support for options in zwave_js.set_value service (#53212) 2021-07-20 10:31:12 +02:00
jan iversen e7ccd1a549
Correct typing and activate mypy. (#53217) 2021-07-20 10:53:24 +03:00
Eric Severance ab36ac7a94
Handle all WeMo ensure_long_press_virtual_device exceptions (#53094)
* Handle all exceptions around the WeMo ensure_long_press_virtual_device method

* Don't use a bare exception

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

* Log exception

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-20 09:20:47 +02:00
Alexei Chetroi c9ae141eab
Mark ZHA Light methods as a callbacks (#53170)
* ZHA Light.set_level is safe to run in the loop

* Fix tests.
2021-07-20 09:33:45 +03:00
Kyle Niewiada 7659197154
Increase interval to stop Connection reset by peer (#53202) 2021-07-20 08:15:11 +02:00
Allen Porter c2a2f50316
mypy cleanup for homeassistant.components.nest (#53214) 2021-07-20 07:59:31 +02:00
jan iversen 78a8ba99f9
Upgrade modbus to quality level "silver". (#53186) 2021-07-19 23:57:28 -05:00
jan iversen 19a282255b
Remove duplicate functions in modbus climate/sensor. (#53141)
Convert all data types correctly for climate.
2021-07-19 23:52:58 -05:00
Simone Chemelli 18bc2f95c8
Small log addition for samsungtv (#53206) 2021-07-19 23:41:30 -05:00
Matthias Alphart e8d7952880
Refactor KNX tests (#53183)
* refactor tests for KNX

- implement KNXTestKit class for convenient setup and assertion of KNX telegrams
- add fixture returning an instance of KNXTestKit with automatic cleanup test

* add tests for expose default attribute

- fix expose edge case not covered by #53046

* use asyncio.Queue instead of AsyncMock.call_args_list

for better readability

* get xknx from Mock instead of hass.data

* fix type annotations

* add injection methods for incoming telegrams

* rest read-response in expose
2021-07-19 23:39:19 -05:00
Daniel Hjelseth Høyer f0b28c90bf
Co2signal configflow (#53193)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-19 21:30:00 -07:00
Raman Gupta 562aa74c77
Switch to dataclass from dictionary for climacell sensor definitions (#53168)
* Switch to dataclass from dictionary for climacell sensor definitions

* fix post_init

* fix dataclass and add test

* Update homeassistant/components/climacell/sensor.py

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

* Update homeassistant/components/climacell/const.py

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

* simplify logic

* use tuple

* simplify unit of measurement and use class attributes

* Switch from UnitT to str

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-20 00:22:41 -04:00
Marc Mueller 7711ac901c
Fix issues after pylint update (#53205) 2021-07-19 20:22:13 -07:00
GitHub Action ac9e4cb2f2 [ci skip] Translation update 2021-07-20 00:11:11 +00:00
RDFurman 450fdc91e4
Add honeywell config flow (#50731)
* Upgrade honeywell from platform to integration

* Add codeowner and run code formatter

* Add sensors for current indoor temp and humidity

* Fix tests and away temp

* Spring cleaning of honeywell tests

* Add config flow to honeywell integration

* Add config flow test

* Tie in honeywell service update

* Simplify config flow and add import

* Remove unnecessary platform schema

* Clean up based on PR comments

* Use new helper method

* Force single device and fix linter errors

* Address PR feedback

* Update translations

* Change string key and remove logger message

* Always add first device

* Fix test assertion

* Put PLATFORM_SCHEMA back

* Skip code coverage check on honeywell init

* add some tests for honeywell

* Make retry async

* Make device private

* Use _attr_ instead of properties

* Code cleanup from PR feedback

* Fix test and cleanup code

* Make description better

Co-authored-by: Matt Zimmerman <mdz@alcor.net>
2021-07-19 09:44:02 -10:00
Robert Hillis f5b3118d3c
Use entity class attributes for buienradar (#53166) 2021-07-19 21:22:20 +02:00
Robert Hillis 8527179c0e
Use entity class attributes for bme280 (#53035)
* Use entity class attributes for bme280

* add back device class oops

* tweak
2021-07-19 22:19:36 +03:00
Michael 1b478ba02e
Remove yaml support from Synology DSM (#53197) 2021-07-19 19:39:32 +02:00
jan iversen d4589894fe
Correct typing in bsblan and activate mypy (#53153) 2021-07-19 19:30:52 +02:00
Franck Nijhof 3d40fdf2c6
Upgrade holidays to 0.11.2 (#53191) 2021-07-19 19:01:19 +02:00