Commit Graph

26784 Commits (9737480742b7f91c89bc4a2879f38557766d866e)

Author SHA1 Message Date
Marc Mueller dcca29ef68
Update typing 14 (#48078) 2021-03-18 15:08:35 +01:00
Marc Mueller b67b9b94f9
Update typing 13 (#48077) 2021-03-18 14:43:52 +01:00
Marc Mueller a3cd1854f6
Update typing 12 (#48073) 2021-03-18 14:31:38 +01:00
Berni Moses 6cd6ad6904
Ignore not implemented lg_soundbar source/equaliser. (#45868) 2021-03-18 14:06:17 +01:00
Marc Mueller 3d2b81a401
Update typing 11 (#48072) 2021-03-18 13:21:46 +01:00
Raj Laud 99f9f8dec0
Allow hdmi_cec to recover from lost connection to adapter without restart (#40714)
* Only update CecDevice state when there is new data

* Replace CecDevice with CecEntity

* Support for losing and reconnecting to pycec TcpAdapter

* Register listener in async_added_to_hass

* Rename hdmi_cec watchdog

* Only update CecDevice state when there is new data

* Fix flake8 docstring error

* Fix linter error

* Bump pycec version to 0.5.0

* Bump pycec version to 0.5.1

* Fixe merge mistake

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-03-18 13:07:35 +01:00
Marc Mueller 25a13d1554
Update typing 10 (#48071) 2021-03-18 13:07:04 +01:00
Andreas 00dca88024
Amcrest add support for CrossLineDetection (#44582)
Co-authored-by: andreas-amlabs <andreas-amlabs@users.noreply.github.com>
2021-03-18 12:32:08 +01:00
javicalle c8950870a2
Propagate RFLink 'send_command' event (#43588)
* propagate send_command event

* propagate send_command event
2021-03-18 12:25:00 +01:00
Marc Mueller 283b4abe67
Update typing 09 (#48059) 2021-03-18 10:02:00 +01:00
J. Nick Koston fea0e39fa0
Reduce rest setup code (#48062)
- Switch to storing each platform config/rest data in a list
2021-03-18 09:55:38 +01:00
Marc Mueller 5cdd945f44
Update typing 08 (#48058) 2021-03-18 09:25:40 +01:00
Marc Mueller 9e1a6610dc
Update typing 07 (#48057) 2021-03-18 08:02:55 +01:00
J. Nick Koston 08db262972
Add a service to reload config entries that can easily be called though automations (#46762) 2021-03-17 21:27:21 -07:00
corneyl 6fb0e49335
Upgraded aiopylgtv to v0.4.0 (#47014)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-03-17 20:59:48 -07:00
Tobias Haber f785cc7d9a
Google has deprecated a comma separated list for modes changed it to array (#48029) 2021-03-17 20:59:06 -07:00
HomeAssistant Azure f625e324dd [ci skip] Translation update 2021-03-18 00:07:07 +00:00
Marc Mueller 91df3fa904
Update typing 06 (#48039) 2021-03-17 23:49:01 +01:00
Marc Mueller 7c0734bdd5
Update typing 05 (#48038) 2021-03-17 23:43:55 +01:00
Marc Mueller 76199c0eb2
Update typing 04 (#48037) 2021-03-17 23:34:25 +01:00
Guillermo Ruffino 02619ca2cd
Add service schema for ESPHome api services (#47426) 2021-03-17 22:50:21 +01:00
J. Nick Koston dd56cc8010
Fix rest sensor data misalignment with multiple sensors (#48043)
If there were multiple rest data sources, the index needed
to be incremented by type instead of by data source/type
2021-03-17 22:47:42 +01:00
Marc Mueller fabd73f08b
Update typing 03 (#48015) 2021-03-17 21:46:07 +01:00
Marc Mueller 6fb2e63e49
Update typing 02 (#48014) 2021-03-17 18:34:19 +01:00
Hans Kröner 86d3baa34e
Improve OWM Precipitation sensors (#47945) 2021-03-17 17:39:47 +01:00
Marc Mueller e55702d635
Update typing 01 (#48013) 2021-03-17 17:34:55 +01:00
schiermi 6a24ec7a30
Fix workday sensor to honor timezone (#47927) 2021-03-17 15:32:18 +01:00
Jim Ekman ecf93e09e8
Add support for percentage based fan model in esphome (#46712) 2021-03-17 08:50:34 +01:00
Nathan Spencer bdc8a2878f
Fix issue with setting sleep mode during DST (#48001) 2021-03-17 08:23:54 +01:00
Philip Allgaier 470b0b8b87
Fix historic attributes for input_datetime (#45208) 2021-03-16 22:40:20 -07:00
HomeAssistant Azure 4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
Paulus Schoutsen 529b23d8af Bump frontend to 20210316.0 2021-03-16 23:43:16 +00:00
Kevin Worrel d21d9951ba
Add Pentair ScreenLogic integration (#47933)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-03-16 13:32:02 -10:00
J. Nick Koston f605a3c149
Remove YAML support from August (#47615) 2021-03-16 13:22:07 -10:00
Abílio Costa d49a436573
Delay ZHA group updates to ensure all members are updated first (#46861)
* Delay ZHA group updates to ensure all members are updated first

After turning off a group, when the first device reports "off", the
other devices may still be "on". If HA processes the group state update
quickly enough, the group will see that some devices are on, so the
state of the group will revert back to "on", and then "off" when the
remaining devices all report "off". That would cause the UI toggle to go
back and forward quickly, and automations that trigger with "state: on"
to fire when the user turns the group off.

This PR fixes that by delaying the group state update, giving time for
all the devices to report their states first.

* Fix zha group tests

* Reorder sleeping.

* Update tests/components/zha/common.py

Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
2021-03-16 17:38:16 -04:00
Paulus Schoutsen f1c274b3dd
Add run_id to automation logbook event (#47980) 2021-03-16 14:37:26 -07:00
Matthias Alphart a4075d9e11
KNX sensor: float no longer valid for `type` (#48005) 2021-03-16 21:33:56 +01:00
Joakim Plate d39aa9f80b
Bump philips_js with backported fixes (#47959) 2021-03-16 21:24:01 +01:00
Alan Tse f86e7535e0
Add location details to deprecation warning (#47155) 2021-03-16 21:16:07 +01:00
chpego f3c74948c3
Upgrade youtube_dl to version 2021.03.14 (#48000) 2021-03-16 21:02:05 +01:00
Kevin Eifinger 14d3e29e64
Add missing "pin" field in step "pair" for philips_js (#47802) 2021-03-16 20:56:49 +01:00
billsq 55db855f91
Add support for Xiaomi Air Purifier Pro H (#47601) 2021-03-16 20:54:13 +01:00
Matt Zimmerman 73c6728e98
Add binary_sensor entities for SmartTub reminders (#47583) 2021-03-16 17:38:09 +01:00
Alexei Chetroi 6a66ccef1b
Bump up ZHA dependencies (#47997) 2021-03-16 12:21:08 -04:00
Ron Heft bbd98e196b
Fix withings InvalidParamsException (#47975)
* Bump withings_api to 2.3.1 (fixes #47329)

* Fix NotifyAppli calls to be compatible with withings_api 2.3.1

* Fix errors with withings_api 2.2+ using pydantic

* Bump withings_api to 2.3.2
2021-03-16 17:15:22 +01:00
Klaas Schoute 0097169dd3
Add aliases to actions in automation blueprints (#47940) 2021-03-16 17:14:07 +01:00
Matthias Alphart 7ed9e5b2c2
Update xknx to 0.17.3 (#47996) 2021-03-16 16:43:11 +01:00
Franck Nijhof f695155af5
Add device classes to Verisure sensors (#47990) 2021-03-16 16:30:04 +01:00
Antoine Meillet 4dc0cdbb5f
Ignore STATE_UNKNOWN in prometheus (#47840)
Giving a value of 0 by default can lead to erroneous
data being exported. For example, if a MQTT temperature
sensor is in `STATE_UNKNOWN` (which can happen after a
HASS restart), a temperature of 0°C will be exported.
Some user might prefer no value rather than a wrong one.
2021-03-16 16:11:51 +01:00
David F. Mulcahey 673ebe2911
Guard extra call in ZHA lights (#47832)
* add flag to prevent sending an on command

* fix condition

* add constant for default transition

* make groups work with new force on flag

* reorder light entity creation

* rearrange logic

* update test

* remove failed attempt at group light flag

* fix flag
2021-03-16 10:02:26 -04:00
Erik Montnemery 9647eeb2e0
Add custom JSONEncoder for automation traces (#47942)
* Add custom JSONEncoder for automation traces

* Add tests

* Update default case to include type

* Tweak

* Refactor

* Tweak

* Lint

* Update websocket_api.py
2021-03-16 14:21:05 +01:00
Erik Montnemery 5f2326fb57
Add support for light color modes (#47720)
* Add support for light color modes

* Update tests

* Update comments

* Fix bugs, add tests

* Suppress lint errors

* Don't suppress brightness when state is ambiguous

* Improve reproduce_state + add tests

* Add comment

* Change COLOR_MODE_* constants, rename COLOR_MODE_DIMMER to COLOR_MODE_BRIGHTNESS

* Fix tests

* Tweaks
2021-03-16 12:51:39 +01:00
Erik Montnemery 333e6a215a
Add execute_script WS API (#47964)
* Add execute_script WS API

* Improve tests
2021-03-16 08:51:00 +01:00
Erik Montnemery 1cde1074c9
Correct trace for choose and repeat script actions (#47973)
* Correct trace for choose and repeat script actions

* only choose-wrap the choices

* Update tests

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-16 08:49:16 +01:00
Franck Nijhof 354c0a7fd1
Add reauthentication to Verisure (#47972)
* Add reauthentication to Verisure

* Update translations

* Correct translation step key

* Address pylint warning

* = is not :
2021-03-16 08:41:41 +01:00
Guido Schmitz 2230b03888
Add voltage device class to devolo Home Control (#47967) 2021-03-16 08:13:03 +01:00
SoCalix 0e368df023
Fix xmpp notify for muc rooms (#46715) 2021-03-16 02:07:54 +01:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery f82e59c32a
Make it possible to list debug traces for a specific automation (#47744) 2021-03-15 16:51:04 -07:00
Franck Nijhof 5f627df6f8
Add devices to Verisure integration (#47913)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-15 23:59:41 +01:00
Franck Nijhof 9fd973d8e8
Move Verisure services to entity services (#47905) 2021-03-15 22:50:28 +01:00
Martin Hjelmare 40c12997ed
Add zwave_js sensor humidity device class (#47953) 2021-03-15 20:51:24 +01:00
Franck Nijhof 059e9e8307
Add config flow to Verisure (#47880)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-15 12:30:44 -07:00
RadekHvizdos 9f4c2f6260
Add suggested_area to MQTT discovery (#47903)
* Add suggested_area to MQTT Discovery

This adds suggested_area to MQTT discovery, so that the discovered devices could be automatically added to the proper area.

* Add abbreviation for MQTT suggested_area

* Remove extra whitespace

* Remove extra whitespace #2

* Added tests for MQTT Dicovery of suggested_area

* Fix test for MQTT suggested_area

* Better tests of MQTT suggested_area

Changes made as per feedback from @emontnemery
2021-03-15 20:02:02 +01:00
Michael 07c197687f
improve debug logging (#47858) 2021-03-15 19:42:13 +01:00
Joakim Sørensen 8b3dccb1b4
Use ClientTimeout for hassio send_command (#47957) 2021-03-15 11:31:34 -07:00
Mick Vleeshouwer 9e05aa2d1f
Update state translation strings for water_heater (#46588) 2021-03-15 18:20:10 +01:00
Nathan Tilley 93c38551d3
Implement Wake On Lan Dummy State (#47719)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-15 17:20:47 +01:00
Maciej Bieniek 8239fb76d1
Bump brother library (#47949) 2021-03-15 16:42:28 +01:00
Franck Nijhof 5d5a110a20
None optional hass typing in base entity and notify (#47528) 2021-03-15 15:11:41 +01:00
Martin Hjelmare b9a26cf539
Add zwave_js dev docs readme (#47621) 2021-03-15 15:08:45 +01:00
David McClosky 37c53e0a04
Sort supported features in vlc_telnet (#46800) 2021-03-15 15:07:36 +01:00
Franck Nijhof 48808dc2ad
Upgrade vsure to 1.7.3 (#47946) 2021-03-15 14:43:32 +01:00
Andre Lengwenus 50b7b1cc7a
Migrate LCN configuration to ConfigEntry (Part 1) (#44090) 2021-03-15 13:45:13 +01:00
Aidan Timson fb34d1a56e
Clean up Lyric (#47899) 2021-03-15 13:06:57 +01:00
Colin O'Dell b645dabd66
Upgrade qnapstats library to 0.3.1 (#47907)
Fixes #47674
2021-03-15 12:53:45 +01:00
Bram Kragten 87d62cbbb8
Fix target of WLED services (#47938) 2021-03-15 12:50:19 +01:00
Tobias Sauerwein 6b98583bc1
Add tests for Netatmo climate (#46392)
* Add tests for Netatmo climate

* Add comments and fake webhook events

* Split tests

* Split tests

* Clean up

* Fix coveragerc

* Fix requirements

* Remove freezegun dependency

* Move async_block_till_done to

* Call async_handle_webhook directly

* Use async_handle_webhook directly p2

* Exclude helper.py from

* Remove assertion of implementation details

* Use the webhook integration handler

* Extract function
2021-03-15 12:45:36 +01:00
Khole cfeb8eb06a
Add Hive config flow (#47300)
* Add Hive UI

* Fix tests and review updates

* Slimmed down config_flow

* Fix tests

* Updated Services.yaml with extra ui attributes

* cleanup config flow

* Update config entry

* Remove ATTR_AVAILABLE

* Fix Re-Auth  Test

* Added more tests.

* Update tests
2021-03-15 12:27:10 +01:00
starkillerOG 1aa4fd4cc9
Make Xiaomi Miio unavailable device independent (#47795)
* make unavailable independent

* fix data is None

* process review comments
2021-03-15 12:25:11 +01:00
starkillerOG b2efcb3c22
Support all Xiaomi Miio gateway switches (#46657)
* Support all gateway switches

* fix checks

* process revieuw

* Update homeassistant/components/xiaomi_miio/switch.py

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

* generilize variable matching

* fix styling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-15 12:15:34 +01:00
Drzony 99d1e3e71d
MQTT Light: Use flash attribute in async_turn_off (#47919) 2021-03-15 11:24:07 +01:00
Paulus Schoutsen 7fe3c472e9
Improve bad JSON data reporting (#47932)
* Improve bad data reporting

* Fix tests

Co-authored-by: Erik <erik@montnemery.com>
2021-03-15 10:41:25 +01:00
Patrick Decat 9ec4c07753
Update openwrt-luci-rpc from 1.1.6 to 1.1.8 (#47848) 2021-03-14 22:57:56 -07:00
Brandon Rothweiler fbf3225234
Address review comments and minor fix for Mazda integration (#47702)
* Address comments from code review

* Fix handling of missing sensor values

* Use default timeout for get_vehicles

* Fix test_update_auth_failure
2021-03-15 06:57:39 +01:00
Allen Porter bcadccf7aa
Invalidate HLS Stream on nest url refresh failure (#47869)
This will ensure that the HLS stream is re-created and fetches a new url.
2021-03-14 22:49:21 -07:00
unaiur e91be3f9f5
Upgrade to maxcube-api-0.4.1 (#47910)
This new version implements a workaround for a hardware bug
that causes a factory reset of the full MAX! service.

See https://github.com/hackercowboy/python-maxcube-api/issues/12
for more details.
2021-03-14 22:45:14 -07:00
Maciej Bieniek be2be4e867
Bump gios library (#47917) 2021-03-14 22:44:13 -07:00
Maciej Bieniek 0be1389cf4
Bump accuweather library (#47915) 2021-03-14 22:44:04 -07:00
J. Nick Koston 8795608ae3
Add suggested area support to august (#47930) 2021-03-14 22:42:49 -07:00
J. Nick Koston 15aa00d6cc
Fix homekit checking for port cleanup too many times (#47836)
* Fix homekit checking for port cleanup too many times

The loop should have terminated as soon as the port was available

* coverage

* tweak homekit shutdown wait
2021-03-15 05:14:46 +01:00
J. Nick Koston 61a2460c87
Improve error reporting in recorder purge test (#47929) 2021-03-14 19:46:21 -07:00
Paulus Schoutsen 9dabc988fb Bump frontend to 20210314.0 2021-03-14 23:48:47 +00:00
Daniel Perna d32c364d7f
Update pyhomematic to 0.1.72 (#47906) 2021-03-14 18:52:47 +01:00
jugla 4d61f6f8c2
Reduce number of iqair request (#47890) 2021-03-14 09:04:08 -06:00
Daniel Hjelseth Høyer fea944bcea
Upgrade Tibber library to 0.16.2 (#47892) 2021-03-14 13:44:07 +01:00
starkillerOG 50b5fc4860
Add Xiaomi Miio subdevice lightbulb support (#46660)
* Xiaomi Miio: add subdevice lightbulb support

* fix tests

* process revieuw comments

* bump python-miio to 0.5.5

* bump python-miio to 0.5.5

* fix imports
2021-03-14 12:32:19 +01:00
Franck Nijhof 60838cf7ed
Verisure: Remove JSONPath, unique IDs, small cleanups (#47870)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-14 10:38:09 +01:00
Aidan Timson 984f02882b
Add HVAC action to Lyric climate platform (#47876) 2021-03-13 22:05:47 -10:00
Aidan Timson 47114c5f4f
Update service config for lyric (#47857) 2021-03-13 22:04:49 -10:00
Martin Hjelmare c53a462b3d
Fix zwave_js preset mode lookup (#47851) 2021-03-13 22:27:05 +01:00
Alexei Chetroi 7d8eb49d88
Bump up ZHA dependency (#47873) 2021-03-13 16:06:07 -05:00
Pierre Ståhl 518c86a0ab
Add device_info to Apple TV entities (#47837) 2021-03-13 10:39:04 -10:00
Aidan Timson 263023a152
Update aiolyric to v1.0.6 (#47871) 2021-03-13 10:32:38 -10:00
tdorsey eddb97b6fd
Fix spelling of automatically in roomba/lutron_caseta components (#47856) 2021-03-13 10:26:48 -10:00
Raman Gupta c7b9a0715d
Fix zwave_js preset supported feature (#47819) 2021-03-13 12:43:03 +01:00
Raj Laud 30f99177c7
Fix missing integer cast in squeezebox config flow (#47846) 2021-03-13 08:34:20 +01:00
Paulus Schoutsen eccdf85b29
Bump frontend to 20210313.0 (#47844) 2021-03-12 21:21:24 -08:00
David F. Mulcahey 547fd7d352
fix exception on device removal (#47803) 2021-03-12 21:06:37 -05:00
Tobias Sauerwein 07aeb8d160
Fix Netatmo event handling (#47792) 2021-03-12 12:57:02 -08:00
Hans Kröner 362e7226e9
Additional sensors for OpenWeatherMap (#47806) 2021-03-12 12:55:13 -08:00
Klaas Schoute 7826f6e3f8
Update cloud integration to 0.42.0 (#47818) 2021-03-12 12:52:43 -08:00
Robert Svensson 597bf67f5a
UniFi has changed to not report uptime in epoch form (#47492) 2021-03-12 11:55:11 -08:00
Mick Vleeshouwer 9a98dcf432
Add HomeKit support for new CO / CO2 device class (#47737) 2021-03-12 09:03:47 -10:00
Charles Garwood 13cd2f52d8
Return property_key in zwave_js get_config_parameters websocket (#47808) 2021-03-12 13:49:59 -05:00
Erik Montnemery 3115bf9aab
Add temperature sensor for gogogate2 wireless door sensor (#47754)
* Add temperature sensor for gogogate2 wireless door sensor

* Chain sensor generators
2021-03-12 19:04:56 +01:00
Michael 72cb1f5480
Add ambient sensors to nut integration (#47411) 2021-03-12 07:19:55 -10:00
Paulus Schoutsen 04b335afe9
Allow filtering the logbook by context_id (#47783) 2021-03-12 09:04:02 -08:00
Pierre Ståhl bf5028df2b
Bump pyatv to 0.7.7 (#47798)
* Bump pyatv to 0.7.7

* Change to assume name always exist in config entry
2021-03-12 16:19:14 +01:00
Erik Montnemery 514516bacc
Remove unused COVER_SCHEMA from gogogate2 cover (#47170) 2021-03-12 13:52:46 +01:00
J. Nick Koston 40c28aa38a
Ensure homekit reset accessory service can target any entity (#47787) 2021-03-12 11:41:01 +01:00
Guido Schmitz 6610e821bc
Bump devolo_home_control_api to 0.17.0 (#47790) 2021-03-12 11:37:39 +01:00
Paulus Schoutsen ff94e920e4
Do not use AsyncTrackStates (#47255) 2021-03-11 23:18:09 -08:00
Paulus Schoutsen 2a22c54fcb
Store the correct context in the trace (#47785) 2021-03-12 08:12:26 +01:00
MatsNl fa0c544bf5
Improve Atag integration and bump version to 0.3.5.3 (#47778)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-03-11 22:15:45 -08:00
J. Nick Koston f4b775b125
Cleanup homekit and remove aid storage from hass.data (#47488) 2021-03-11 22:05:03 -08:00
J. Nick Koston 33c4eb3434
Log the full exception when the recorder fails to setup (#47770) 2021-03-11 21:52:04 -08:00
James Nimmo 7f60edd7e7
Bump pyIntesisHome to v1.7.6 (#47500) 2021-03-11 21:39:44 -08:00
J. Nick Koston e2f0b18427
Adjust insteon fan speed range to valid upper bound (#47765) 2021-03-11 21:35:24 -08:00
Felipe Martins Diel 9ca0cd5464
Bump broadlink from 0.16.0 to 0.17.0 (#47779) 2021-03-11 21:34:56 -08:00
Marc Mueller 92852b9c10
Add apply_filter attribute to recorder.purge service (#45826) 2021-03-11 17:03:30 -10:00
Franck Nijhof 66605b5994
Upgrade adguardhome to v0.5.0 (#47774) 2021-03-12 00:37:34 +01:00
jjlawren daab9f9810
Bump plexapi to 4.4.1 (#47766) 2021-03-12 00:35:11 +01:00
Chris 7ca5e969cc
Fix zwave_js target_temp_low (#47762) 2021-03-12 00:28:38 +01:00
Henning Claßen 3ebc262b7f
Upgrade numato-gpio to 0.10.0 (#47539)
This adds support for devices sending '\n\r' end-of-line sequences.
2021-03-11 22:54:27 +01:00
Philip Allgaier 4bafd03dff
Consistent spelling of "PIN" (#47771) 2021-03-11 16:18:16 -05:00
Erik Montnemery 14ff6d4d1f
Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
Erik Montnemery 1fc8e32d86
Update integrations t-z to override extra_state_attributes() (#47760) 2021-03-11 20:16:26 +01:00
Erik Montnemery 14a59d290a
Update integrations j-o to override extra_state_attributes() (#47758) 2021-03-11 20:11:25 +01:00
Franck Nijhof 1095905f8c
Add DataUpdateCoordinator to Verisure (#47574) 2021-03-11 19:41:01 +01:00
Marc Mueller 10848b9bdf
Recorder improvements (#47739) 2021-03-11 07:52:07 -10:00
Erik Montnemery af4d06b12e
Update integrations f-i to override extra_state_attributes() (#47757) 2021-03-11 16:57:47 +01:00
Erik Montnemery 6c084ae6ce
Update integrations a-e to override extra_state_attributes() (#47756) 2021-03-11 16:51:03 +01:00
Aaron Bach f92b75cbb2
Write SimpliSafe alarm control panel state after arming/disarming (#47649)
* Write SimpliSafe alarm control panel state after arming/disarming

* Include locks
2021-03-11 15:22:35 +01:00
starkillerOG cf4954fead
Add Xiaomi Miio light config flow (#47161)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-11 14:09:21 +01:00
mtl010957 b162c45e0a
Cover Tilt Position Bugfix (#47682)
* Report tilt position properly when inverting using tilt_max < tilt_min

* Add warning per review comment

* Add test for inverted tilt position configuration

* Separate non-numeric and out of range warnings per review comment

* Fix out of range message and add tests for not numeric and out of range messages
2021-03-11 13:49:10 +01:00
Kristian Heljas 9e487eb260
Hoist mqtt name property and add icon support to MqttEntity (#47165)
* hoist common MqttEntity properties

* remove default name for MqttEntity

Default naming is sensible enough

* disable overriding common MqttEntity schema

* merge common MqttEntity schemas into MQTT_ENTITY_COMMON_SCHEMA
2021-03-11 13:42:13 +01:00
starkillerOG 724574d336
Add Xiaomi Miio sensor config flow (#46964)
* add config flow

* fix styling

* Add air_quality platform

* fix imports

* fix black

* Update homeassistant/components/xiaomi_miio/sensor.py

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

* Update homeassistant/components/xiaomi_miio/air_quality.py

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

* process revieuw feedback

* remove unused import

* fix formatting

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-11 11:48:48 +01:00
Erik Montnemery b9c2f80cab
Fix light brightness_step on multiple entities (#47746)
* Fix light brightness_step on multiple entities

* Fix comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-11 11:46:32 +01:00
Philip Allgaier 7e615cb7fd
Fixed string typos in Lutron and Roomba (#47745) 2021-03-11 10:16:52 +01:00
J. Nick Koston 9a686d148e
Ensure startup can proceed when there is package metadata cruft (#47706)
If a package fails to install or partially installed importlib
version can return None. We now try pkg_resources first, then
try importlib, and handle the case where version unexpectedly
returns None
2021-03-10 21:12:02 -10:00
Erik Montnemery a9a9e1f199
Tweak automation tracing (#47721) 2021-03-10 14:42:13 -08:00
hung2kgithub 15da1c4785
Add missing clear-night weather condition (#47666) 2021-03-10 10:48:06 -10:00
Matthias Alphart 54a9b69ecb
Update xknx to 0.17.2 (#47732) 2021-03-10 10:32:22 -10:00
Álvaro Fernández Rojas ff09643b33
Add Tado weather support (#44807) 2021-03-10 10:31:37 -10:00
Franck Nijhof 10535018cc
Improve HomeKit discovered Hue config flow (#47729) 2021-03-10 11:20:51 -08:00
Paulus Schoutsen 3ad4c26f98
Allow SSDP discovery modern Hue hubs (#47725) 2021-03-10 19:21:51 +01:00
CurrentThread 7c8851264f
Use LONGTEXT column instead of TEXT for MySQL/MariaDB and migrate existing databases (#47026) 2021-03-10 08:12:58 -10:00
David Bonnes 2103335323
Bump incomfort client to 0.4.4 (#47718)
* bump incomfort client

* bump client to 0.4.4

* restore launch.json
2021-03-10 18:58:37 +01:00
David Bonnes d53f1e98ac
bump client library (#47722) 2021-03-10 18:58:04 +01:00
Mick Vleeshouwer 461e766a93
Add device class CO2 to various integrations (#47676)
* Add device class CO2 to Fibaro

* Add device class CO2 to Awair

* Add device class CO2 to Tasmota

* Add device class CO2 to Netatmo

* Add device class CO2 to Ambient Station

* Update Tasmota tests

* Remove icon
2021-03-10 12:52:55 +01:00
Álvaro Fernández Rojas 5bc0e9a50f
Fix aemet temperatures with a value of 0 (#47680)
* aemet: catch TypeError exceptions

format_float() and format_int() should also catch possible TypeError
exceptions.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* aemet: correctly parse temperatures with a value of 0

Right now, when a temperature with a value of 0 is provided by the API, the if
condition isn't satisfied, return None instead of 0.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* aemet: group format int/float exceptions

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-10 10:25:04 +01:00
Paulus Schoutsen a50e9812cb
Fix automations with traces. (#47705) 2021-03-09 22:40:17 -08:00
Erik Montnemery 704000c049
Add support for breakpoints in scripts (#47632) 2021-03-09 21:23:11 -08:00
Sam Steele bf64421be9
Use the local timezone when parsing Todoist due dates (#45994) 2021-03-09 20:52:32 -08:00
Franck Nijhof 62e49e545b
Add confirm only for Elgato (#47684) 2021-03-10 01:53:00 +01:00
Matt Zimmerman 7840db0598
Restore switch.turn_on and switch.turn_off functionality for SmartTub pumps (#47586)
Revert "Remove turn_on and turn_off from SmartTub pump switches (#47184)"

This reverts commit bab66a5cb9.
2021-03-10 01:26:54 +01:00
J. Nick Koston a060acc2b1
Fix recorder with MSSQL (#46678)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-03-09 11:16:19 -10:00
Paulus Schoutsen 46e593485e
Handle zeroconf updated events (#47683) 2021-03-09 10:14:00 -10:00
Paulus Schoutsen ed679b263b
Improve logging elgato (#47681) 2021-03-09 19:52:53 +01:00
Erik Montnemery fd1add8f15
Rename AutomationTrace.runid to AutomationTrace.run_id (#47669) 2021-03-09 15:49:41 +01:00
Erik Montnemery 3a054c3be7
Replace Entity.device_state_attributes with Entity.extra_state_attributes (#47304) 2021-03-09 13:58:43 +01:00
Shay Levy 19f67335ec
Revert Shelly temperature sensor name change (#47664) 2021-03-09 13:45:58 +01:00
Paulus Schoutsen 34b9e6f6fc
Shelly: set confirm only (#47608) 2021-03-09 13:13:43 +01:00
Michael 8e58c3aa7b
Add error message to options flow if connection fails for nut integration (#46972) 2021-03-08 14:12:52 -10:00
J. Nick Koston 5d7b53603f
Harmony: set confirm only (#47617) 2021-03-08 15:44:55 -08:00
J. Nick Koston 1dd35ff059
Catch dhcp setup permission errors sooner (#47639)
This solves an unexpected thread exception on macs when running as
a user intead of root
2021-03-08 15:15:22 -08:00
unaiur 10eca5b986
Fix maxcube thermostat transition from off to heat mode (#47643)
Transition from HVAC_MODE_OFF to HVAC_MODE_HEAT are not executed because
target temperature is kept at OFF_TEMPERATURE, turning it into a no-op.

This change ensures that we increase the target temperature to at least
the minimum temperature when transitioning to HVAC_MODE_HEAT mode.
2021-03-08 15:14:24 -08:00
Raman Gupta 797ee81fc9
Update zwave_js supported features list to be static (#47623) 2021-03-08 15:11:54 -08:00
J. Nick Koston d9ffb65898
Fix insteon fan speeds (#47603) 2021-03-08 14:20:21 -08:00
J. Nick Koston 6af754a7d3
Fix turning off scene in homekit (#47604) 2021-03-08 14:19:05 -08:00
Franck Nijhof efe415f225
Upgrade aiohttp to 3.7.4.post0 (#47627) 2021-03-08 23:18:55 +01:00
Franck Nijhof fbf8b68488
Upgrade sentry-sdk to 1.0.0 (#47626) 2021-03-08 23:13:18 +01:00
Diogo Gomes ee25723468
Add option to reverse switch behaviour in KMTronic (#47532) 2021-03-08 22:56:24 +01:00
Oliver 520c4a8ee3
Update attrs to 20.3.0 (#47642) 2021-03-08 11:49:54 -10:00
Erik Montnemery ea4f3e31d5
Include changed variables in automation trace (#47549)
* Include changed variables in automation trace

* Deduplicate some code

* Tweak

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Fix format

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-03-08 22:48:36 +01:00
Philip Allgaier 665e2c3473
Ensure bond light follows proper typing (#47641) 2021-03-08 21:53:44 +01:00
Shay Levy 215ab5fd40
Add type hints to LightEntity (#47024) 2021-03-08 21:21:45 +01:00
Erik Montnemery a243adc551
Add WS command to get a summary of automation traces (#47557)
* Add WS command to get a summary of automation traces

* Update tests

* Correct rebase mistake, update tests
2021-03-08 20:30:52 +01:00
Paulus Schoutsen 67effbc8c4
Config flow to allow marking itself as confirm only (#47607) 2021-03-08 10:54:51 -08:00
J. Nick Koston 573c40cb11
Ensure bond devices recover when wifi disconnects and reconnects (#47591) 2021-03-08 10:44:28 -08:00
J. Nick Koston b315fcab11
Fix turn on without speed in homekit controller (#47597) 2021-03-08 10:43:22 -08:00
ollo69 32476a3fed
Fix AsusWRT wrong api call (#47522) 2021-03-08 10:34:12 -08:00
Tony Roman f9e33a4a0d
Allow running and restarting with both ozw and zwave active (#47566)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-08 10:26:08 -08:00
J. Nick Koston 65776ef980
Remove self as code owner for mylink (#46242)
Sadly these devices turn out to be so unreliable that I
gave up on them and replaced them with bond (bondhome.io)
devices which have been rock solid
2021-03-08 07:40:39 -10:00
J. Nick Koston 9d14ff8105
Add suggested_area support to Apple TV (#47015) 2021-03-08 07:39:57 -10:00
Czapla 8018097c54
Add title key to allow mobile app title translation to other languages (#46593) 2021-03-08 18:37:37 +01:00
J. Nick Koston 53952b9662
Ensure template fan value_template always determines on state (#47598) 2021-03-08 18:34:34 +01:00
Erik Montnemery 8fe51b8ea7
Store automation traces indexed by run_id (#47509)
* Store traces indexed by run_id

* Format

* Add test

* Add test

* Clarify comment
2021-03-08 18:04:41 +01:00
B-Hartley ee2658f9e6
Add (some) of ZCL concentration clusters to ZHA component (#47590)
* Update registries.py

Add concentration clusters recently added to zigpy

* Update measurement.py

Add concentration clusters recently added to ZigPy

* Update sensor.py

Add concentration clusters recently added to ZigPy

* Update sensor.py

remove unnecessary tabs

* Update measurement.py

remove unnecessary tabs

* Update sensor.py

Just adding CO and CO2 for now.

* Update registries.py

Just adding CO2 and CO for now.

* Update measurement.py

Just adding CO2 and CO for now

* Update sensor.py

import const CONCENTRATION_PARTS_PER_MILLION

* Update registries.py

removed trailing whitespace

* Update sensor.py

added extra blank lines and removed trailing whitespace

* Update measurement.py

added extra blank lines and removed trailing whitespace

* Update sensor.py

add device classes for CO and CO2
2021-03-08 11:22:13 -05:00