Commit Graph

29848 Commits (6f70302901b16764da8160bfd8faa104a3d402cb)

Author SHA1 Message Date
jan iversen e8aa280d7f
Add modbus get_hub (#54277)
* Add dict with hubs.

* Update flexit to use get_hub.

* Remove executor_task for close.
2021-08-08 22:48:33 +02:00
Robert Hillis 7590cb2861
Fix camera state and attributes for agent_dvr (#54049)
* Fix camera state and attributes for agent_dvr

* tweak

* tweak
2021-08-08 15:43:08 +02:00
Joakim Sørensen 89bb95b0be
Add re-authentication to Uptime Robot (#54226)
* Add reauthentication to Uptime Robot

* Fix en strings

* format

* Fix docstring

* Remove unused patch

* Handle no existing entry

* Handle account mismatch during reauthentication

* Add test to validate reauth is triggered properly

* Test reauth after setup

* Adjust tests

* Add full context for reauth init
2021-08-08 15:41:05 +02:00
Maciej Bieniek aaddeb0bcd
Add missing `motor_speed` sensor for Xiaomi Miio humidifier CA1 and CB1 (#54264)
* Add motor_speed sensor for CA1 and CB1

* Remove value limits
2021-08-08 15:21:55 +02:00
Simone Chemelli 18a0fcf931
Strict typing for Neato (#53633)
* Strict typing

* Rebase

* Tweak import

* Cleanup

* Rebase + typing hub

* Flake8

* Update homeassistant/components/neato/config_flow.py

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

* Update homeassistant/components/neato/vacuum.py

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

* Update homeassistant/components/neato/camera.py

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

* Address review comments

* Black

* Update homeassistant/components/neato/config_flow.py

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

* Specific dict definition

* Annotations

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-08 15:02:37 +02:00
Joakim Sørensen 3da61b77a9
Remove monitor checks in Uptime Robot entities (#54259) 2021-08-08 12:26:14 +02:00
Joakim Sørensen a4fd718e41
Fix device registry lookup in uptimerobot (#54256) 2021-08-08 11:29:32 +02:00
Schmidsfeld fc40735295
Add more Fritz sensors for DSL connections (#53198)
* Update sensor.py

Added information about the upstream line accorrding to fritzconnection library (available since V1.5.0) .
New information available are line sync speed,, noise margin and power attenuation.

Tested with ADSL and VDSL lines on fritzbox 7590, 7490 and 7390. 
Not tested on cable internet / fiber. According to upstrem library should also work / fail gracefully.

* Update sensor.py

Fixed errors from automated tests
Sorry it took so long

* Update homeassistant/components/fritz/sensor.py

Thank you this sounds even better

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* black & mypy fixes

* Rebase, fix multiplier, add conditional create

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2021-08-08 11:23:28 +02:00
rjulius23 7d29eb282b
Add enumerate to builtins in python_script component (#54244) 2021-08-07 22:02:20 -07:00
Dermot Duffy 75726a2695
Don't block motionEye setup on NoURLAvailableError (#54225)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-07 21:29:52 -07:00
Aidan Timson 11f15f66af
OVO Energy Long-term Statistics (#54157)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-07 21:20:55 -07:00
Joakim Sørensen 53c64e5148
Handle added and removed monitors (#54228) 2021-08-07 21:12:55 -07:00
jan iversen 8a4674c086
Solve missing automatic update of struct configuration in modbus (#54193) 2021-08-07 21:11:56 -07:00
Paulus Schoutsen a001fd5000
Fix formatting (#54247) 2021-08-07 21:10:21 -07:00
jan iversen 2232915ea8
Add parameter to delay sending of requests in modbus (#54203) 2021-08-07 21:10:08 -07:00
carstenschroeder d3007c26b3
Bugfix: Bring back unique IDs for ADS covers after #52488 (#54212) 2021-08-07 21:03:20 -07:00
Allen Porter 22acaa8e63
Pin google-cloud-pubsub to an older version (#54239)
Pin google-cloud-pubsub to an older version, since newer versions have a
pin that is incompatible with the existing grpcio pin already in package_constraints.txt
2021-08-07 21:00:37 -07:00
Trinnik b9e0de2eed
Fix update entity prior to adding (#54015) 2021-08-07 20:51:05 -07:00
GitHub Action af565ea6bd [ci skip] Translation update 2021-08-08 00:11:15 +00:00
Joakim Sørensen a485b14293
Set entities as unavailable if last update was not successful (#54229) 2021-08-07 20:22:19 +02:00
Joakim Sørensen 3b1d44478a
Change update interval from 60s to 10s for Uptime Robot (#54230) 2021-08-07 20:22:02 +02:00
Simone Chemelli 819131ad21
Raise ConfigEntryNotReady for Neato API error (#54227) 2021-08-07 19:15:25 +02:00
Mk4242 ca2bdfab6b
Update const.py (#54195)
Remove extra attribute for FlowTemperature sensor, which prevents the ebusd integration from initialising
2021-08-07 18:24:19 +02:00
Simone Chemelli e0bc911e24
Fix Neato reauth flow when token expired (#52843)
* Fix Neato reauth flow when token expired

* Change and simplify approach

* Missing file

* Cleanup

* Update unique_id

* Added missing lamda

* Unique_id reworked

* Guard for id future ID changes

* Bump pybotvac: provide unique_id

* Address review comment

* Fix update check

* Remove token check

* Trigger reauth only for 401 and 403 code response

* Review comments
2021-08-07 12:22:08 +02:00
Joakim Plate 6dd875bc4a
Bump ha-philipsjs to 2.7.5 (#54176) 2021-08-07 12:17:33 +02:00
Joakim Plate 422fe48c3a
Correct device class typo in rfxtrx (#54200) 2021-08-07 12:15:31 +02:00
Jørgen Rørvik 6830eec549
Flexit component fix for updated modbus (#53583)
* pyflexit first argument should be a ModbusSerialClient
This component broke with 2021.6
I have tested this patch on my setup and it restores functionality

* Implemented async reading of modbus values
Stopped using pyflexit as this is outdated and not needed
Instead using async_pymodbus_call from ModbusHub class

* Bugfix: Reading fan mode from wrong register

* Implemented async writing
Set target temperature and fan mode using modbus call
Added some error handling

* No longer require pyflexit

* Review comments.

Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-08-07 09:45:53 +02:00
Robert Hillis 0b52e13eb8
Fix androidtv media_image_hash (#54188) 2021-08-07 07:18:08 +02:00
Gian Klug 8b8f3b55b6
Add state class and last reset in kostal_plenticore (#54084)
* Add state class and implement in kostal_plenticore

* Add support for more entity variants

* Add the state_class to the total values too

* Reformat kostal const.py

* Add `last_reset` to kostal_plenticore entities when `state_class` is set

Also reformat sensor.py

* Fix import

* Remove the constants from the homeassistant constants file

* Use sensor constants for the state_class

* Reformat

* Reformat

* Move last_reset from sensor.py into const.py

* Remove last_reset on PERCENTAGE entities

* Address lint issues

* Update homeassistant/components/kostal_plenticore/sensor.py

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

* Import datetime

* Apply suggestions from code review

* Fix isort

* Fix more isort

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-07 06:25:35 +02:00
GitHub Action 98bcdc2cf5 [ci skip] Translation update 2021-08-07 00:10:12 +00:00
ollo69 099a1de92b
Use SensorEntityDescription for AsusWRT sensors (#54111) 2021-08-06 15:43:39 -07:00
J. Nick Koston acc0288f4c
Bump zeroconf to 0.33.4 to ensure zeroconf can startup when ipv6 is disabled (#54165)
Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.33.3...0.33.4
2021-08-06 12:48:00 -07:00
Joakim Plate 13e7cd237e
Convert to using sensor descriptors (#54115) 2021-08-06 09:56:51 -07:00
Zoe ✨ ddbd455827
Add statistics support for the PVOutput sensor (#54149) 2021-08-06 09:56:27 -07:00
Niccolo Zapponi 483a4535c8
Handle software version being None when setting up HomeKit accessories (#54130)
* Convert all HomeKit service info to string prior to checking for max length

* Added check for None software version

* Added test case for numeric version number

* Update tests/components/homekit/test_accessories.py

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

* Fix style & none version test

* Fix test

* revert other change since it should be covered by the format_sw_version fix

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-06 09:34:42 -07:00
Tom Brien d842fc288f
Ignore Coinbase vault wallets (#54133)
* Exclude vault balances

* Update option flow validation

* Update test name

* Add missed check

* Fix dangerous default
2021-08-06 09:34:21 -07:00
Raj Laud 2db278a7a7
Fix Squeezebox dhcp discovery (#54137)
* Fix Squeezebox dhcp discovery and allow ignore

* Test ignoring known Squeezebox players

* Fix linter errors
2021-08-06 09:29:52 -07:00
J. Nick Koston 5f790f6bd9
Fetch interface index from network integration instead of socket.if_nametoindex in zeroconf (#54152) 2021-08-06 09:15:35 -07:00
Michael 206073632f
Fix sensor PLATFORM_SCHEMA for ebox and enphase_envoy (#54142)
* Fix sensor PLATFORM_SCHEMA

* fix pylint
2021-08-06 14:59:00 +02:00
Oscar Calvo 19adce844c
Gracefully handle additional GSM errors (#54114) 2021-08-06 12:18:29 +02:00
Paulus Schoutsen 1cc3ffe20d
Fix jinja warning (#54109) 2021-08-06 06:41:50 +02:00
Milan Meulemans 02d6918165
Run coordinator config_entry_first_refresh in rituals_perfume_genie setup (#54080) 2021-08-05 23:13:47 -05:00
Simone Chemelli 582f2ae2f6
Two fixes (#54102) 2021-08-05 19:24:41 -07:00
J. Nick Koston adc9f75493
Increase time before scene and script HomeKit entities are reset (#54105) 2021-08-05 19:24:24 -07:00
J. Nick Koston 46ad55455b
Bump zeroconf to 0.33.3 (#54108) 2021-08-05 19:24:09 -07:00
Shay Levy 58ccfff067
Fix Shelly last_reset (#54101) 2021-08-05 19:23:05 -07:00
GitHub Action 64c9f9e1cb [ci skip] Translation update 2021-08-06 00:15:04 +00:00
Paulus Schoutsen 8377b557da
Packages to support config platforms (#54085) 2021-08-05 13:11:01 -07:00
Paulus Schoutsen fcc3d24904
We shouldn't add measurement without last_reset to metered entities (#54087) 2021-08-05 13:10:42 -07:00
J. Nick Koston 26cb588ee2
Handle empty software version when setting up HomeKit (#54068)
Fixes #54059 Fixes #54024
2021-08-05 10:47:14 -07:00
puddly 5dc87d959c
Bump up ZHA dependencies (#54079) 2021-08-05 10:46:58 -07:00
Matthias Alphart 98877924d3
Add `state_class` for KNX sensors (#53996) 2021-08-05 10:11:01 -07:00
Paulus Schoutsen 3655859be2
Add some metadata to pvoutput energy sensor (#54074) 2021-08-05 10:09:56 -07:00
Ian b930e17d64
Bump py-nextbusnext to 0.1.5 (#53924)
* NextBus: Rebrand and bump new version of py-nextbusnext

* Revert rebrand
2021-08-05 18:47:23 +02:00
Joakim Sørensen 786a83f844
Add unique_id to Uptime Robot config_flow (#54055) 2021-08-05 14:58:29 +02:00
Milan Meulemans debcc6689f
Activate mypy for Cloudflare (#54041) 2021-08-05 13:01:12 +02:00
Gleb Sinyavskiy 25eb27cb9f
Add tractive integration (#51002)
* Scaffold

* Implement config flow

* Add dymmy device tracker and TractiveClient

* Add simple DeviceTracker

* Add device info

* Listen to tractive event and update tracker entities accordingly

* Refactoring

* Fix logging level

* Handle connection errors

* Remove sleep

* Fix logging

* Remove unused strings

* Replace username config with email

* Update aiotractive

* Use debug instead of info

* Cover config_flow

* Update .coveragerc

* Add quality scale to manifest

* pylint

* Update aiotractive

* Do not emit SERVER_AVAILABLE, properly handle availability

* Use async_get_clientsession

Co-authored-by:  Daniel Hjelseth Høyer <mail@dahoiv.net>

* Add @Danielhiversen as a codeowner

* Remove the title from strings and translations

* Update homeassistant/components/tractive/__init__.py

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

* Force CI

* Use _attr style properties instead of methods

* Remove entry_type

* Remove quality scale

* Make pyupgrade happy

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-05 12:47:42 +02:00
Franck Nijhof 91ab86c17c
Add state class support to Netatmo (#54051) 2021-08-05 12:29:00 +02:00
Joakim Sørensen 4a37ff2dda
Bump pyuptimerobot to 21.8.1 (#53995)
* Bump pyuptimerobot to 21.08.0

* pylint

* bump to 21.8.1

* Uppdate strings

* Update homeassistant/components/uptimerobot/strings.json

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-05 12:13:47 +02:00
Franck Nijhof 1bc3c743db
Add missing device class to SAJ energy sensors (#54048) 2021-08-05 12:12:06 +02:00
Nathan Spencer dd479d410a
Bump pylitterbot to 2021.8.0 (#54000) 2021-08-05 10:29:23 +02:00
Milan Meulemans be880fdaa9
Activate mypy for Updater (#53950) 2021-08-05 09:18:03 +02:00
Milan Meulemans 36c0478c4a
Activate mypy for Reddit (#53949) 2021-08-05 09:16:47 +02:00
Dermot Duffy f2f084abe2
Use SwitchEntityDescription instead of EntityDescription in the motionEye integration (#54019) 2021-08-05 08:17:15 +02:00
Matthias Alphart 4d6c95a126
Don't double-validate KNX select options (#54020) 2021-08-05 08:16:33 +02:00
Aaron Bach c3a509bdd8
Add support for jammed status to SimpliSafe locks (#54006) 2021-08-04 19:50:09 -05:00
GitHub Action ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
jan iversen b2fffdd13e
Add temporary fix to modbus to solve upstream problem (#53857) 2021-08-04 17:03:31 -07:00
Bram Kragten a8e4482594
Update frontend to 20210804.0 (#53997) 2021-08-04 17:03:04 -07:00
Joakim Sørensen caf0bdd5b9
Add config flow to uptimerobot (#53938) 2021-08-04 22:20:03 +02:00
G Johansson 4ef859a9a9
Fix coordinator not defined in yale_smart_alarm (#53973)
* Bugfix coordinator not defined

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-04 22:16:39 +02:00
jjlawren 6eae5231f1
Fix empty sonos_group entity attribute on startup (#53985) 2021-08-04 21:57:19 +02:00
Simone Chemelli 316c2baa12
Fix divider for Fritz sensors (#53980) 2021-08-04 21:53:07 +02:00
Michael f7fb4ad782
Fix attr_unit_of_measurement in update of apcupsd entity (#53947) 2021-08-04 21:24:19 +02:00
Milan Meulemans 3f6282eb7a
Activate mypy for LG webOS Smart TV (#53958) 2021-08-04 19:31:24 +03:00
Jan Bouwhuis 1f9331f9db
Remove Xiaomi_miio select option validation (#53936) 2021-08-04 14:00:18 +02:00
Jan Bouwhuis 1054419498
Remove Xiaomi_miio number value validation (#53934) 2021-08-04 12:50:08 +02:00
Alex Henry b77335d6f9
Fix Panasonic Viera TV going unavailable when turned off (#53788) 2021-08-04 12:44:16 +02:00
Alex Henry fe957b74be
Upgrade anthemav dependency to 1.2.0 (#53931) 2021-08-04 12:43:30 +02:00
jan iversen 129cdda932
Late review. (#53933) 2021-08-04 12:34:04 +02:00
Maciej Bieniek 3b212b9109
Use `NumberEntityDescription` for Xiaomi Miio (#53911) 2021-08-04 12:03:18 +02:00
Jan Bouwhuis 8f014361d4
Validate Number value before calling entity method (#52343)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-04 11:57:26 +02:00
starkillerOG af38ff1ec1
Add xiaomi miio lumi.gateway.aqhm01 support (#53929) 2021-08-04 11:23:21 +02:00
Jan Bouwhuis 8299d0a7c3
Validate Select option before calling entity method (#52352)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-04 11:12:42 +02:00
Joakim Sørensen f9071a40de
Address review comments for 53918 (#53927) 2021-08-04 09:29:51 +02:00
jan iversen 083868ac01
Enable mypy for Yamaha (#53920) 2021-08-04 08:47:28 +02:00
Matt Zimmerman 515a47212e
Add target high/low temperatures to prometheus integration (#50071)
* add target high/low temperatures to prometheus integration

* use labels

* Revert "use labels"

This reverts commit 09c56d6359.

* fix naming

* tests

* cleanup

* use three separate metrics

* fix descriptions
2021-08-04 07:42:47 +02:00
Bram Kragten c682d5d5e4
Update frontend to 20210803.2 (#53923) 2021-08-04 02:10:33 +02:00
Adam Ernst 5735669693
Add "stop watering" service to rachio (#53764)
Co-authored-by: Brian Rogers <brg468@hotmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-03 16:51:52 -05:00
Martin Hjelmare c959a0a484
Limit zwave_js meter sensor last reset (#53921) 2021-08-03 22:50:14 +02:00
Joakim Sørensen f02259eb2d
Limit API usage for Uptime Robot (#53918) 2021-08-03 11:20:12 -07:00
Paulus Schoutsen 71375be54d
Handle Shelly get name on uninitialized device (#53917) 2021-08-03 11:16:00 -07:00
J. Nick Koston df03cce471
Enforce maximum length for HomeKit characteristics (#53913) 2021-08-03 10:09:10 -07:00
Jim Shank fa9ac71c3a
Check for torrents in queue before calling the api stop_torrent() (#53895)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-03 18:26:21 +02:00
Aaron Bach 7518c58806
Handle scenario where SimpliSafe code is falsey (#53912) 2021-08-03 16:56:15 +02:00
Joakim Sørensen 56360feb9a
Stream API requests to the supervisor (#53909) 2021-08-03 16:48:22 +02:00
Maciej Bieniek 2105419a4e
Use `SelectEntityDescription` for Xiaomi Miio integration (#53907)
* Use SelectEntityDescription

* Use SelectEntityDescription

* Remove service field from XiaomiMiioSelectDescription class

* Fix typo

* Use lowercase for options
2021-08-03 15:58:30 +02:00
Jesse Hills 672a74fa37
Allow esphome entities to be disabled by default (#53898) 2021-08-03 14:53:48 +02:00
Jc2k 081b2d533b
Add support for Eve Degree's air pressure sensor (#53891) 2021-08-03 07:30:50 -05:00
Maciej Bieniek 1286734ce9
Use SensorEntityDescription class for Xiaomi Miio (#53890) 2021-08-03 13:56:56 +02:00
Greg Dowling 7e63e12ece
Bump pyroon to 0.0.38 (#53906) 2021-08-03 13:52:59 +02:00
Jesse Hills 15d36734b0
Bump aioesphomeapi to 6.0.1 (#53905) 2021-08-03 13:39:35 +02:00
Joakim Sørensen 3f2e18fe17
Add user to homeassistant system health (#53902) 2021-08-03 11:58:27 +02:00
Paulus Schoutsen 27848720a4
Bump frontend to 20210803.0 (#53897) 2021-08-02 21:39:53 -07:00
Aaron Bach b6de8626de
Only show a SimpliSafe code entry when one exists (#53894) 2021-08-02 20:52:44 -07:00
Chris cfc5111561
Handle powerConsumption reports with null value (#53888) 2021-08-02 20:50:57 -07:00
GitHub Action d6c3d05517 [ci skip] Translation update 2021-08-03 00:10:03 +00:00
Paulus Schoutsen 91e55bdd14
Bump aiohue to 2.6.1 (#53887) 2021-08-02 14:44:15 -07:00
Aidan Timson 18f4d125c3
System Bridge v2.3.0+ - Data from WebSocket (#53443)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-02 22:11:26 +02:00
Maciej Bieniek 938ec27a86
Add support for MJJSQ humidifiers for Xiaomi MIIO integration (#53807) 2021-08-02 22:08:37 +02:00
Otto Winter d4cb819e1f
ESPHome implement light color modes (#53854) 2021-08-02 22:07:37 +02:00
Jc2k d414b58769
Fix watts unit for homekit_controller power sensors (#53877) 2021-08-02 10:47:11 -07:00
Paulus Schoutsen 80a8f35a42
Bump frontend to 20210802.0 (#53876) 2021-08-02 10:42:04 -07:00
Joakim Sørensen c3d623a37e
Fix issue when data is None (#53875) 2021-08-02 19:35:11 +02:00
Franck Nijhof 3bf06de363
Fix growat server config entry missing URL key (#53867) 2021-08-02 09:48:17 -07:00
Michael b2725918b1
Fix TP-Link smart strip devices (#53799) 2021-08-02 09:47:54 -07:00
Joakim Sørensen 1c38e9168c
Add base energy analytics (#53855) 2021-08-02 09:46:07 -07:00
Michael bffa9f960d
Add state class measurement to all suitable sensors on Speedtest.net (#53693)
* Add state class measurement

* use tuple instead of list
2021-08-02 17:00:25 +02:00
pdcemulator 1265aa0f64
Add edl21 OBIS IDs for DZG DWS76 (#53029) 2021-08-02 16:58:45 +02:00
Franck Nijhof d722d13b0e
Add measurement state class to ZHA power devices (#53866) 2021-08-02 16:33:27 +02:00
Franck Nijhof f3d4dac11f
Fix cloud accountlinking replacing token data (#53865) 2021-08-02 16:33:13 +02:00
Michael 4241c4ca5b
Fix crash when AVM FRITZ!SmartHome devices are unreachable (#53809) 2021-08-02 16:13:54 +02:00
jan iversen 3296772bd3
Late review on hdmi_cec (#53763) (#53863) 2021-08-02 16:02:39 +02:00
Milan Meulemans 8ab3d9cc12
Use homeassistant.const instead of integration const for device_info ATTR_ (#53703) 2021-08-02 15:11:41 +02:00
Graham Rogers 4f96f05a75
Improve Universal media player toggle default behavior (#49395)
Before it could not be overridden and the default behavior meant nothing was called when all children were off, so it could not be used to turn on the media player. The new default behavior is to delegate to `turn_on` and `turn_off` instead, which is more likely to be the expected behavior.
2021-08-02 15:10:56 +02:00
J. Nick Koston 65c6943784
Bump HAP-python to 4.0.0 (#53780) 2021-08-02 15:08:32 +02:00
jan iversen 857031df14
Activate mypy for Norway_air (#53787) 2021-08-02 15:07:27 +02:00
Franck Nijhof 4022d539fe
Add RPi.GPIO dependency to rpi_rf integration (#53858) 2021-08-02 15:00:43 +02:00
Felipe Martins Diel e8aee5ecf7
Fix entry setup for Broadlink SP4 sensors (#53765) 2021-08-02 14:59:23 +02:00
Vinny Furia 4f8c799610
Fix Radiothermostat hold value updates (#53656) 2021-08-02 14:57:10 +02:00
jan iversen 0f8a286cc7
Allow combinations write_coil/read_coils and write_coils/read_coil for modbus switch (#53856) 2021-08-02 14:55:52 +02:00
Emilv2 1012d823a0
Fix missing default reconnect interval in dsmr (#53760) 2021-08-02 14:54:33 +02:00
jan iversen bb11dc19d3
Convert @property to _attr_variable for hdmi_sec (#53816)
Convert @property to _attr_variable.
Break __init__ with a local function.
Make _attr_should_poll a class variable.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-02 14:30:30 +02:00
Daniel Hjelseth Høyer e4fe27061a
Add STATE_CLASS_MEASUREMENT to Tibber (#53802) 2021-08-02 11:50:52 +02:00
René Klomp 14db83e4c1
Bump pysma to 0.6.5 (#53792) 2021-08-02 11:14:45 +02:00
Joakim Sørensen da3419945c
Rename snapshot -> backup (#53851) 2021-08-02 11:07:21 +02:00
jan iversen 38832618bf
Please mypy. (#53786) 2021-08-02 09:18:59 +02:00
Jc2k 73bc62949b
Fix error in homekit_controller causing some entities to get an incorrect unique id (#53848) 2021-08-01 20:59:32 -07:00
GitHub Action 8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Chris 8ac1f5d28a
Add energy consumption sensors to smartthings devices (#53759) 2021-08-01 20:35:03 -07:00
Bram Kragten 32c2d42863
Update frontend to 20210801.0 (#53841) 2021-08-01 15:06:28 -07:00
B-Hartley 736fb2e90d
ForecastSolar - power production now w not k w (#53797) 2021-08-01 15:01:34 -07:00
Michael da1a9bcbf0
Do not block setup of TP-Link when device unreachable (#53770) 2021-08-01 14:58:55 -07:00
Maciej Bieniek 7d1324d66d
Remove `led` from Xiaomi Miio humidifier features (#53796) 2021-08-01 14:58:31 -07:00
Robert Hillis 822e8645eb
Fix file path error in nfandroidtv (#53814) 2021-08-01 10:08:39 +02:00
Sean Vig 673be4f7dd
Bump Amcrest version to 1.8.0 (#53784)
* Bump Amcrest version to 1.8.0
* Add codeowner to Amcrest.

Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-08-01 00:22:19 +02:00
jan iversen e41bc1a0da
Activate mypy for hdmi_cec (#53763)
* Please mypy.
* Remove CEC_DEVICES.
2021-07-31 23:18:37 +02:00
jan iversen 3d52bfc8f6
Simplify DATA_TYPE -> struct conversion. (#53805) 2021-07-31 23:17:23 +02:00
Maciej Bieniek f1f293de02
Clean Xiaomi Miio humidifier services (#53806) 2021-07-31 21:19:00 +02:00
Andreas Brett 172769d19c
Fix onkyo UnboundLocalError (#53793)
audio_information_raw and video_information_raw were in some cases used before being assigned

error: UnboundLocalError: local variable 'video_information_raw' referenced before assignment
2021-07-31 14:47:51 +02:00