Commit Graph

27444 Commits (a8354e729bf3c86115753fcd1e4e07109891c095)

Author SHA1 Message Date
Michael 2b0b8736f2
Set state class measurement also for Total Energy for AVM Fritz!Smarthome devices (#53707) 2021-07-29 11:54:51 -07:00
Daniel Hjelseth Høyer 6590e464af
Integration. Add device class, last_reset, state_class (#53698)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-29 20:05:53 +02:00
Michael bedb9550f5
Move TP-Link power and energy switch attributes to sensors (#53596)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-07-29 11:02:47 -07:00
Daniel Hjelseth Høyer 24a589961a
Energy round (#53696)
* Energy. Round cost

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

* Energy. Round cost

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

* Update homeassistant/components/energy/sensor.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-29 18:44:38 +02:00
Andrew55529 09947d13a8
Fix problem with telegram_bot (#53690) 2021-07-29 18:31:32 +02:00
J. Nick Koston 219348d573
Skip each ssdp listener that fails to bind (#53670) 2021-07-29 18:07:52 +02:00
Daniel Hjelseth Høyer f8750daa09
Surepetcare, bug fix (#53695) 2021-07-29 16:59:02 +02:00
Nicko van Someren 705e2446e5
Fix Lutron button events to have unambiguous names (#53666) 2021-07-29 16:29:52 +02:00
Raman Gupta 30cbf03b48
Add energy support for zwave_js meter CC entities (#53665)
* Add energy support for zwave_js meter CC entities

* shrink

* comments

* comments

* comments

* Move attributes

* Add tests

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-29 14:18:38 +02:00
Raman Gupta 1019ee22ff
Add enabled attribute to zwave_js discovery model (#53645)
* Add attribute to zwave_js discovery model

* Fix binary sensor entity enabled logic

* Add tests
2021-07-29 09:30:50 +02:00
Eric Severance dc1b2b7687
pyWeMo version bump (0.6.6) (#53671) 2021-07-29 09:13:55 +02:00
Allen Porter 806ab47ca5
Bump nest to version 0.3.5 (#53672)
Fix runtime type assertions, Fixes Issue #53652
2021-07-28 22:49:13 -07:00
Aaron Bach c04671ac64
Fix unhandled exception with Guardian paired sensor coordinators (#53663) 2021-07-28 22:16:14 -07:00
Diogo Gomes a2d66bd1c0
Prosegur code quality improvements (#53647) 2021-07-28 22:15:28 -07:00
Stephen Beechen cdce14d63d
Allow uploading large snapshots (#53528)
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-07-28 22:12:59 -07:00
J. Nick Koston e14a04df2e
Add device class energy and last reset to sense (#53667) 2021-07-28 21:58:28 -07:00
J. Nick Koston ef2ca1cee9
Bump aiolip to 1.1.6 to fix timeout with ident (#53660) 2021-07-29 02:39:45 +02:00
Paulus Schoutsen 057d979335
Add last reset to enphase sensors (#53653) 2021-07-28 17:31:10 -07:00
J. Nick Koston 6eb3307734
Fix invalid homekit state when arming (#53646)
- Maybe fixes #48538
2021-07-28 16:09:49 -07:00
Paulus Schoutsen bbd1a85b09
Add last reset to Shelly (#53654) 2021-07-28 15:48:27 -07:00
Milan Meulemans d40012f110
Correct typing in Zerproc and activate mypy (#53642) 2021-07-28 16:36:13 -05:00
Raman Gupta e1c6ccb198
Add zwave_js.reset_meter service (#53390)
* Add zwave_js.meter_reset service

* fix log statement

* Add endpoint attribute to service call and rename service

* Make service an entity service

* remove endpoint from service description
2021-07-28 23:15:27 +02:00
epenet 8d84edd3b7
Add renault integration (#39605) 2021-07-28 12:41:11 -07:00
Milan Meulemans 7bd46b7705
Tado, setup to return False and not ConfigEntryNotReady on RuntimeError (#53637) 2021-07-28 21:25:44 +02:00
Otto Winter 67ac87e915
Fix missing supported_features when only custom presets for ESPHome (#53632) 2021-07-28 21:20:26 +02:00
jan iversen 19245a5b63
Add CameraEntityDescription to camera integration (#53636) 2021-07-28 21:09:45 +02:00
J. Nick Koston c53e7bc8c2
Only declare powerwall login failure after 5 attempts (#53635) 2021-07-28 21:09:08 +02:00
Paulus Schoutsen 0e1eef5737
Bump frontend to 20210728.0 (#53634) 2021-07-28 20:41:27 +02:00
Robert Hillis 86b126c34a
Use entity class attributes for cmus (#53458) 2021-07-28 19:39:58 +02:00
stefano055415 3f7cc176a8
Add climate support to Freedompro (#52720)
* Update Freedompro

* fix code and add test

* add check for unsupported mode

* add code for unsupported hvac_mode

* HVAC_INVERT_MAP and fix test

* change params hass to session

* set const and add ValueError

* fix ValueError text
2021-07-28 19:27:31 +02:00
jjlawren 9111fb60d7
Include advertise_addr in Sonos logs when used (#53617) 2021-07-28 19:19:09 +02:00
Milan Meulemans 1b96288799
Fix Yale Smart Alarm strings (#53627) 2021-07-28 19:09:48 +02:00
Milan Meulemans 03308b62c1
Remove CONNECTION_CLASS from Yale Smart Alarm ConfigFlow (#53629) 2021-07-28 18:58:45 +02:00
Daniel Hjelseth Høyer deb47517ca
Upgrade ns-api to 3.0.5 (#53620) 2021-07-28 18:58:15 +02:00
Frederic Seiler 52df6a6558
Add deCONZ support for Legrand Self-e ZGP switches (#53008)
* Add deCONZ support for Legrand Self-e ZGP switches

Legrand Self-e ZLGP17 (0 677 23L)
Legrand Self-e ZLGP18 (0 677 24L)

* Add the 4 scenes switch (ZLGP15)

and update the model name of the toggle switch

* Update events
2021-07-28 12:54:19 -04:00
Felipe Martins Diel 419bcd939b
Fix broadlink creating duplicate unique IDs (2) (#53622) 2021-07-28 18:53:34 +02:00
Bram Kragten 4df56bad9e
Remove currency from energy, use core config (#53615)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 08:49:55 -07:00
J. Nick Koston babd9f048f
Bump zeroconf to 0.33.2 (#53625)
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.33.1...0.33.2
2021-07-28 08:49:43 -07:00
Jesse Hills ec5d55dc30
Auto reset on value going back to 0 in ESPHome (#53592)
* ESPHome - Auto reset on value going back to 0

* Remove logging lines

* Remove useless stuff

* Move callback to sensor class
Wrap `track_change_event` in `async_on_remove`

* Convert to using internal callbacks and RestoreEntity

* Don't document fixmes?

* Review fixes

* Review fixes

Co-authored-by: Otto winter <otto@otto-winter.com>
2021-07-28 13:56:45 +02:00
Maciej Bieniek c81371f82b
Clean device initialization log for Xiaomi Miio humidifiers (#53612) 2021-07-28 12:03:24 +02:00
Milan Meulemans 6299f58bd7
Remove Rituals DiffuserSwitch extra_state_attributes (#53611) 2021-07-28 11:52:55 +02:00
Marc Mueller 553521a76b
Add mixin classes for required keys in EntityDescription (#53610) 2021-07-28 11:50:13 +02:00
Jan Bouwhuis 781015fb19
Xiaomi_Miio Humidifier rework (#52366)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-28 10:52:43 +02:00
Maciej Bieniek 648e649718
Use SensorEntityDescription in AccuWeather integration (#53604)
* Use SensorEntityDescription

* Add missing type for entity_description

* Use tuples instead of lists

* Suggested change
2021-07-28 10:26:14 +02:00
Marc Mueller 10bfc78365
Fix missing encoding with open() (#53593)
* Fix missing encoding with open()

* Fix tests

* Improve open - frontend
2021-07-28 09:41:45 +02:00
Allen Porter 1c20eb3263
Skip 'None' values when restoring climate scenes (#53484) 2021-07-28 09:16:23 +02:00
Allen Porter 68945e8814
Enable strict static type checking for nest integration (#53535) 2021-07-28 09:12:32 +02:00
Richard T. Schaefer 9e219d9b6e
Add this variable for use by automation and script templates (#52774) 2021-07-28 09:09:13 +02:00
Dermot Duffy 1aec069f3a
Use the new EntityDescription for motionEye switches (#53536) 2021-07-28 09:06:41 +02:00
Franck Nijhof 1968b95829
Add currency core configuration (#53541)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 08:55:58 +02:00
Aaron Bach 514d97f144
Enforce strict typing for ReCollect Waste (#53356) 2021-07-28 08:51:40 +02:00
Paulus Schoutsen 9c33818392
Improve CO2Signal error handling (#53602)
* Improve CO2Signal error handling

* Update homeassistant/components/co2signal/sensor.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-28 08:43:24 +02:00
jjlawren d865577187
Bump plexapi to 4.7.0 (#53597) 2021-07-28 08:26:26 +02:00
Maciej Bieniek 9b67605b8a
Use SensorEntityDescription in GIOS integration (#53581) 2021-07-28 08:21:00 +02:00
Marc Mueller b7f1f2330a
Use EntityDescription - netatmo (#53568)
* Use EntityDescription - netatmo

* Add coverage exclude

* Fix coverage exclude comment
2021-07-28 08:18:59 +02:00
Allen Porter b3b5ee10b1
Fix mypy type for timestamp validator (#53598) 2021-07-27 22:04:59 -07:00
Joakim Sørensen 85c1614204
Add currency to location data (#53575) 2021-07-27 21:05:16 -07:00
Bram Kragten 127c9fc877
Add statistics support for SMA energy sensors (#53589) 2021-07-28 01:48:22 +02:00
Paulus Schoutsen a004a0dd4f
Bump frontend to 20210727.0 (#53591) 2021-07-28 01:48:04 +02:00
Marc Mueller 14c257e1b7
Use EntityDescription - melcloud (#53572)
* Use EntityDescription - melcloud

* Fix pylint errors

* Fix test

* Fix coverage exclude comments
2021-07-28 00:07:14 +02:00
Marc Mueller 3908aabc13
Use EntityDescription - climacell (#53573)
* Use EntityDescription - climacell

* Fix tests

* Fix coverage ignore comment
2021-07-27 23:47:29 +02:00
Marc Mueller dd849c4eab
Use EntityDescription - dwd_weather_warnings (#53580) 2021-07-27 22:52:50 +02:00
Marc Mueller ac837cd76e
Use EntityDescription - ondilo_ico (#53579) 2021-07-27 22:51:32 +02:00
Joakim Sørensen 9806bda272
Rename snapshot -> backup (#51629) 2021-07-27 22:43:05 +02:00
Kuzj d0b9d82287
Refactor bme280, add SPI support (#48775)
* bme280 refactoring, add SPI support

* isort, requirements

* __init_.py add to .coveragerc

* Re-run CI jobs

* const.py to .coveragerc

* Add support for IoT class in manifest

* Keepalive

* review suggestions

* scan_interval with coordinator

* black, isort

* coordinator review suggestions

* Set device_class

* review suggestions

* review suggestions

* review suggestions

* review suggestions

* review suggestions

* review suggestions

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

* add bme280spi to commented requirements

* run script.gen_requirements_all

* black

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-27 16:29:43 -04:00
Diogo Gomes 7ad7cdad3d
Add Prosegur Alarms (#44679)
Co-authored-by: Franck Nijhof <frenck@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 22:19:58 +02:00
Aaron Bach f92ba75791
Enforce strict typing for SimpliSafe (#53417) 2021-07-27 22:11:54 +02:00
Paulus Schoutsen f71980a634
Create stats for all sensors that have % unit and are measurement (#53576) 2021-07-27 21:56:34 +02:00
Ron Klinkien 3488053648
Remove garmin_connect integration (#52808)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 21:49:49 +02:00
Aaron Bach e04b2c2e35
Bump pyairvisual to 5.0.9 (#53578) 2021-07-27 21:39:58 +02:00
Simone Chemelli 5a6be2370b
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 3 (#53424) 2021-07-27 21:19:29 +02:00
J. Nick Koston f3bf0fdb09
Bump yalexs to 1.1.13 to fix august doorsense offline at startup (#53574) 2021-07-27 21:17:17 +02:00
Felipe Martins Diel 43d3b6c2a2
Move the coordinator logic to the BroadlinkEntity class (#53571) 2021-07-27 13:53:29 -05:00
Matthew Gottlieb 37c841956f
Allow removing workday holidays by name (#52700) 2021-07-27 20:28:04 +02:00
Robert Hillis 54a3c1a217
Use entity class attributes for clementine (#53405) 2021-07-27 20:18:58 +02:00
Marc Mueller f599c5a39e
Use EntityDescription - tibber (#53569) 2021-07-27 20:13:48 +02:00
Robert Hillis 13443310fe
Use entity class attributes for Cast (#53348) 2021-07-27 20:03:13 +02:00
Marc Mueller 736577abef
Use EntityDescription - skybell (#53564)
* Use EntityDescription - skybell

* Fix typing
2021-07-27 19:51:07 +02:00
Martin Hjelmare a133eae88e
Add more mysensors sensor attributes (#53566) 2021-07-27 19:48:37 +02:00
Matthias Alphart 27d42e0cd8
KNX: Support for HS-color lights (#53538) 2021-07-27 19:36:46 +02:00
Yuxiang Zhu ce663f629c
Fix various zeroconf IPv6 compatibility issues (#53505) 2021-07-27 19:31:51 +02:00
Marc Mueller 64a3c669ce
Use EntityDescription - rova (#53531)
* Use EntityDescription - rova

* Fix pylint protected-access

* Changes after review
2021-07-27 19:12:17 +02:00
Maciej Bieniek 9607864c29
Bump `gios` library to version 2.0 (#53557)
* Bump gios library

* Fix pylint error
2021-07-27 19:10:38 +02:00
J. Nick Koston 84a7a5fd32
Split color temp and color into separate HomeKit services when a light supports both (#53471) 2021-07-27 10:10:05 -07:00
Marc Mueller a1e692798f
Use EntityDescription - ebox (#53565) 2021-07-27 19:06:50 +02:00
Johan Smits 9e9165f4ac
Bump matrix-client to 0.4.0 (#53508) 2021-07-27 18:30:43 +02:00
Marc Mueller 6847c6dbbc
Use EntityDescription - rainbird (#53560)
* Use EntityDescription - rainbird

* Add additional type hints
2021-07-27 18:06:46 +02:00
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
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