Commit graph

41205 commits

Author SHA1 Message Date
Franck Nijhof 23cb396aad
Upgrade restrictedpython to 5.2a1.dev0 (#59049) 2021-11-04 14:52:57 +01:00
Maikel Punie a852b6df66
Add typing info to velbus (part 1) (#59041)
* Add typing info to velbus (part 1)

* Fix pylint

* Update homeassistant/components/velbus/cover.py

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

* Update homeassistant/components/velbus/cover.py

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

* Update homeassistant/components/velbus/cover.py

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

* Update homeassistant/components/velbus/cover.py

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

* Update homeassistant/components/velbus/cover.py

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

* Update homeassistant/components/velbus/cover.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 14:37:44 +01:00
ollo69 ea6504dfa2
Fix Nut resources option migration (#59020)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 14:26:17 +01:00
Teemu R f578eee81d
Remove use_time sensor from mjjsq humidifers (#59066) 2021-11-04 14:25:07 +01:00
Maikel Punie 22248f891d
Refactor velbus light code to make it more clear and readable (#58483)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-11-04 14:22:58 +01:00
Teemu R ea657e6656
Accept all roborock vacuum models for xiaomi_miio (#59018) 2021-11-04 14:14:31 +01:00
Maikel Punie 23a0f0b777
Bump velbus-aio to 2021.11.0 (#59040) 2021-11-04 12:27:41 +01:00
Franck Nijhof da8b9cbe82
Upgrade isort to 5.10.0 (#59046) 2021-11-04 11:29:01 +01:00
Franck Nijhof a52466c339
Upgrade yamllint to 1.26.3 (#59047) 2021-11-04 11:27:20 +01:00
Thomas G 74beebc031
Swap sharkiq vacuum is_docked with is_charging (#58975) 2021-11-04 11:21:59 +01:00
Franck Nijhof 32784d1b83
Constrain urllib3 to >=1.26.5 (#59043) 2021-11-04 11:21:30 +01:00
Franck Nijhof 50a1e908c4
Increase time to authorize OctoPrint (#59051) 2021-11-04 11:06:17 +01:00
Erik Montnemery 2f3dea30e2
Correct migration to recorder schema 22 (#59048) 2021-11-04 10:29:10 +01:00
hesselonline 4345432d14
Add state class to wallbox component (#58801) 2021-11-04 09:58:58 +01:00
Eugenio Panadero a64cec6da1
Bump aiopvpc to 2.2.1 (#59008)
happening because some config change in the ESIOS API server,
solved with a version patch in aiopvpc
(details in https://github.com/azogue/aiopvpc/pull/28)
2021-11-04 05:32:16 +01:00
Dave T 6419950283
Aurora abb improvements (#58504)
* Add type hints.

* Refactor AuroraDevice to AuroraDeviceEntity

* Refactor AuroraDevice to AuroraDeviceEntity

* Connection class is defined in manifest.

* Separate words with underscore in variable names

* Remove duplicated code.

* Remove unused "unknown" string

* Test import yaml when integration already setup

* Remove test already done in config_flow test

* Convert variable names to snake case

* Shorten AuroraDeviceEntity to AuroraEntity

* Add typing

* Remove unnecessary integration setup in test.

* Refactor "already_setup" to "already_configured"

* Use common string

* Reduce the amount of code in the try block.

* Fix merge

* Allow yaml setup to be deferred if no comms

* Properly setup all sensors for defered yaml setup.

* Apply suggestions from code review

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

* Add type hints.

* Refactor AuroraDevice to AuroraDeviceEntity

* Refactor AuroraDevice to AuroraDeviceEntity

* Connection class is defined in manifest.

* Separate words with underscore in variable names

* Remove duplicated code.

* Remove unused "unknown" string

* Test import yaml when integration already setup

* Remove test already done in config_flow test

* Convert variable names to snake case

* Shorten AuroraDeviceEntity to AuroraEntity

* Add typing

* Remove unnecessary integration setup in test.

* Refactor "already_setup" to "already_configured"

* Use common string

* Reduce the amount of code in the try block.

* Allow yaml setup to be deferred if no comms

* Properly setup all sensors for defered yaml setup.

* Code review: move line out of try block.

* Improve test coverage

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 04:38:47 +01:00
GitHub Action c9c95165e4 [ci skip] Translation update 2021-11-04 00:12:21 +00:00
Teemu R 96c03aec06
Fix timedelta-based sensors for xiaomi_miio (#58995) 2021-11-03 17:28:11 +01:00
Sergio Gutierrez Alvarez 1af621ef13
Fix battery_is_charging sensor on system bridge (#58980) 2021-11-03 12:28:04 +01:00
Bram Kragten a7d958ae8a
Update frontend to 20211103.0 (#58988) 2021-11-03 11:51:17 +01:00
kodsnutten 1548877e36
Fix unique_id of derived sent-sensors (#58298) 2021-11-03 10:21:54 +01:00
Hans Oischinger a4fc808e49
Fix broken ViCare burner & compressor sensors (#58962) 2021-11-03 08:45:22 +01:00
dependabot[bot] 58bee8a326
Bump actions/checkout from 2.3.5 to 2.4.0 (#58978)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 08:27:59 +01:00
Dermot Duffy 8fda2e0a1d
Address late review of motionEye media browser (#58925)
* Media-content type fixes post-codereview.

* More f-string.

* Use the 'video' media class not 'movie'.
2021-11-03 06:37:52 +01:00
Robert Hillis 16371e6579
Add missing ZMW currency (#58959) 2021-11-02 20:21:56 -07:00
Dave T 51be7d53d6
Aurora abb defer unique_id assignment during yaml import (#58887)
* Defer unique_id assignment during yaml import if dark

* Back out variable name change to simplify.

* Allow config flow yaml setup deferral.

* Fix deferred yaml import

* Code review: only wrap necessary lines in try blk

* Code review: catch possible duplicate unique_id

* Simplify assignment.

* Code review: use timedelta to retry yaml import

* Code review: if a different error occurs, raise it

* Remove current config entry if duplicate unique_id

* Code review: remove unnecessary line.

* Code review: revert change, leave to other PR.

* Code review: remove unnecessary patch & min->sec

* Remove unnecessary else after raise.

* Increase test coverage.

* Check the number of config entries at each stage

* Raise ConfigEntryNotReady when connection fails.

* Log & return false for error on yaml import
2021-11-03 01:30:29 +01:00
GitHub Action 2f4b7fe809 [ci skip] Translation update 2021-11-03 00:11:55 +00:00
Franck Nijhof ab20bf4e9a
Add support for IoT Switches (tdq) in Tuya (#58952) 2021-11-02 11:27:46 -07:00
Ernst Klamer 5315d7eb0a
Add device configuration URL to Solar-Log (#58954) 2021-11-02 11:27:19 -07:00
Franck Nijhof d1bb580dc3
Extend Tuya Dimmer (tgq) support (#58951) 2021-11-02 11:10:42 -07:00
Peter A. Bigot 4a2fb0e7ab
Fix color temp selection when brightness changed in Tuya light (#58341)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-02 18:48:29 +01:00
epenet 2b22d635d9
Use zeroconf HaServiceInfo in tests (A-D) (#58836)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:31 -05:00
epenet e983370c27
Use zeroconf attributes (A-D) (#58835)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:06 -05:00
David Langerman | Onyx Zero Software 26055e1f14
Add support for TP-Link KL400L5 (#58944)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-02 12:23:30 -05:00
Jan Bouwhuis 0c4863198e
Add command_template to MQTT number platform (#58949) 2021-11-02 18:21:49 +01:00
Franck Nijhof 2df52a3bf6
Fix incorrect entity category in Advantage Air (#58754) 2021-11-02 10:21:08 -07:00
Erik Montnemery 30f7bc0f18
Use freezegun in DST tests (#58939) 2021-11-02 18:11:39 +01:00
Chris Browet 2df1ba2346
Add device_class to MQTT switch (#58931) 2021-11-02 17:40:05 +01:00
Jan Bouwhuis 339117aceb
Add command_template to mqtt select platform (#58934) 2021-11-02 17:33:23 +01:00
Marius 9307cbf861
Add home/not_home icons to Asuswrt trackers (#58883)
* add home/not_home icons to Asuswrt trackers

like the Nmap trackers have their icons set in 2df13d0118/homeassistant/components/nmap_tracker/device_tracker.py (L186)

* white space
2021-11-02 17:29:28 +01:00
Erik Montnemery 8d910c5079
Revert "Add offset support to time trigger" (#58947) 2021-11-02 16:56:38 +01:00
uvjustin f73c734fb6
Add libav.mpegts to logging filter (#58937) 2021-11-02 06:32:02 -07:00
Dermot Duffy 4746ff3798
Address late review of motionEye services (#58924) 2021-11-02 13:33:08 +01:00
hesselonline bfb0d8dd19
Split wallbox sensor type and number type (#58807) 2021-11-02 11:11:46 +01:00
Kevin Hellemun 9d7786f887
Add ROCKROBO_S6_PURE to supported vacuums for xiaomi_miio (#58901) 2021-11-02 09:54:28 +01:00
Maciej Bieniek c14dcdb077
Add configuration_url to Airly integration (#58911) 2021-11-02 09:39:23 +01:00
Tom Harris 8dcaae69e1
Bump pyinsteon to 1.0.13 (#58908) 2021-11-02 09:31:30 +01:00
Paulus Schoutsen 31153ac155
Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
GitHub Action 0a94badb72 [ci skip] Translation update 2021-11-02 00:12:41 +00:00
J. Nick Koston 1cd9be7538
Fix recursive limit in find_next_time_expression_time (#58914)
* Fix recursive limit in find_next_time_expression_time

* Add test case

* Update test_event.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-02 00:11:17 +01:00