Commit Graph

25746 Commits (f2d9e6f70c7f73489705a086482ac7f52d093f56)

Author SHA1 Message Date
springstan 566058f701
Add config flow to fritzbox_callmonitor (#40736) 2021-01-27 16:53:45 +01:00
Tobias Sauerwein f14c4412b7
Migrate RMV to use httpx (#42560) 2021-01-27 15:57:58 +01:00
Dennis Schroer 8d572af77a
Add Huisbaasje integration (#42716)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-01-27 15:53:25 +01:00
joe248 b4af17e02d
Add service to move camera to PTZ preset (#43083) 2021-01-27 15:43:36 +01:00
Marc Mueller fb39185420
Add schema error handling to websocket_api (#45602)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-27 15:20:22 +01:00
Shay Levy 5bc4db5ef9
Fix exception when last Shelly device is removed (#45476) 2021-01-27 08:15:56 -05:00
Robert Chmielowiec 80c2efa9f2
Add total energy, preheater and RMOT sensors to comfoconnect (#45373) 2021-01-27 08:10:58 -05:00
Shulyaka eea50c8ccc
Add device actions for Number (#44240) 2021-01-27 13:40:13 +01:00
Marcel van der Veldt 32c6509d55
Remove unwanted brightness check in zwave_js light (#45597) 2021-01-27 13:07:02 +01:00
Thomas Hollstegge 78b057ce02
Make sure generated slugs are not empty (#43153) 2021-01-27 12:25:49 +01:00
CtrlZvi 1433cdaa12
Prefer shorter keys for intent matching (#43672)
When using fuzzy matching to match entity names for intents, whichever
entity is first is preferred in the case of equal matches. This leads
to situations where entities with similar names (such as entities named
for their area and then specific area location) may be used when the
whole area is wanted.

I ran into this with the my Phillips Hue lights. I have each individual
light named such that its room is the first part of the name, and its
location within the room after. So my living room has:
Living Room West
Living Room Northwest
Living Room North
Living Room Northeast

I then have a group for the whole room:
Living Room

Because the group is the last of the entities, trying to adjust the
whole room only activates one light, because all of the lights match
equally well.

By preferring the shortest of equal matches, we prefer keys that have
the least amount of extra information, causing "Living Room" to match
the group instead of an individual light.
2021-01-27 12:16:19 +01:00
Aaron Bach 3841f0e42d
Re-architect Tile integration with new pytile (#43071) 2021-01-27 12:06:09 +01:00
Lars Marowsky-Brée 34194da1b6
New methods for input_select component (#42968)
This adds a `cycle` attribute to select_previous/next, and
select_first and select_last services.

This is quite useful for streamlining using input_select via
automations, such as when they represent a list of states to step
through; if the first option is the dimmest and the last the brightest,
one may not want to accidentally cycle from the first to the last, for
example.

Similarly, being able to directly select the first or last removes
adjustment in related automations.
2021-01-27 11:17:59 +01:00
Martin Hjelmare 122a4e03f8
Bump zwave-js-server-python to 0.14.1 (#45598) 2021-01-27 11:17:47 +01:00
Josias Montag fb2db34334
Fix home connect lights setting color (#45470) 2021-01-27 11:02:32 +01:00
Ryan Fleming 459236fcdd
Camera Status and Motion record status (#44936) 2021-01-27 10:50:44 +01:00
Jim Ekman 67b309394f
Esphome fan direction (#44495) 2021-01-27 10:40:33 +01:00
Franck Nijhof 26e266181d
Explicitly return None in Velux covers (#45596) 2021-01-27 10:17:26 +01:00
Berni Moses 491e66793e
Add check and remove temporary fix for lg soundbar eq and source list (#38798) 2021-01-27 10:17:04 +01:00
Felipe Martins Diel c225f4b4ea
Implement remote.delete_command in the Broadlink integration (#44041) 2021-01-27 10:14:11 +01:00
Yannik Ache Eicher d99118f6ba
Optimized state handling of Panasonic Viera TVs (#42913) 2021-01-27 10:07:33 +01:00
Dermot Duffy 890eaf840c
Add advanced Hyperion entities (#45410)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-27 09:35:13 +01:00
Thomas Lovén 06ade6129c
Add selectors for text and arbitrary objects (#45112)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-27 09:20:19 +01:00
Philip Allgaier 6800f4b6fd
Add temperature step size for generic_thermostat (#41972) 2021-01-27 09:12:24 +01:00
Martin Hjelmare f387e833c3
Add zwave_js add-on config flow support (#45552) 2021-01-27 08:56:16 +01:00
Marc Mueller c805baf88c
Refactor slack tests (#45561)
* Refactor slack tests

* Changes

* Let service register for tests
2021-01-27 04:32:14 +01:00
J. Nick Koston 25f411ef6e
Add support for Pico and Shade remotes to Lutron Caseta (#45315) 2021-01-26 16:32:08 -06:00
Matej Drobnič b533b91b10
Add reminder support to todoist.new_task service (#44142)
* add reminder support to todoist.new_task service

* fix time support on reminder_date

* fix time support on todoist due_date
2021-01-26 23:26:29 +01:00
Chris Talkington 14785660b0
Avoid proxied Roku images during internal requests (#43547) 2021-01-26 23:21:25 +01:00
Paul Daumlechner fb527814f9
Add tilt functionality to Velux covers (#43669) 2021-01-26 23:19:08 +01:00
Yuval Aboulafia 73d2ae76a9
Round Mold Indicator attributes (#43622) 2021-01-26 23:14:53 +01:00
Sami Heino ee8d88e85c
Add support for EDS0068 onewire sensor (#44029)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-01-26 23:07:04 +01:00
ollo69 08e7247201
Remove tuya/climate precision property override (#44148) 2021-01-26 22:49:42 +01:00
jpcornil-git 74a44e03fa
Extend add_update_listener support to bound methods (#44238) 2021-01-26 22:19:10 +01:00
guillempages 67fcdc5a9c
Do not reset ble tracker adapter to read battery (#44229)
Do not reset the adapter to read the battery status, to avoid issues
in devices installations without sudo
2021-01-26 15:17:46 -06:00
Paulus Schoutsen 352d0870e3
Light significant changes + sensor tweaks (#45583) 2021-01-26 22:11:06 +01:00
Dror Eiger 74efe78d0a
Add device metadata for Google Assistant (#45507)
* Add device metadata for Google Assistant

* Increase test coverage

* Refactor fetching the device and entity entries.
2021-01-26 21:59:43 +01:00
Paulus Schoutsen 712a5a098d
Add significant change filtering to Google (#45566) 2021-01-26 21:45:09 +01:00
Dermot Duffy 568962552b
Remove hyperion entry from registry only when instances are fully removed (#44488) 2021-01-26 21:39:02 +01:00
Robert Svensson 7a39a86eb9
Add gen3 Hue remote to deCONZ device trigger (#45581) 2021-01-26 21:36:12 +01:00
Jc2k 3b0a440770
Add support for homekit_controller secondary entities like power usage (#44013) 2021-01-26 13:45:01 -06:00
J. Nick Koston 56253a6245
Bump httplib2 in google and remember_the_milk (#45578)
Fixes CVE-2020-11078
2021-01-26 18:51:20 +01:00
kpine daddb76e1d
Fix zwave_js Color Switch Device Type discovery for RGB dimmers (#45571) 2021-01-26 18:39:56 +01:00
Franck Nijhof 52c56fdac7
Upgrade pillow to 8.1.0 (#45574) 2021-01-26 18:12:02 +01:00
Alexei Chetroi 9ae4818a23
Update ZHA dependencies (#45569) 2021-01-26 11:54:05 -05:00
jjlawren 76be67fa64
Bump plexapi to 4.3.0 (#45567) 2021-01-26 17:25:45 +01:00
Robert Svensson 26764a805b
Don't parse previous messages when UniFi connection state change to available (#45544)
* Don't parse previous messages when connection state change to available

* Disable pylint for arguments-differ W0221 message
2021-01-26 16:41:28 +01:00
radovanbauer baab9b9a81
Added command templates for the mqtt climate component. (#44976)
This allows integrating with devices which require more complex payloads to be posted when updating their values.

Old feature request: https://github.com/home-assistant/core/issues/11496
There are numerous posts requesting this feature, example: https://community.home-assistant.io/t/need-help-with-value-template-for-mqtt-hvac/73395/68https://community.home-assistant.io/t/need-help-with-value-template-for-mqtt-hvac/73395/68

Command templates have been added for the following:
- fan_mode
- hold
- mode
- swing_mode
- temperature
- temperature high/low

This doesn't add templates for aux, away mode, power since these already accept custom payload_on/off (although they all share the same payload). It should be straightforward to add templates for them as well if needed.
2021-01-26 16:12:33 +01:00
Joakim Sørensen b1c2cde40b
Changes to filename and path validation (#45529)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-26 15:53:21 +01:00
Paulus Schoutsen 4739e8a207
Limit data sending to Alexa to significant changes (#45563) 2021-01-26 15:48:35 +01:00
Fabian Affolter 893406c834
Upgrade shodan to 1.25.0 (#45560) 2021-01-26 15:44:51 +01:00
Paulus Schoutsen d082be787f
Add "significant change" base (#45555) 2021-01-26 14:13:27 +01:00
Maikel Punie 38361b134a
Bump python-velbus version to 2.1.2 (#45553) 2021-01-26 12:20:03 +01:00
popboxgun ab710f2154
Add support for Discord embed in messages (#44986)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-01-26 11:39:48 +01:00
starkillerOG c16fd0a1ac
Set hyperion icon to lightbulb when off (#45351)
Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>
2021-01-26 10:46:54 +01:00
starkillerOG 3647d549b0
Fix Hyperion brightness setting (#45335) 2021-01-26 10:45:41 +01:00
Paulus Schoutsen b9a525a9a7
Add an HTTP view to dump the Z-Wave JS state (#45452)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-01-26 10:27:20 +01:00
William Scanlon 260d9f8e16
Upgrade econet to use new API (#44427)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-26 09:18:20 +01:00
north3221 f2a8ccdbae
Add tado service set temperature offset (#45014) 2021-01-26 09:11:29 +01:00
Robert Svensson 622906965d
Add better message to deCONZ event logbook when information is available (#45545)
* Add better message when information is available

* Fix pylint
2021-01-26 08:15:39 +01:00
Greg Dowling d110d42913
Fix Vera race condition on start (#45535) 2021-01-26 08:15:07 +01:00
Marc Mueller ad677b9d41
Improve Slack notify component (#45479)
* Add typing information

* Small improvments

* Use %r for exceptions
* Added exception handlers for aiohttp.ClientError
* Added testcase

* Changes after review

* Bugfixes
2021-01-25 17:03:12 -07:00
Tobias Sauerwein ec47df4880
Clean up unnecessary method from Netatmo code (#45546) 2021-01-26 01:02:48 +01:00
Marcel van der Veldt 11009b99bd
Improve zwave_js light targetvalue vs currentValue selection (#45477) 2021-01-25 22:09:12 +01:00
Daniel Hjelseth Høyer 094844f834
Tibber, fix spreading requests (#45533)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-01-25 17:48:42 +01:00
Greg Dowling 3de2c900f3
Fix Roon play_media (#45532) 2021-01-25 17:44:18 +01:00
Ian Tewksbury 666a94a8e1
Add zwave_js ZWavePropertyBinarySensory (#45504) 2021-01-25 15:50:21 +01:00
Leonardo Figueiro d174c8265e
Add WiLight Fan (#39541)
* Add WiLight Fan

Add fan to WiLigt integration

* Updated fan.py and test_fan.py

* Creating new fan test

* Update homeassistant/components/wilight/__init__.py

OK!
Done!

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

* Update homeassistant/components/wilight/fan.py

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

* Update homeassistant/components/wilight/fan.py

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

* Update homeassistant/components/wilight/fan.py

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

* As MartinHjelmare requested

* Update fan.py

* Update tests/components/wilight/test_fan.py

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

* Update tests/components/wilight/test_fan.py

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

* Update test_fan.py

As Martin Hjelmare suggested

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-25 14:03:11 +01:00
Xavier Decuyper 1c0a74f18a
Fix Tado fallback modes (overlay) (#44665) 2021-01-25 13:23:01 +01:00
SukramJ 104107dd95
Bump dependency for HomematicIP Cloud to 0.13.1 (#45475) 2021-01-25 13:19:11 +01:00
Paulus Schoutsen bf8d17f1b5
Better wait for Z-Wave to be initialized (#45520) 2021-01-25 13:12:58 +01:00
Paulus Schoutsen a7e8c62204
Bump Z-Wave JS Server Python to 0.13 (#45524) 2021-01-25 12:31:14 +01:00
On Freund 47e34bb129
Use image proxy in volumio media browser (#43819)
* Use image proxy in volumio media browser

* Add thumbnail cache

* Clear thumbnail cache on browse

* Use built-in hash instead of hashlib
2021-01-24 18:16:10 -06:00
Matthias Alphart 616328c7c4
Update xknx to 0.16.2 (#45511) 2021-01-25 00:51:38 +01:00
Vinny Furia 34f701a69b
Fix for radiotherm component stall (#45482) 2021-01-24 17:01:41 -06:00
Eric Severance 12e31b9571
Bump pyWeMo to 0.6.1 (#45501) 2021-01-24 19:16:12 +01:00
Josef Schlehofer 4bb6911b76
Upgrade youtube_dl to version 2021.01.16 (#45484) 2021-01-24 10:16:46 +01:00
J. Nick Koston 47c0adb312
Remove YAML support from tado (#45384) 2021-01-24 01:33:30 +01:00
Raman Gupta c2900ff888
Add support for zwave_js lock services (#45451) 2021-01-23 18:21:31 -05:00
Robert Svensson 1e7e5220a3
Add SSDP discovery support to Axis integration (#45474)
* Add SSDP discovery support to Axis integration

* Remove unnecessary f-string

* Remove the last of the f-string...
2021-01-23 23:51:49 +01:00
Xiaonan Shen 59b0a4d060
Rewrite dyson air quality tests (#45466) 2021-01-23 14:54:58 -05:00
Erik Montnemery 0e068a5f39
Truncate MQTT payload in debug messages to 8kB (#45465) 2021-01-23 14:52:43 -05:00
Paulus Schoutsen 0930aae208
Avoid misuse sanitize_path, clarify docs (#45469) 2021-01-23 18:28:57 +01:00
Erik Montnemery f86beed7b0
Subscribe only to valid MQTT discovery topics (#45456) 2021-01-23 08:51:25 -05:00
J. Nick Koston a0b906005d
Remove YAML support from nuheat (#45380) 2021-01-23 06:27:32 +01:00
Robert Svensson e92c4c99d5
Step Axis integration to platinum score on Integration Quality Scale (#45442) 2021-01-23 06:25:01 +01:00
J. Nick Koston 954ad854fb
Remove the ability for mqtt to set speeds that are not in the speed_list (#45445) 2021-01-23 06:24:06 +01:00
Anders Melchiorsen 011d5208fd
Upgrade aiolifx to 0.6.9 (#45448) 2021-01-23 06:21:57 +01:00
Dermot Duffy e40f0bf429
Disconnect Hyperion client in error conditions (#45411) 2021-01-23 06:21:38 +01:00
Alexei Chetroi daf24dc508
Always apply default light profiles, unless a profile is given (#45450) 2021-01-23 06:20:53 +01:00
J. Nick Koston 431b143eec
Add a one touch pairing config flow for lutron caseta (#45136)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-01-22 17:48:06 -06:00
Robert Svensson 03fb73c0ae
Option to select what video source Axis camera should use (#45268)
* Fully working proposal of config option to select what video source camera entity should use

* Bump dependency to v43
Reflect dependency changes in how image sources is now a dict

* Fix bdracos comment
2021-01-23 00:15:58 +01:00
Chris 68e7ecb74b
Add zwave-js fan platform (#45439)
* Add zwave-js fan platform

* Update remaining tests

* Missing awaits, tests fixed

* Fix typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-23 00:11:32 +01:00
Robert Svensson 22a6e55e70
Base deCONZ group supported features on the sum of all its lights (#45440) 2021-01-22 23:39:34 +01:00
Robert Svensson 57fa7f926a
Introduce reauth flow to deCONZ (#45443) 2021-01-22 23:37:16 +01:00
Robert Svensson 18c7ae9a8b
Fix hs_color crashing when activating scenes in deCONZ on color_temp lights (#45159) 2021-01-22 22:40:22 +01:00
Robert Svensson aaf4cd4a25
Basic logbook support for deCONZ events (#45400)
* Basic logbook support

* Improve formulation of message

* Improve typing
2021-01-22 22:39:11 +01:00
Charles Garwood 6813454821
Bump zwave-js-server-python to 0.12.0 (#45438) 2021-01-22 13:32:52 -05:00
Simone Chemelli 86cd7911de
Clarify ConfigEntryNotReady log (#45425)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Charles Garwood <cgarwood@gmail.com>
2021-01-22 12:13:23 -05:00
Chris 198b875a6f
Add cover platform to zwave js (#45193) 2021-01-22 11:51:39 -05:00
Matthias Alphart 4aceb0dd27
Add KNX service event_register (#45248) 2021-01-22 15:27:51 +01:00
Philip Allgaier 89fc92f68a
Slightly improve error message in case of duplicate entity IDs (#45424) 2021-01-22 09:16:13 -05:00
Fabian Affolter 2bc59c1d8e
Upgrade sendgrid to 6.5.0 (#45412) 2021-01-22 07:35:48 -05:00
Pascal Vizeli 8c573ae29c
Bump hass-nabucasa 0.41.0 (#45422) 2021-01-22 07:30:49 -05:00
Fabian Affolter 30ed998d83
Upgrade pylast to 4.1.0 (#45413) 2021-01-22 10:16:20 +01:00
Fabian Affolter 148bc6081f
Upgrade TwitterAPI to 2.6.3 (#45415) 2021-01-22 10:01:20 +01:00
Raman Gupta 8f7a4a68b2
Fix zwave_js climate entity temperature unit (#45377) 2021-01-22 09:23:16 +01:00
J. Nick Koston 38d4af1a6e
Remove YAML support from powerwall (#45381) 2021-01-21 21:59:33 -05:00
Erik Montnemery 59f178ab9e
Bump hatasmota to 0.2.6 (#45403) 2021-01-21 21:57:46 -05:00
Shay Levy f117ddc6fa
Stop update_coordinator schedule refresh when HA is stopping (#45338)
* Stop update_coordinator schedule refresh when HA is stopping

* Add unittests

* Fix event type
2021-01-22 00:23:50 +01:00
J. Nick Koston 3029a95410
Remove YAML support from rachio (#45383) 2021-01-21 15:07:47 -05:00
J. Nick Koston d733292982
Remove YAML support from hunterdouglas_powerview (#45376) 2021-01-21 13:51:08 -05:00
J. Nick Koston db83aea1df
Remove YAML support from nexia (#45379) 2021-01-21 13:45:52 -05:00
Xiaonan Shen 5de8639798
Rewrite dyson sensor test (#45382) 2021-01-21 13:43:52 -05:00
J. Nick Koston b68c287ff1
Add SSDP discovery to unifi (#45364) 2021-01-21 11:03:54 -06:00
Ville Skyttä ded242a8fe
Treat Huawei LTE response error code -1 as apparently unsupported (#45304) 2021-01-21 14:34:24 +02:00
Robert Svensson b601e7e497
Introduce reauthentication flow to Axis integration (#45307) 2021-01-21 12:56:04 +01:00
Esben Damgaard 25adc6dd4f
Don't update systemmonitor static boot time timestamp (#45165) 2021-01-21 12:35:37 +01:00
jjlawren 1f66457a34
Separate Plex/Sonos cross-integration tests (#45370) 2021-01-21 11:22:19 +01:00
Jérôme W fd363f9c3a
Format SNMP sensor data which are not strings/counters (#44823) 2021-01-21 09:41:09 +01:00
Dermot Duffy 30622b5575
Bump required hyperion-py version (#45385) 2021-01-21 09:32:16 +01:00
J. Nick Koston bb1224d06f
Remove YAML support from myq (#45375) 2021-01-21 09:27:04 +01:00
Xiaonan Shen daa9449f18
Fix yeelight brightness in music mode (#45358) 2021-01-21 08:54:24 +01:00
Tobias Sauerwein e97448a201
Bump pyatmo to v4.2.2 (#45386) 2021-01-21 08:30:28 +01:00
J. Nick Koston e8cda598ac
Fix memory leak in dhcp integration (#45378)
* Fix memory leak in dhcp integration

Passing the L2socket to AsyncSniffer caused a memory
leak on some systems. To ensure we can create a socket,
we do a test creation before starting AsyncSniffer
since the sniffer will create it in another thread
and we cannot see any permission error otherwise.

* Update tests

* space

* do not store packets
2021-01-21 08:26:58 +01:00
Hans Oischinger 2925474a5d
Bump pyVicare to 0.2.5 (#45301)
Also removes the power sensor that is no more supported

Full diff between 0.2.0 and 0.2.5:
b602c1670e...b443a4df75
2021-01-21 08:12:31 +01:00
Mick Vleeshouwer 9b14586568
Add DemoCover with only tilt controls (#45228)
* Add DemoCover with only tilt controls

* Add default tilt position to Pergola Roof

* Apply githooks (isort)

* Add new demo device to Google Assistant fixtures
2021-01-20 19:11:55 -06:00
J. Nick Koston 536e835b39
Switch frequently used unifi controller properties to attributes (#45365) 2021-01-20 16:58:02 -06:00
Xiaonan Shen 96448c6778
Change Dyson PureCoolLink fan speeds to adhere the standard (#45331) 2021-01-20 16:27:16 -05:00
J. Nick Koston a7741be9bb
Wait for all triggers when one fails to attach (#45361) 2021-01-20 22:13:21 +01:00
Robert Svensson da4404e8cf
Introduce reauthentication flow to UniFi integration (#45360)
* Improve site selection

* Reauth flow and tests
Add **kwargs to mock_aiohttp_client create_session to support inputting verify_ssl and cookie_jar

* Update homeassistant/components/unifi/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Minor improvements

* Improve coverage

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-01-20 22:10:40 +01:00
Aaron Bach 7ff02fe8d4
Replace strange "dict logic" in AirVisual pollutant level sensors (1 of 2) (#44868) 2021-01-20 15:24:56 -05:00
Maciej Bieniek 14f5eb7305
Increase update interval in AccuWeather integration (#44984) 2021-01-20 15:17:53 -05:00
Xiaonan Shen e46f1c0a10
Remove yeelight init dispatcher on unloading (#45359) 2021-01-20 15:10:01 -05:00
Santobert ab62a4ce39
Bump pybotvac to 0.0.20 (#45367) 2021-01-20 15:08:44 -05:00
Charles Garwood 0f5a3c4359
Add default URL to zwave_js config flow (#45366) 2021-01-20 15:03:15 -05:00
Xiaonan Shen 7a01d33814
Add empty password support to pi-hole (#37958) 2021-01-20 16:40:23 +01:00
Allen Porter bf0e012d1e
Repair stream test_recorder.py and mark not flaky (#45054)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-20 14:44:24 +01:00
Charles Garwood d284c6369e
Add permanent_hold attribute to Honeywell climate (#45341) 2021-01-20 08:34:14 -05:00
David F. Mulcahey ef8ee38274
bump libs for zha (#45345) 2021-01-19 21:19:46 -05:00
J. Nick Koston 3ae527c158
Switch dhcp to use async sniff for faster shutdown (#45339)
* Switch dhcp to use async sniff for faster shutdown

* Do not actually start the thread since we do not know when it will finish starting
2021-01-19 20:49:49 +01:00
Martin Hjelmare a9a0f8938f
Move device tracker scanner attributes to ScannerEntity (#45312) 2021-01-19 11:04:08 -06:00
Philip Allgaier 52cfc06e12
Replace outdated / closed URL for reporting HA startup blocks (#45334) 2021-01-19 11:01:51 -05:00
Charles Garwood c1addde6f9
Add node_status websocket API command to zwave_js (#45325) 2021-01-19 16:41:24 +01:00
kpine d7a0f1e467
Include config entry id in zwave_js signal names (#45282) 2021-01-19 16:40:01 +01:00
Xiaonan Shen c929fbeea3
Rewrite dyson fan test (#45295)
* Improve device fixture to take parameter

* Remove unused code in dyson/fan

* Rewrite dyson fan test
2021-01-19 10:12:38 +01:00
Robert Svensson 07c3981de7
Use methods available to verify link local address (#45309) 2021-01-19 09:15:41 +01:00
Erik Montnemery 852136ccfe
Bump hatasmota to 0.2.5 (#45297) 2021-01-18 22:26:33 +01:00
Ville Skyttä 94dbcc9d2b
Generics and other type hint improvements (#45250) 2021-01-18 22:23:25 +01:00
Alan Tse 4928476abe
Allow notify services to update existing targets (#45283) 2021-01-18 21:42:20 +01:00
Matthias Alphart 8d3564e275
Update xknx to 0.16.1 (#45247) 2021-01-18 10:15:28 -05:00
Charles Garwood 8de0b7b948
Add add & remove node commands to zwave_js websocket api (#45232) 2021-01-18 10:08:52 -05:00
Greg Dowling adab9adbce
Pyroon discovery (#44811)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-18 10:00:30 -05:00
J. Nick Koston c621c0fa5d
Remove YAML support from nut (#45276) 2021-01-18 15:16:42 +01:00
Robert Svensson 8e0addd216
Fix error with Axis light events without representation in light control (#45277) 2021-01-18 15:00:27 +01:00
gregod cf9ea6f82d
Sanitize user-agent in wrong_login message (#45251) 2021-01-18 09:21:30 +01:00
Raman Gupta b2f914823d
Add climate platform to zwave_js (#45177)
* add zwave_js support for climate

* fix

* add fixture

* rename fixture

* fix variable name error

* add tests

* fix tests and handle set_temp properly based on unit

* update call being tested

* fix tests

* improve coverage

* fix docstring

* address review comments

* fix test

* update enum class name

* bump zwave-js-server-python version and assume primary_value is always set

* add additional coverage

* fix docstrings and move populating modes/presets into initialization

* attempt to address comments

* improve comment

* move mode value into a variable so its easier to iterate in the future

* dont assume mode as a discovery point

* assume all values are available when node is ready

* fix order of operations

* switch to valueerror

* use primary value

* readd property and type to discovery schema
2021-01-18 03:45:06 +01:00
Greg Dowling a1b0d6baad
Improve Roon media player play_media (#45221)
* Use revised play_media api.

* Move split path function to library.
2021-01-17 21:00:30 +01:00
J. Nick Koston ae3d038baa
Update gogogate2 to be async (#42066) 2021-01-17 11:38:30 -06:00
jlvaillant a50fba4e0b
more graceful shutdown in the presence of a proxy_stream (#45246) 2021-01-17 17:10:22 +01:00
Andre Lengwenus 21b9b6b2c8
Bump pypck to 0.7.9 (#45267) 2021-01-17 15:56:21 +01:00
Daniel Hjelseth Høyer 34a9b93d41
Update Tibber library, pyTibber==0.16.1 (#45263)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-01-17 14:42:52 +01:00
Xiaonan Shen dcd17530cd
Add device classes to Dyson sensors (#45264) 2021-01-17 14:41:32 +01:00
Wim Fournier e828e18156
Add preheater current power to comfoconnect (#44083)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-01-17 12:30:38 +01:00
J. Nick Koston fbc98b1291
Make DHCP discovery ignore self assigned ip addresses (#45256) 2021-01-17 10:35:02 +01:00
Xiaonan Shen a42d43d054
Improve dyson code (#45172)
* Improve air_quality

* Improve climate

* Improve sensor

* Improve vacuum

* Improve fan

* Fix pylint

* Improve on_message

* Change unique ID back

* Remove unused attribute

* Remove redundant current_humidity

* Merge current_temperature

* Rename fan device to fan entity

* Fix filter life sensors

* Remove unneeded context switch

* Remove entity_type

* Fix pylint

* Add comment on humidity check
2021-01-17 10:24:26 +01:00
J. Nick Koston 28a611f3da
Use standard device tracker attributes for "ip" and "mac" in Mikrotik (#45255)
* Mikrotik now uses the device_tracker standard attributes for "ip" and "mac"

The "mac_address" and "ip_address" attributes have been removed.

* Update homeassistant/components/mikrotik/device_tracker.py
2021-01-17 10:18:07 +01:00
J. Nick Koston 41e7d960ee
Use dispatcher for unifi heartbeat tracking (#45211)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-17 03:10:52 +01:00
J. Nick Koston b71a9b5e28
Prefill the ip address for powerwall discovery (#45209) 2021-01-17 03:09:04 +01:00
J. Nick Koston 11cbf1152d
Add dhcp discovery properties to mikrotik (#45205) 2021-01-17 00:26:32 +01:00
Diogo Gomes 1454349813
Re-add support for input_number as source of filter integration (#45245) 2021-01-16 23:57:32 +01:00
Allen Porter bf4b4623aa
Bump google-nest-sdm to 0.2.9 (#45244)
This library contains user experience for the case where oauth
token cannot be refreshed on startup, which regressed after
https://github.com/home-assistant/core/pull/44686
2021-01-16 23:39:33 +01:00
Klaudiusz Staniek d4b3cf9c47
Fix the use of muted volume if not previously set in mpd (#45018) 2021-01-16 22:40:59 +01:00
Sean Dague 278c5193a6
Bump mychevy version to 2.1.0 (#44810) 2021-01-16 22:25:41 +01:00
Martin Weinelt cecb711fe5
Update python-mpd2 to 3.0.3 (#45141)
Fixes: #44931
2021-01-16 20:45:54 +01:00
J. Nick Koston 3a3e5e636b
Switch somfy to zeroconf discovery (#45158) 2021-01-16 20:41:41 +01:00
Robert Chmielowiec fa8ae77a6f
Bump pycomfoconnect to 0.4 (#45201) 2021-01-16 20:29:21 +01:00
Penny Wood c8990e373d
Add Homekit discovery for iZone (#45223) 2021-01-16 20:22:03 +01:00
Robert Svensson d80ef6c5fb
Create shortcuts for config entry parameters in Axis device (#45233) 2021-01-16 19:54:48 +01:00
Alexei Chetroi 0b9687f7bd
Bump up ZHA dependency (#45230) 2021-01-16 13:43:35 -05:00
Martin Hjelmare e72e66ae6f
Bump zwave-js-server-python to 0.11.0 (#45231) 2021-01-16 19:26:15 +01:00
Robert Svensson 3cc45697cb
Prettier Zeroconf discovery name for Axis devices (#45216)
* Change zeroconf name to be based of prettier name rather than hostname to help user understand what device is discovered
Have a full zeroconf discovery message in tests
Clean up unusued globals

* Use non-formatted serial number for config entry title as well
2021-01-16 18:59:57 +01:00
Shay Levy 8151721fbc
Move switcher_kis services to entity services (#45204) 2021-01-16 18:18:40 +01:00
Raman Gupta 562d30319b
Add lock platform to zwave_js (#45175)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-16 11:43:25 -05:00
Franck Nijhof b6148bbbe7
Add DHCP discovery to Toon (#45222) 2021-01-16 15:20:56 +01:00
J. Nick Koston 74082194a6
Add dhcp discovery to squeezebox (#45210) 2021-01-16 14:25:15 +01:00
Penny Wood 7c7b357357
Handle older Izone controller (#45218)
* Updated to new library
* Fixed config flow exception
2021-01-16 21:24:00 +08:00
Robert Svensson 2044b33eb6
Add DHCP discovery support to Axis integration (#45167) 2021-01-16 11:03:56 +01:00
J. Nick Koston 233f923cd7
Add support for discovering individual roombas (#45200)
* Add support for discovering individual roombas

* add missing translation string

* Update homeassistant/components/roomba/strings.json

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-15 21:28:12 -10:00
J. Nick Koston 5e01b828af
Discover devices from device_trackers with router sources (#45160)
* Discover devices from device_trackers with router sources

* Update homeassistant/components/dhcp/__init__.py

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

* fix stop being called on the wrong context

* clean

* move it to base

* cleanup was too agressive

* Update homeassistant/components/dhcp/__init__.py

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

* coverage

* revert legacy changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-16 01:01:37 +01:00
Robert Svensson 598a0d19b1
Normalise unique ID in Axis integration (#45203)
* Move adding unique id to config entry from setup_entry to migrate_entry

* Normalise unique ID

* MQTT subscribe should still use the serial number in the way the device itself expects
2021-01-16 01:01:14 +01:00
J. Nick Koston b3764da912
Fix exception when trying to configure an ignored somfy mylink (#45198) 2021-01-16 00:48:19 +01:00
Philip Allgaier 5677adc104
Fix all forecast datetime values in OpenWeatherMap (#45202) 2021-01-15 23:32:38 +01:00
On Freund 03b2fbd043
Fix Typo in Onkyo A/V info (#45194) 2021-01-15 15:18:45 -05:00
J. Nick Koston cffb1458a1
Improve dhcp discovery for somfy_mylink to handle multiple devices (#45166)
* Improve dhcp discovery for somfy_mylink to handle multiple devices

* Fix ip

* normalize

* logging debug

* force str

* we need a str

* fix tests

* add tests

* pylint
2021-01-15 19:47:25 +01:00
Sjack-Sch 7ce897f373
Fix Home Connect ambient color (#45038) 2021-01-15 19:40:29 +01:00
Martin Hjelmare 74c81b7c01
Bump zwave-js-server-python to 0.10.0 (#45189) 2021-01-15 19:32:10 +01:00
Sergio Conde Gómez 2e42a862b0
Remove service and config schemas from foscam (#45154) 2021-01-15 18:24:31 +01:00
Charles Garwood 9dbf14188a
Add WebSocket API Foundation for zwave_js (#45151) 2021-01-15 15:17:40 +01:00
Marcel van der Veldt 071c8cc67d
Add binary_sensor platform to zwave_js (#45081)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-15 09:15:03 -05:00
Pascal Vizeli e1427c45f2
Bump aioHTTP 3.7.3 - YARL 1.6.3 (#45180) 2021-01-15 13:19:22 +01:00
Tobias Sauerwein b5690053a9
Only add Netatmo climate schedule attribute if not None (#45176) 2021-01-15 13:15:59 +01:00
Philip Allgaier 41b45c7f78
Auto-create friendly name for persistent notifications (#42427) 2021-01-15 12:13:56 +01:00
Paulus Schoutsen 93c2f2bbeb
Bump Z-Wave JS Server Python to 0.9.0 (#45181) 2021-01-15 10:59:35 +01:00
Franck Nijhof dee0f887de
Extend filter and filter tests (#45179) 2021-01-15 10:30:29 +01:00
Marcel van der Veldt a276f2d19e
Fix zwave_js adding not fully interviewed nodes (#45162)
* fix situation were nodes are being added or not fully interviewed

* adjust test

* lint
2021-01-15 01:09:03 +01:00
J. Nick Koston 7fada806af
Downgrade dhcp log message error message when running without CAP_NET_RAW (#45157) 2021-01-14 10:46:15 -10:00
Erik Montnemery a1368ad3ed
Remove beta tag from Tasmota integration (#45153) 2021-01-14 20:02:34 +01:00
Franck Nijhof f047d04882
Add filtering 2021-01-14 20:02:01 +01:00
bchastain 3800a4feee
Add pressure to OWM forecast data (#43843) 2021-01-14 19:47:48 +01:00
unaiur ab518a7755
Migrate to maxcube-api 0.3.0 version (#45126)
Upgrade maxcube-api to solve bugs fixed in last 3 years.
2021-01-14 11:33:02 +01:00
Corbeno 4bca9596ee
Rework Proxmoxve to use a DataUpdateCoordinator (#45068)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-14 11:31:37 +01:00
J. Nick Koston 4efe6762c4
Remove YAML support from harmony (#45140) 2021-01-14 09:45:32 +01:00
J. Nick Koston 23a73dc5b1
Mark YAML support for DoorBird deprecated (#45139) 2021-01-14 09:44:01 +01:00
On Freund 2ac658d257
Get A/V info for Onkyo receivers (#34477)
* Get A/V info for Onkyo receivers

* Fix lint errors

* Remove blank line

* Trigger CI
2021-01-14 09:39:11 +01:00
Erik Montnemery e0c8b1aab6
Remove from_state from alarm device triggers (#45127) 2021-01-14 09:12:32 +01:00
J. Nick Koston da677f7d5a
Add support for discovery via DHCP (#45087)
* Add support for discovery via DHCP

* additional tesla ouis

* merge tests

* dhcp test

* merge requirements test

* dhcp test

* dhcp discovery

* dhcp discovery

* pylint

* pylint

* pylint

* fix

* Add matching tests

* 100% cover

* cleanup

* fix codespell

* Update exception handling

* remove unneeded comment

* fix options handling exception

* fix options handling exception
2021-01-14 09:09:08 +01:00
Philip Allgaier 402a0ea7da
Fix OpenWeatherMap forecast timestamp (#45124) 2021-01-14 08:47:45 +01:00
ehendrix23 17cb071173
Bump MyQ to 2.0.14 (#45067) 2021-01-13 20:15:23 -10:00
Petro31 3ebc5d45a8
Add energy and power sensor tests & fix device_class (#45122) 2021-01-13 15:37:54 -05:00
Nikolay Vasilchuk eca6bc6a73
Starline OBD information (#37608)
* Starline OBD data

* Small fix

* Review (comments)

* Review (service description)

* Review (service method)

* starline updated to 0.1.5

* Small typo fix
2021-01-13 20:44:24 +01:00
TimothyLeeAdams 7872e6caf8
Change attribute key for Lutron cover to lutron_integration_id (#45114)
Currently, covers return "Lutron Integration ID" as a state attribute. This is inconsistent with the light, switch, and binary_sensor which return "lutron_integration_id".
2021-01-13 18:59:57 +01:00
Julien Roy 94417e3e14
Add start torrent and stop torrent service for transmission integration (#43920) 2021-01-13 17:44:57 +01:00
Tobias Sauerwein e05bb7e858
Expose selected Netatmo schedule (#45077) 2021-01-13 17:01:29 +01:00
Paulus Schoutsen 732cf47ff6
Filter some Alexa reports that are duplicate (#45093)
* Filter some Alexa reports that are duplicate

* When state changes during reporting, only report last state, not all state changes
2021-01-13 16:54:54 +01:00
Diogo Gomes 81c77942eb
Update the Utility Meter sensor status on HA start (#44765)
* fix status on HA start

* better coverage and fix

* fix test

* address review
2021-01-13 16:42:28 +01:00
Martin Hjelmare 79d37fdf12
Add zwave_js light platform tests (#45107)
* Add bulb 6 multi color device state fixture

* Add light test foundation

* Add no cover comment for todo code

* Update hs_color

* Test turn on light

* Test light turn off

* Fix brightness comparison

* Test setting same brightness

* Test setting same rgb color

* Test color temp update

* Test setting same color temp

* Add entity module to coverage calculation

* Fix typing
2021-01-13 16:28:51 +01:00
Alexei Chetroi de8f273bd0
Allow input_number entity_id as for numeric_state trigger thresholds (#45091)
* Allow input_number as limits for numeric_state trigger

* Rename threshold schema
2021-01-13 16:20:59 +01:00
Sergio Conde Gómez 83b210061d
Add config_flow and stream selection to foscam (#41429)
* Add config_flow and stream selection to foscam

* Simplify config_flow steps

* Make debug log entry more useful

* Deprecate config and platform schemas

* Simplify config loading

* Add config flow testing

* Remove unneeded CONFIG_SCHEMA deprecation

* Improve test coverage

* Unload service by tracking loaded entries

* Address comment

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-13 16:09:05 +01:00
Martin Hjelmare 3537a7c3d5
Correct zwave_js value changed callback signature (#45110) 2021-01-13 15:31:31 +01:00
rikroe 938d8be0c8
Bump bimmer_connected to 0.7.14 (#45086)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-01-13 15:25:28 +01:00
jjlawren 411cc6542c
Move Plex->Sonos playback to built-in service (#45066)
* Move Plex->Sonos playback service from integration to platform

* Test against 'native' Plex media_players

* Add Plex to Sonos after_dependencies

* Remove circular dependency

* Raise exceptions in failed service calls

* Add test to forward service call from Sonos

* Additional Sonos->Plex tests

* Fix docstring
2021-01-13 15:24:44 +01:00
Jacob Southard 3364e945aa
Fix HomeKit climate integration for devices with a single set point in Heat_Cool mode. (#45065)
* Check supported flags in auto mode, and add tests.

* Fix test description.
2021-01-13 15:21:32 +01:00
Jesse Hills f78b02b163
Do not try to connect to disabled ESPHome devices. (#45092) 2021-01-13 15:17:13 +01:00
J. Nick Koston ffd9c4e410
Add additional roku model to discovery (#45103) 2021-01-13 15:14:45 +01:00
badguy99 b9e4d5988f
Soma: fix battery drain issue caused by excess update requests (#45104)
* split up update and throttle update on sensor

* Update imports

* Add blank lines for isort
2021-01-13 15:14:15 +01:00
Robert Svensson 6325bc8bfe
Follow Axis library changes and improve tests (#44126) 2021-01-13 14:03:54 +01:00
ErnstEeldert ff3a1f2050
Add device class attribute to tado humidity sensor state (#45084)
* add device class attribute to humidity sensor state

* * explict return none
* use const for device class value

* removed unnecessary icon definitions
2021-01-13 13:45:11 +01:00
Alexei Chetroi ec038bc6ea
Allow any parameter of a light profile as an optional parameter (#44079)
* No code duplication for profile application

* Refactor color profile as a dataclass

* Typing

* Make color_x and color_y of a Light profile optional

* Update tests

* Make brightness field of a Light profile optional

* Transition can be of a float type

* Allow fractional transition times in light profiles

Make transition of a float type.
Allow transition to be optional with 5 column CSV files.

* Make pylint happy

* Fix dropped async_mock

* Simplify CSV row schema
2021-01-13 12:11:20 +01:00
Santobert 10bc05df00
Fix neato battery sensor not ready (#44946)
* Fix neato battery sensor not ready

* Edit available attribute

* Remove unnecessary condition
2021-01-13 10:23:16 +01:00
J. Nick Koston ac60b34d17
Roomba cleanups (#45097)
* Roomba cleanups

Remove async_step_init backwards compat

Move urls to description_placeholders.

Fix typos

* fix test

* fix fallback to manual when roomba is in the wrong state
2021-01-13 07:27:25 +01:00
Allen Porter eebd0d333e
Clear cached nest event images after expiration (#44956)
* Clear cached nest event images after expiration

* Don't share removal cleanup with alarm cleanup

Don't share code across these functions since it would require a dummy timestamp values that is unnecessary.

* Increase test coverage on sdm camera remove

* Update homeassistant/components/nest/camera_sdm.py

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-12 22:08:59 -08:00
Paulus Schoutsen 82746616fa
Cloud: Add web socket API to pick default TTS language (#45064)
* Allow picking default TTS language

* Fix test

* Fix coroutine function

* Improve test coverage

* Remove stale import

* Clean up hass

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-13 00:05:30 +01:00
Paulus Schoutsen 4e71be852a
Bump Z-Wave JS to 0.7.1 (#45080) 2021-01-12 16:18:06 +01:00
Joakim Sørensen 8ce32d67f9
Fallback to tag for any AfterShip tracking that have no checkpoints (#45053) 2021-01-12 10:33:14 +01:00
Paulus Schoutsen e83ced6737
Add name to ignored entries (#45051)
* Add name to ignored entries

* Fix test
2021-01-12 09:26:20 +01:00
Charles Garwood f312b87a3f
Add switch platform to zwave_js (#45046) 2021-01-11 18:40:39 -05:00
Philip Allgaier cad2fa89ed
Default `input_datetime` to current date (#45052) 2021-01-11 23:45:58 +01:00
J. Nick Koston 13cdf0ba63
Cleanups for somfy_mylink (#45026)
* Cleanups for somfy_mylink

* Use the target/unique_id to configure reverse

* Simplify options flow

* Various code review cleanups

* Deprecate YAML

* revert get change

* revert get change

* add note about empty response

* move CONF_DEFAULT_REVERSE out of loop

* Update homeassistant/components/somfy_mylink/config_flow.py

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

* Ensure we deepcopy options

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-11 10:10:02 -10:00
Paulus Schoutsen f19b72ea02
Drop awarecan from codeowners (#45049) 2021-01-11 17:58:59 +01:00