Commit Graph

27360 Commits (968460099a3d7654512bd3f67cee1b16e0b36536)

Author SHA1 Message Date
Raman Gupta cf16e651cf
Bump zwave_js dependency to 0.24.0 (#49445)
* Bump zwave_js dependency to 0.24.0

* fix bug in schema

* fix test
2021-04-20 23:44:26 +02:00
Guido Schmitz 208a17d0dc
Add additional device classes to devolo Home Control (#49425) 2021-04-20 22:38:54 +02:00
Ville Skyttä 1c587d2e47
Fix and add some ScannerEntity property type hints (#49500) 2021-04-20 23:38:07 +03:00
Dermot Duffy ccda903c17
Upgrade to the latest hyperion-py (#49448) 2021-04-20 22:08:08 +02:00
dfigus d517d7232f
Fix HmIP-HAP attributes unit (#49476) 2021-04-20 22:06:00 +02:00
Robert Svensson 12a9695798
Use config_entry.on_unload rather than local listener implementation in Axis (#49495) 2021-04-20 08:53:05 -10:00
Robert Svensson 63616a9e36
Use config_entry.on_unload rather than local listener implementation in UniFi (#49496) 2021-04-20 08:50:42 -10:00
Caleb Mah 45b6dfce68
Bump yeelight dependency to 0.6.1 (#49490) 2021-04-20 08:26:42 -10:00
J. Nick Koston f73d9fa572
Reduce broadlink executor jobs at setup time (#49447)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-20 08:22:10 -10:00
J. Nick Koston df66f2a9da
Cleanup history states tests that were converted to async tests (#49446) 2021-04-20 08:21:41 -10:00
Robert Svensson 3b64c574e3
Replace local listener implementation to using config_entry.on_unload in deCONZ (#49494) 2021-04-20 08:20:57 -10:00
Paulus Schoutsen 7e7267f822
Send only a single event per incoming Google command (#49449) 2021-04-20 09:21:52 -07:00
Martin Hjelmare 410f0e3604
Fix mysensors mqtt integration setup guard (#49423) 2021-04-20 09:21:38 -07:00
J. Nick Koston 20ead7902a
Fix memory leak in ambient_station on reload (#49455) 2021-04-20 09:17:08 -07:00
J. Nick Koston 3164eef059
Limit executor jobs during custom_components load to match non-custom behavior (#49451) 2021-04-20 09:16:17 -07:00
J. Nick Koston f600649016
Fix memory leak in onvif (#49473) 2021-04-20 09:15:17 -07:00
J. Nick Koston e288afa7a3
Fix memory leak in plum_lightpad (#49472) 2021-04-20 09:15:04 -07:00
J. Nick Koston 76b59a3983
Fix memory leak in hangouts (#49471) 2021-04-20 09:14:48 -07:00
J. Nick Koston 8537076917
Fix memory leak in huawei_lte (#49470) 2021-04-20 09:14:34 -07:00
J. Nick Koston 7791670607
Fix memory leak in legacy nest (#49469) 2021-04-20 09:14:23 -07:00
J. Nick Koston d858d2ff25
Fix memory leak in deconz (#49468) 2021-04-20 09:14:11 -07:00
J. Nick Koston b2db9d3ca2
Fix memory leak in firmata (#49467) 2021-04-20 09:14:00 -07:00
J. Nick Koston 30c99ce954
Fix memory leak in insteon (#49466) 2021-04-20 09:13:50 -07:00
J. Nick Koston 1193c5360d
Fix memory leak in tibber (#49465) 2021-04-20 09:13:41 -07:00
J. Nick Koston 786f3163ac
Fix memory leak in freebox (#49463) 2021-04-20 09:13:28 -07:00
J. Nick Koston 7db5d50ce4
Fix memory leak in unifi on reload (#49456) 2021-04-20 09:13:07 -07:00
J. Nick Koston 052e935c2b
Fix memory leak in fritzbox (#49462) 2021-04-20 09:12:54 -07:00
J. Nick Koston c9fbdfbbbe
Fix memory leak in heos (#49461) 2021-04-20 09:12:42 -07:00
J. Nick Koston 2279b5593d
Fix memory leak in vera (#49459) 2021-04-20 09:12:32 -07:00
J. Nick Koston 11281e1cdb
Fix memory leak in logi_circle (#49458) 2021-04-20 09:12:21 -07:00
J. Nick Koston 3cbfa36397
Fix memory leak on apple_tv reload (#49454) 2021-04-20 09:12:11 -07:00
J. Nick Koston baa8de2f89
Fix homekit memory leak on entry reload (#49452) 2021-04-20 09:11:58 -07:00
J. Nick Koston fd21c460a0
Fix memory leak in verisure (#49460) 2021-04-20 09:04:34 -07:00
Marc Mueller c07646db5d
Update typing syntax (#49480)
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
Robert Svensson 34245c3add
Add alarm control panel support to deCONZ integration (#48736)
* Infrastructure in place

* Base implementation

* Add alarm event

* Add custom services to alarm control panel

* Add service descriptions

* Increase test coverage

* Simplified to one entity service with an options selector

* Remove everything but the essentials

* Add library with proper support

* Fix stale comments
2021-04-20 17:34:11 +02:00
J. Nick Koston fa05e5a8a0
Fix memory leak in wemo on reload (#49457) 2021-04-20 17:13:27 +02:00
Jan Bouwhuis ff367cfcb6
Mqtt cover avoid warnings on empty payload (#49253)
* No warnings on extra json values with templates

* ignore empty received payload
2021-04-20 15:47:40 +02:00
J. Nick Koston 05982ffc60
Ensure harmony callbacks run in the event loop (#49450) 2021-04-20 15:09:46 +02:00
jan iversen c14e525ac3
Update modbus state when sensor fails (#49481) 2021-04-20 14:54:20 +02:00
chpego 82152616bb
Bump youtube-dl to 2021.04.17 (#49474) 2021-04-20 11:49:54 +02:00
J. Nick Koston b557d20fbb
Fix memory leak in netatmo (#49464) 2021-04-20 11:03:07 +02:00
René Klomp 12853438c5
SMA code quality improvement and bugfix (#49346)
* Minor code quality improvements
Thanks to @MartinHjelmare

* Convert legacy dict config to list

* Improved test

* Typo

* Test improvements

* Create fixtures in conftest.py
2021-04-20 10:59:02 +02:00
jan iversen a278ebd37b
Bump pymodbus version to 2.5.1 (#49401) 2021-04-20 10:43:14 +02:00
jjlawren 523a71ac20
Set temperature precision for Ecobee climate entities to tenths (#48697) 2021-04-19 17:41:30 -07:00
HomeAssistant Azure f6a24e8d68 [ci skip] Translation update 2021-04-20 00:04:05 +00:00
Nathan Tilley 8305fbc0eb
Bump faadelays to 0.0.7 (#49443) 2021-04-20 00:39:24 +02:00
Dermot Duffy 1560c00db1
Use Hyperion human-readable effect names instead of API identifiers (#45763) 2021-04-19 23:46:18 +02:00
jan iversen 8acc3f0b03
Fix modbus switch "old style" config problem (#49352)
Fix that using CONF_HUB in switch, changed the hub for all
subsequent switches.
2021-04-19 10:35:32 -07:00
Joakim Sørensen a5806b59f2
Raise HassioAPIError when error is returned (#49418)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 08:23:43 -07:00
J. Nick Koston b8001b951b
Avoid executor jumps in history stats when no update is needed (#49407) 2021-04-19 08:23:10 -07:00
J. Nick Koston 6d137d2316
Increase recorder test coverage (#49362)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 08:22:38 -07:00
Bram Kragten b69b55987d
Google report state: thermostatMode should be a string, not null (#49342) 2021-04-19 08:20:00 -07:00
jan iversen eb9ba527d0
Add pymodbus exception handling and isolate pymodbus to class modbusHub (#49052) 2021-04-19 08:18:15 -07:00
Vladimír Záhradník 05755c27f2
Log an error if modbus Cover is not initialized correctly (#48829) 2021-04-19 16:52:08 +02:00
Erik Montnemery a968dea152
Fix deadlock when restarting scripts (#49410) 2021-04-19 14:45:01 +02:00
Daniel Rheinbay 83ecabe0a2
Bump fritzconnection to 1.4.2 (#49356) 2021-04-19 14:25:46 +02:00
J. Nick Koston 69932d4435
Add additional myq homekit models (#49381) 2021-04-19 14:03:31 +02:00
Franck Nijhof 2de257f85f
Upgrade dsmr_parser to 0.29 (#49417) 2021-04-19 13:48:31 +02:00
J. Nick Koston 4361be613d
Expose the hostname of the device in asuswrt (#49393) 2021-04-19 13:25:30 +02:00
Chris Browet 591d09c177
Use google assistant TemperatureControl trait to report sensor (#46491)
* CHG: use TemperatureControl trait to report sensor

* fixup: blacked

* fixup: flaked

* fixup: flaked

* Adjust tests

* fixup test and rebase

* test coverage
2021-04-19 11:41:30 +02:00
J. Nick Koston 7f6572893d
Add services to the profiler to log threads and event loop schedule (#49327)
* Add services to the profiler to log threads and event loop schedule

* improve readability

* increase log debug

* bigger

* tweaks

* Update homeassistant/components/profiler/__init__.py

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

* Update homeassistant/components/profiler/__init__.py

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

* remove schema= and cleanup existing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 11:39:34 +02:00
J. Nick Koston e24f5831a2
Force recorder shutdown at final write event (#49145)
* Force recorder shutdown at EVENT_HOMEASSISTANT_FINAL_WRITE

* remove unreachable

* remove unreachable

* simplify

* cancel in async
2021-04-19 11:24:17 +02:00
J. Nick Koston 6048e88c8b
Improve debuggability by providing job as an arg to loop.call_later (#49328)
Before
`<TimerHandle when=1523538.181864923 async_track_point_in_utc_time.<locals>.run_action() at /usr/src/homeassistant/homeassistant/helpers/event.py:1177>`

After
`<TimerHandle when=1524977.1818648616 async_track_point_in_utc_time.<locals>.run_action(<Job HassJobType.Coroutinefunction <bound method DataUpdateCoordinator._handle_refresh_interval of <homeassistant.components.roku.RokuDataUpdateCoordinator object at 0x7fcc978a51c0>>>) at /usr/src/homeassistant/homeassistant/helpers/event.py:1175>`
2021-04-19 11:02:17 +02:00
J. Nick Koston 0b26294fb0
Small cleanups to rachio (#49404)
- Remove unused async_step
- Reduce async callbacks from executor
2021-04-19 10:39:45 +02:00
Felipe Martins Diel e98f27ead6
Use broadlink.hello() for direct discovery (#49405) 2021-04-19 10:16:03 +02:00
jan iversen 0f90678e0e
Change HomeAssistantType -> HomeAssistant in modbus (#49400) 2021-04-18 22:13:32 -10:00
Guillermo Ruffino cf51e07953
Fix esphome registering invalid service name (#49398) 2021-04-19 08:31:43 +02:00
J. Nick Koston 344717d07d
Reduce time to first byte for frontend index (#49396)
Cache template and manifest.json generation
2021-04-18 21:17:30 -07:00
Felipe Martins Diel 6a3832484c
Do not log error messages when discovering Broadlink devices (#49394) 2021-04-18 18:12:27 -10:00
HomeAssistant Azure a67a45624d [ci skip] Translation update 2021-04-19 00:04:29 +00:00
Michael a050c8827b
Add battery sensor to fritzbox smart home devices (#49374) 2021-04-18 12:30:58 -10:00
J. Nick Koston 6e911ba19f
Shutdown bond bpup and skip polling after the stop event (#49326) 2021-04-18 13:46:46 -07:00
Brent Petit 080c89c761
Only set fan state in ecobee set_fan_mode service (#48086) 2021-04-18 22:35:03 +02:00
J. Nick Koston 04a0ca14e0
Ensure shutdown does not deadlock (#49282) 2021-04-18 08:55:51 -10:00
Brett afd79a675c
Add set_myzone service to Advantage Air (#46934)
* Add set_myzone service requested on forums

* Add MyZone binary sensor for climate zones

* Fixed Black on binary_sensor.py

* Add the new entity

* Fix spelling

* Test myZone value

* MyZone Binary Sensor test

* Fixed new binary sensor tests

* Fix removed dependancy

* Correct fixture

* Update homeassistant/components/advantage_air/binary_sensor.py

Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>

* Updated services.yaml to use target

Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>
2021-04-18 10:36:34 +02:00
J. Nick Koston b2c33c1373
Only fetch the local ip once per run (#49336)
Wrap get_local_ip in lru_cache
2021-04-18 10:04:45 +02:00
J. Nick Koston 252bcabbea
Fix exception in roomba discovery when the device does not respond on the first try (#49360) 2021-04-18 09:48:02 +02:00
J. Nick Koston e10c105058
Bump aiodiscover to 1.4.0 for dhcp (#49359)
- Switches to using dnspython to generate the queries/parse them from the wire
2021-04-18 09:46:39 +02:00
J. Nick Koston e06bb3b5e7
Shutdown harmony connection on stop (#49335) 2021-04-18 09:44:29 +02:00
HomeAssistant Azure f8a02c2762 [ci skip] Translation update 2021-04-18 00:04:57 +00:00
J. Nick Koston 46c28f349a
Update mazda to use ConfigEntryAuthFailed (#49333) 2021-04-17 09:25:13 -10:00
Aidan Timson 18cbf3cdb2
Fix lyric heat cool setting (#47875) 2021-04-17 07:20:35 -10:00
Aidan Timson 912d5c347c
Add reauth flow for lyric (#47863) 2021-04-17 07:20:16 -10:00
Milan Meulemans ad967cfebb
Rituals Perfume Genie improvements (#49277)
* Rituals Perfume Genie integration improvements

* Add return type FlowResultDict to async_step_user

* Rollback async_update_data

* Add return type to DiffuserEntity init

* check super().available too

* Merge iterations

* Use RitualsPerufmeGenieDataUpdateCoordinator
2021-04-17 15:41:45 +02:00
Franck Nijhof 006bcde435
Remove HomeAssistantType alias - Part 3 (#49339) 2021-04-17 12:48:03 +02:00
Ruslan Sayfutdinov 7a9385d857
Explicitly define all methods in ConfigFlow (#49341) 2021-04-17 12:42:31 +02:00
Brandon Rothweiler 189511724a
Add device tracker platform to Mazda integration (#47974)
* Add device tracker platform for Mazda integration

* Split device tests into a separate file

* Address review comments
2021-04-17 11:26:07 +02:00
Ville Skyttä 3a0b0380c7
Remove some unneeded pylint disables, update ref to util.process one (#49314) 2021-04-17 09:25:20 +02:00
J. Nick Koston f96a6e878f
Ensure restore state is not written after the stop event (#49329)
If everything lined up, the states could be written
while Home Assistant is shutting down after the stop
event because the interval tracker was not canceled on
the stop event.
2021-04-17 09:03:18 +02:00
Ville Skyttä 970cbcbe15
Type hint improvements (#49320) 2021-04-17 08:35:21 +02:00
J. Nick Koston f7b7a805f5
Bump pysonos to 0.0.43 (#49330)
- Downgrade asyncio log severity
2021-04-16 20:19:50 -10:00
J. Nick Koston 94c803d83b
Cancel tuya updates on the stop event (#49324) 2021-04-16 21:01:24 -07:00
J. Nick Koston 673f542cde
Do not wait for websocket response to be delivered before shutdown (#49323)
- Waiting was unreliable since the websocket response could take a few seconds to get delivered
- Alternate frontend fix is https://github.com/home-assistant/frontend/pull/8932
2021-04-16 20:57:28 -07:00
HomeAssistant Azure 343b8faf9b [ci skip] Translation update 2021-04-17 00:03:46 +00:00
Paulus Schoutsen 984962d985
Improve DHCP + Zeroconf manifest validation (#49321) 2021-04-16 13:32:12 -10:00
Paulus Schoutsen f464663732
Add DHCP to MyQ (#49319) 2021-04-16 11:53:41 -10:00
J. Nick Koston f026768725
Add dhcp discovery to tuya (#49312)
Newer tuya devices use their own OUI instead of espressif
2021-04-16 14:04:18 -07:00
Paulus Schoutsen 89f2996caa Bump frontend to 20210416.0 2021-04-16 13:36:47 -07:00
jan iversen ea9641f980
Apply Precision/Scale/Offset to struct in modbus sensor (#48544)
The single values in struct are corrected with presicion, scale and offset,
just as it is done with single values.
2021-04-16 22:33:58 +02:00
Daniel Hjelseth Høyer 65d092f1cc
Upgrade pyMetno to 0.8.2 (#49308)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-04-16 20:17:46 +02:00