Commit Graph

41180 Commits (51be7d53d66ec1662c16444de77c94a96714a7ab)

Author SHA1 Message Date
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
carstenschroeder 63c9cfdbc8
Add type annotations for MET (#58804)
* Add Typing

* Add missing types

* define w/o Null

* specify # type: ignore
2021-11-01 19:37:03 +01:00
emufan 388cdf4e94
Add classes for new Homematic devicetypes/devices (HmIP-SMI, HmIP-DRSI1) (#57521)
* Update const.py

Add new classes according to pyhomatic 0.1.75

* Update binary_sensor.py
2021-11-01 19:13:30 +01:00
Erik Montnemery 34e5596375
Use async_track_utc_time_change to schedule short term statistics (#58903) 2021-11-01 10:49:54 -07:00
Otto Winter a9c0f89c09
Fix find_next_time_expression_time (#58894)
* Better tests

* Fix find_next_time_expression_time

* Add tests for Nov 7th 2021, Chicago transtion

* Update event tests

* Update test_event.py

* small performance improvement

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-01 17:45:13 +01:00
Maciej Bieniek 43ccf1d967
Handle `None` values in Xiaomi Miio integration (#58880)
* Initial commit

* Improve _handle_coordinator_update()

* Fix entity_description define

* Improve sensor & binary_sensor platforms

* Log None value

* Use coordinator variable

* Improve log strings

* Filter attributes with None values

* Add hasattr condition

* Update homeassistant/components/xiaomi_miio/sensor.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-01 17:40:15 +01:00
purcell-lab f7b63e9fd7
Fix renamed solaredge sensor keys (#58875) 2021-11-01 15:37:48 +01:00
Marvin Wichmann 108962b134
Update xknx to 0.18.12 (#58891) 2021-11-01 15:36:30 +01:00
ollo69 20a443ad6c
Use entity_registry async_get for AsusWrt (#58885) 2021-11-01 15:18:01 +01:00
Paulus Schoutsen f51e1fcb67
Check for uncaught service not found exceptions (#58010) 2021-11-01 14:33:09 +01:00
carstenschroeder 0e19278309
Add type annotations to OpenWeatherMap (#58802) 2021-11-01 14:28:30 +01:00
Jonathan Keljo d125dc7dbf
Use _attr_ shorthand in greeneye_monitor sensors (#58784) 2021-11-01 14:25:02 +01:00
Kevin Hellemun 51873573d3
Add ROCKROBO_S4_MAX to supported xiaomi vacuums (#58826) 2021-11-01 13:29:00 +01:00
Marc Hörsken 1aa34b6892
Fix OpenWeatherMap options not being initialized the first time (#58736) 2021-11-01 13:27:58 +01:00
Felipe Martins Diel 93bc88be16
Simplify requests in the Broadlink integration (#58850) 2021-11-01 12:49:00 +01:00
Joakim Sørensen f0bd6acd48
Set internal quality_scale for the hassio integration (#58881) 2021-11-01 12:33:41 +01:00
Aaron Bach 0cc4b7219f
Perform some SimpliSafe code cleanup (#58867) 2021-11-01 09:04:00 +01:00
Aaron Bach d024c5e698
Perform some Tile code cleanup (#58868) 2021-11-01 09:03:54 +01:00
Aaron Bach 5836a39f14
Perform some WattTime code cleanup (#58869) 2021-11-01 09:03:48 +01:00
Aaron Bach 39054d656b
Perform some AirVisual code cleanup (#58858) 2021-11-01 09:03:37 +01:00
Franck Nijhof f3d5768fb4
Move WLED sensors to entity descriptions (#58839)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-11-01 08:54:05 +01:00
Franck Nijhof ce2e3438ca
Use attr and entity descriptions for Twente Milieu sensors (#58871) 2021-11-01 08:53:27 +01:00
Franck Nijhof 2dca080574
Upgrade black to 21.10b0 (#58870) 2021-11-01 08:51:36 +01:00
Tim Rightnour 0baa6b1827
Add device_class for GEM power and voltage sensors (#58764)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-01 08:39:27 +01:00
Franck Nijhof 617144994b
Upgrade coverage to 6.1.1 (#58855) 2021-10-31 20:44:01 -07:00
Franck Nijhof a02055441a
Migrate attribution attribute for Zestimate (#58854) 2021-10-31 20:43:42 -07:00