Commit Graph

41414 Commits (b5de99ebfcb3b9f641c812892b3637d5baf6d13c)

Author SHA1 Message Date
Erik Montnemery a62bc6b3b9
Minor tweak of cv.deprecated + cv.removed (#59095)
* Minor tweak of cv.deprecated + cv.removed

* Satisfy pylint
2021-11-04 19:12:21 +01:00
Erik Montnemery 491e62792b
Correct rescheduling of ExternalStatisticsTask (#59076) 2021-11-04 18:35:43 +01:00
Jan Bouwhuis c3fc19915e
Mqtt fan fail deprecated options for classic speeds (#58992)
* Fail deprecated options

* new removed validator

* correct module_name - add tests

* Add test cant find module cv.removed

* module name from stack+1

* Remove error from log. Just throw.

* assert on thrown exception text

* cleanup formatting remove KeyStyleAdapter

* format the replacement_key and update test

* deprecated vs removed - add raise_if_present opt

* doc string update

* is deprecated
2021-11-04 17:54:27 +01:00
Kevin Hellemun 7945facf1e
Fix mop attribute for unified mop and water box in Xiaomi Miio (#58990)
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 17:00:25 +01:00
Franck Nijhof d126d88977
Add Button entity component platform (#57642)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 16:50:43 +01:00
Erik Montnemery 4c5aca93df
Add recorder status WS API (#58989)
* Add recorder status WS API

* Rename recorder/status to recorder/info

* Silence pylint

* Improve tests

* Address review comments

* Tweak

* Try to fix tests

* Try to debug flaky tests

* Try to fix tests

* Revert changes to async_migration_in_progress

* Try to fix tests

* Remove debug prints

* Apply suggestions from code review
2021-11-04 16:46:45 +01:00
Erik Montnemery be4e9f91b6
Change minimum supported SQLite version to 3.31.0 (#59073) 2021-11-04 16:34:35 +01:00
Guido Schmitz 620db191b1
Use entity category and state class in devolo Home Network (#59071)
* Use entity category and state class

* Add tests
2021-11-04 16:17:20 +01:00
J. Nick Koston 10d6247fee
Bump to aiohttp 3.8.0 (#58974) 2021-11-04 10:07:50 -05:00
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