Commit Graph

26344 Commits (9cd3ffbd47b647c856f25295b0a62ed8de086c71)

Author SHA1 Message Date
Milan Meulemans d0a8e27036
Add Rituals number platform (#49723) 2021-06-08 03:28:31 +02:00
Michael Davie ae86e96d34
Fix misaligned high/low temperatures in weather card (#49826) 2021-06-08 03:23:44 +02:00
jjlawren de2dc92741
Handle missing section ID for Plex clips (#51598) 2021-06-08 03:17:14 +02:00
Martin Hjelmare 6c2e452e3d
Fix kraken I/O and sleep in tests (#51599) 2021-06-08 03:11:17 +02:00
GitHub Action 330f713e43 [ci skip] Translation update 2021-06-08 00:21:17 +00:00
jjlawren e257dd4d07
Fix Sonos battery sensors on S1 firmware (#51585) 2021-06-08 00:29:17 +02:00
Malte Franken 490c81aebc
Bump georss_qld_bushfire_alert_client to 0.5 (#51596) 2021-06-08 00:24:54 +02:00
Clifford Roche bc30920824
Correctly support use of Farenheit in Gree Climate component (#50260) 2021-06-08 00:21:03 +02:00
Robert Svensson aad90b8644
Use supported color modes in Axis integration (#51557)
* Use supported color modes in Axis integration

* Fix Frencks comments

* Do Frencks suggestion
2021-06-08 00:03:33 +02:00
Erik Montnemery 76edfe6c62
Fix deprecated value_template for MQTT light (#51587) 2021-06-07 14:14:42 -07:00
J. Nick Koston ccf4b5a265
Move remaining code out of netdisco to eliminate as SSDP dependency (#51588) 2021-06-07 22:12:33 +02:00
Erik Montnemery 3db21b407a
Add support for color_mode white to demo light (#51575)
* Add support for color_mode white to demo light

* Fix unique_id for newly added light

* Update tests
2021-06-07 20:26:25 +02:00
Aidan Timson ab2951f124
AsusWRT fix keyerror when firmver is missing from info (#51499)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-07 11:21:24 -07:00
J. Nick Koston a3146ad150
Fix loop in tod binary sensor (#51491)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-06-07 11:21:10 -07:00
Franck Nijhof a383198c0c
Fully type switch entity component (#51586) 2021-06-07 19:36:34 +02:00
Rolf Berkenbosch 1879a4acea
Bump meteoalertapi to 0.2.0 (#51383)
* Update manifest.json

* Add version bump to requirements

* Add version bump to requirements

* Update manifest.json

* Update manifest.json

* Update requirements_all.txt
2021-06-07 18:08:34 +02:00
Malte Franken 67d9dc78cb
Bump aio_georss_gdacs to 0.5 (#51577) 2021-06-07 17:57:44 +02:00
Andreas 88b60a44ad
Bump nad_receiver to version 0.2.0 (#51381)
Co-authored-by: andreas-amlabs <andreas-amlabs@users.noreply.github.com>
2021-06-07 16:14:45 +02:00
Martin Hjelmare 7560a77e0e
Type mysensors strictly (#51535) 2021-06-07 16:04:04 +02:00
Martin Hjelmare 564042ec67
Clean mysensors gateway type selection (#51531)
* Clean mysensors gateway type selection

* Fix comment grammar
2021-06-07 15:45:58 +02:00
Franck Nijhof 88386a7f44
Cleanup of Toon (#51230) 2021-06-07 13:24:07 +02:00
Robert Svensson fb21affe45
Replace supported_features property with class attribute in deCONZ light entities (#51558)
* Replace supported_features property with class attribute

* attr_supported_features is already set to 0
2021-06-07 12:50:08 +02:00
J. Nick Koston 75dffee312
Increase isy setup timeout to 60s (#51559)
- Ensure errors are displayed in the UI
2021-06-07 11:49:37 +02:00
jjlawren 85ce679c64
Fix Sonos restore calls (#51565) 2021-06-07 11:46:56 +02:00
stephan192 ae83191121
Bump dwdwfsapi to 1.0.4 (#51556) 2021-06-07 10:53:36 +02:00
Ron Klinkien b171c5ebe9
Fix garmin_connect config flow multiple account creation (#51542) 2021-06-07 10:09:08 +02:00
Daniel Perna dc9b031544
Update pyhomematic to 0.1.73 (#51551) 2021-06-07 10:04:03 +02:00
GitHub Action 7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
Colin Robbins c43bdbf7c8
Add lightwave state_class and unique_id properties (#51544)
* Add state_class and unique_id properties

* Update homeassistant/components/lightwave/sensor.py

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

* fix isort

* set class via attribute

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-06 20:10:16 +02:00
Malte Franken fcb8ab23ab
Improve log message when zone missing in geolocation trigger (#51522)
* log warning message if zone cannot be found

* improve log message

* add test case
2021-06-06 20:03:56 +02:00
J. Nick Koston f221deef2d
Ensure from __future__ import annotations in irobot_base (#51554) 2021-06-06 19:59:58 +02:00
drinfernoo 5bbf0ca6ab
Add workaround for missing cleaning time in roomba (#51163) 2021-06-06 12:13:35 +02:00
Erik Montnemery e560e623e9
Add color_mode white (#51411)
* Add color_mode white

* Include brightness in white parameter

* Reformat

* Improve test coverage
2021-06-06 11:13:18 +02:00
jan iversen 50001684aa
Add retries/retry_on_empty configuration parameters to Modbus (#51412)
* Add retries/retry_on_empty configuration parameters.

* Please review comment.
2021-06-06 09:13:50 +02:00
Aaron Bach 6a419483de
Bump aiorecollect to 1.0.5 (#51538) 2021-06-06 08:31:11 +02:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
J. Nick Koston 8c00c24234
Ensure host is always set with samsungtv SSDP discovery (#51527)
There was a case where self._host could have been None
before _async_set_unique_id_from_udn was called

Fixes #51186
2021-06-06 00:02:36 +02:00
Martin Hjelmare 984695e99d
Clean mysensors on_unload (#51521)
* Clean mysensors on_unload

* Fix docstring
2021-06-05 20:02:32 +02:00
jan iversen 59b5f94569
Add fix delay after send/request to allow RS485 adapter to switch in modbus (#51417) 2021-06-05 14:41:32 +02:00
jan iversen b8afb7dcfe
Check initial connect() worked in modbus (#51470)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-05 14:39:09 +02:00
Ludovico de Nittis 62dd9d62cb
Bump pyialarm to 1.8.1 (#51519) 2021-06-05 14:11:39 +02:00
Martin Hjelmare e73cdfab2f
Fix mysensors typing (#51518)
* Fix device

* Fix init

* Fix gateway

* Fix config flow

* Fix helpers

* Remove mysensors from typing ignore list
2021-06-05 13:43:39 +02:00
Martin Hjelmare 7a6d067eb4
Bump mcstatus to 6.0.0 (#51517) 2021-06-05 13:26:35 +02:00
Martin Hjelmare b61c8ce034
Disable gpmdp integration (#51509) 2021-06-05 12:15:03 +02:00
J. Nick Koston 06c9a50869
Handle missing options in foreign_key for MSSQL (#51503) 2021-06-05 12:13:12 +02:00
Ron Klinkien f2692d4eaa
Bump garminconnect_aio to 0.1.4 (#51507) 2021-06-05 12:07:52 +02:00
Daniel Hjelseth Høyer 634f6ba77b
Fix missing Tibber power production (#51505)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-06-05 11:50:56 +02:00
J. Nick Koston 12ac4109f4
Ensure ssdp can callback messages that do not have an ST (#51436)
* Ensure ssdp can callback messages that do not have an ST

Sonos sends unsolicited messages when the device reboots. We want
to capture these to ensure we can recover the subscriptions as soon
as the device reboots

* Update homeassistant/components/ssdp/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-05 09:23:51 +02:00
GitHub Action 909140a7c6 [ci skip] Translation update 2021-06-05 00:23:17 +00:00
Felipe Martins Diel 89d90bfb1b
Use a single job to ping all devices in the Broadlink integration (#51466) 2021-06-04 11:03:13 -10:00
uchagani 7bf45f7bf7
Bump islamic-prayer-times to 0.0.5 (#51174)
* Bump islamic-prayer-times to 0.0.5

* update manifest file

* update requirements_all
2021-06-04 20:45:08 +02:00
jan iversen 5e067c2631
Allow unlimited scan_interval in modbus (#51471)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-04 18:06:44 +02:00
Franck Nijhof e41e153220
Upgrade elgato to 2.1.1 (#51483) 2021-06-04 09:02:59 -07:00
Simone Chemelli 3d8804bbcf
Improve logging for SamsungTV (#51477) 2021-06-04 09:02:39 -07:00
Aidan Timson 12f2482c9b
Bump aiolyric to 1.0.7 (#51473) 2021-06-04 17:26:44 +02:00
J. Nick Koston 5fc1822b43
Retry isy994 setup later if isy.initialize times out (#51453)
Maybe fixes https://forum.universal-devices.com/topic/26633-home-assistant-isy-component/?do=findComment&comment=312147
2021-06-04 08:54:45 +02:00
Matthias Alphart e5c70c8789
Update xknx to version 0.18.4 (#51459) 2021-06-04 08:34:16 +02:00
Florent Thoumie 68f6506ff9
Update to iaqualink 0.3.90 (#51452) 2021-06-04 08:32:01 +02:00
Dermot Duffy cf954881f6
Address Hyperion camera post-merge code review (#51457) 2021-06-04 08:24:38 +02:00
Eduard van Valkenburg 07d6186fea
Small fixes in SIA (#51401)
* fixes from comment in #51206

* reverted name to async_
2021-06-03 20:43:15 -04:00
Paulus Schoutsen bf3a561149
Bump aiohue to 2.5.1 (#51447) 2021-06-03 17:16:32 -07:00
Michael a232f2ce7d
Fix last activity consideration for AVM Fritz!Tools device tracker (#51375) 2021-06-03 15:42:59 -07:00
Bram Kragten 65f23c45a8
Update frontend to 20210603.0 (#51442) 2021-06-03 15:41:59 -07:00
Jc2k 836ce442f7
Bump aiohomekit to 0.2.67 (fixes #51391) (#51418) 2021-06-03 10:51:09 -10:00
Raman Gupta b3327e1656
Bump zwave-js-server-python to 0.26.1 (#51425) 2021-06-03 15:11:45 -04:00
J. Nick Koston c1111afef8
Allow registering a callback to ssdp that matches any key value (#51382) 2021-06-03 08:26:37 -10:00
Thomas Schamm 53ae340900
Bumped to boschshcpy==0.2.19 (#51416)
* Bumped to boschshcpy==0.2.19

* update requirements
2021-06-03 18:34:28 +02:00
Thomas Schamm ffe8b3e49b
Add bosch shc platforms for sensor devices (#50720) 2021-06-03 14:39:42 +02:00
Erik Montnemery a6902ffd8a
Remove is_standby from SwitchEntity (#51400) 2021-06-03 14:21:52 +02:00
Philip Allgaier 470514cb08
Fix shopping list "complete all" service name (#51406) 2021-06-03 12:40:00 +02:00
Daniel Hjelseth Høyer 1062acfe9b
Fix Tibber Pulse device name and sensor update (#51402) 2021-06-03 11:59:22 +02:00
Eduard van Valkenburg e8762bdea1
Add binary sensor platform to SIA integration (#51206)
* add support for binary_sensor

* added default enabled for binary sensors

* fixed coverage and a import deleted

* disable pylint for line

* Apply suggestions from code review

* split binary sensor and used more attr fields

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-06-03 08:39:44 +02:00
uvjustin 55f158cf78
Fix HLS idle timer in stream (#51372) 2021-06-02 21:31:39 -07:00
jjlawren 2c9e6bd927
Handle Sonos connection issues better when polling (#51376) 2021-06-02 21:10:27 -07:00
Raman Gupta ba6a0b5793
Fix no value error for heatit climate entities (#51392) 2021-06-02 21:07:47 -07:00
GitHub Action 7f6e20dcbc [ci skip] Translation update 2021-06-03 00:26:58 +00:00
Jan Bouwhuis 2222a121f4
Add support for fan speed percentage and preset modes to google_assistant integration (#50283)
* support relative fan speeds

* fan preset modes

* improve tests

* Revert relative speed code report zero percentage
2021-06-02 22:09:22 +02:00
definitio 132ee972bd
Add media_player.group (#38855)
* Add media group

* Minor improvements

* Use the async api for all methods

* Improve type hints

* Add missing methods

* Add tests

* Rename HomeAssistantType —> HomeAssistant

* Add more tests

* Fix unknown state

* Make some callbacks

* Add more tests

* Fix unknown state properly

* Fix names for callbacks

* Fix stop service test

* Improve tests
2021-06-02 21:25:15 +02:00
Dermot Duffy c057c9d9ab
Add Hyperion camera feed (#46516)
* Initial Hyperion camera.

* Improve test coverage.

* Minor state fixes.

* Fix type annotation.

* May rebase and updates (mostly typing).

* Updates to use new camera typing improvements.

* Use new support for returning None from async_get_mjpeg_stream .

* Codereview feedback.

* Lint: Use AsyncGenerator from collections.abc .

* Update homeassistant/components/hyperion/camera.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-02 09:39:19 -07:00
J. Nick Koston 68714c2067
Update ping to use asyncio function in icmplib (#50808) 2021-06-02 06:10:33 -10:00
Daniel Hjelseth Høyer 31bd41582b
Fix Tibber timestamps parsing (#51368) 2021-06-02 08:16:04 -07:00
Franck Nijhof 25c0739e22
Mark state final in BinarySensorEntity (#51234) 2021-06-02 14:32:25 +02:00
gadgetmobile 931ff70ebe
Fix BleBox wLightBoxS and gateBox support (#51367)
Co-authored-by: bbx-jp <83213200+bbx-jp@users.noreply.github.com>
2021-06-02 14:02:37 +02:00
Franck Nijhof d51fc5814a
Define ToggleEntity entity attributes as class variables (#51231)
* Define ToggleEntity entity attributes as class variables

* Fix upcloud overriding state property

* Implement available state for upcloud, to compensate removed state
2021-06-02 08:53:55 +02:00
Aaron Bach 101864aab8
Bump pyiqvia to 1.0.0 (#51357) 2021-06-01 20:35:12 -07:00
Martin Hjelmare 783e545a67
Bump hangups to 0.4.14 (#51355) 2021-06-01 22:55:22 +02:00
Franck Nijhof 5d33cd05a8
SolarEdge: Move coordinators out of sensor platform (#51348) 2021-06-01 22:50:32 +02:00
Bram Kragten bee89a12ec
Update frontend to 20210601.1 (#51354) 2021-06-01 13:35:13 -07:00
Paulus Schoutsen ee2c950716
Merge system options into pref properties (#51347)
* Make system options future proof

* Update tests

* Add types
2021-06-01 22:34:31 +02:00
jjlawren 9e3ee73b8b
Handle incomplete Sonos alarm event payloads (#51353) 2021-06-01 13:28:56 -07:00
Daniel Hjelseth Høyer 12b8672f84
Use entity class vars for Melcloud (#51351)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-06-01 22:21:07 +02:00
Franck Nijhof fcdd8b11a6
Collection of changing entity properties to class attributes - 2 (#51345) 2021-06-01 12:43:55 -07:00
Eduard van Valkenburg e5dff49440
Fix SIA event data func (#51339) 2021-06-01 20:32:17 +02:00
Martin Hjelmare 91b6f9d7d0
Bump zwave-js-server-python to 0.26.0 (#51341) 2021-06-01 19:26:54 +02:00
definitio 6a474e74e8
Fix Snapcast state after restoring snapshot (#51340) 2021-06-01 19:07:51 +02:00
Franck Nijhof cdd1f6b2f0
Always load middle to handle forwarded proxy data (#51332) 2021-06-01 09:38:55 -07:00
Tobias Sauerwein d975f9eb0a
Fix Netatmo sensor logic (#51338) 2021-06-01 17:58:25 +02:00
Joakim Sørensen fb281c6bde
Add arch to payload (#51330) 2021-06-01 15:09:23 +02:00
Shay Levy f3715cef6d
Bump aioswitcher to 1.2.3 (#51324) 2021-06-01 13:48:53 +02:00
Paulus Schoutsen bd0373388d
Trusted networks auth provider warns if detects a requests with x-forwarded-for header while the http integration is not configured for reverse proxies (#51319)
* Trusted networks auth provider to require http integration configured for proxies to allow logging in with requests with x-forwarded-for header

* Make it a warning
2021-06-01 12:51:44 +02:00
Bram Kragten 94ae8396dd
Update frontend to 20210601.0 (#51329) 2021-06-01 12:38:49 +02:00
Maciej Bieniek ed9b199372
Fix exception after removing Shelly config entry and stopping HA (#51321)
* Fix device shutdown twice

* Change if logic
2021-06-01 11:41:34 +03:00
Raman Gupta b91696c139
Switch to using entity class attributes where possible in zwave_js (#51207)
* Switch to using entity class attributes where possible in zwave_js

* fix

* revert docstring

* remove unused init

* Revert some changes based on feedback in #51181

* switch to class atributes
2021-06-01 10:26:22 +02:00
Franck Nijhof 6b0e57e641
Define SwitchEntity entity attributes as class variables (#51232) 2021-06-01 10:23:10 +02:00
Eugenio Panadero 3d45f00fad
Bump aiopvpc to apply quickfix for new electricity price tariff (#51320)
Since 2021-06-01, the three PVPC price tariffs become one and only: '2.0 TD',
and the JSON schema from the official API (data source of this integration)
is slightly different.

This patch allows a no-pain jump between the old tariffs and the new one.
2021-06-01 09:45:37 +02:00
Daniel Rheinbay 3c452f8c9b
Refactor yeelight integration to use only flows (#51255)
* Refactor light.py to use only flows.py, eliminating transitions.py

* Reformat yeelight source code using black
2021-06-01 09:04:49 +02:00
Matthias Alphart 549b0b0727
KNX: Support for XY-color lights (#51306)
* support for xy-color

* replace invalid name
2021-06-01 08:59:51 +02:00
Matthias Alphart 164e45f0a7
KNX: move some Schema to schema.py (#51307)
* create platform schema node from schema class

* move connection schema to schema.py

* rename SCHEMA to ENTITY_SCHEMA

* Final module level constants
2021-06-01 08:59:23 +02:00
AJ Schmidt 0e0da26852
update adext dependency (#51315) 2021-06-01 08:44:56 +02:00
GitHub Action 2a746acf3a [ci skip] Translation update 2021-06-01 00:30:06 +00:00
Paulus Schoutsen f472219c68
Set up cloud semi-dependencies at start (#51313) 2021-06-01 01:35:31 +02:00
Paulus Schoutsen 354dd39f24
Updated frontend to 20210531.1 (#51314) 2021-06-01 01:35:08 +02:00
Paulus Schoutsen 4821484d2c
Add system option to disable polling (#51299) 2021-05-31 15:36:40 -07:00
Jc2k 95362d4215
Bump aiohomekit to 0.2.66 (#51310) 2021-05-31 17:28:14 -05:00
Joakim Plate 6631a4e605
Philips TV ambilight support (#44867) 2021-05-31 14:39:28 -07:00
Ron Klinkien a0b3d0863b
Fix Garmin Connect integration with python-garminconnect-aio (#50865) 2021-05-31 14:38:33 -07:00
Robert Svensson 6ba2ee5cef
Fix stream profiles not available as expected (#51305) 2021-05-31 14:35:33 -07:00
Jan Bouwhuis 7403ba1e81
Alexa fan preset_mode support (#50466)
* fan preset_modes

* process preset mode updates from alexa correctly

* add tests

* codecov patch additional tests
2021-05-31 20:58:01 +02:00
J. Nick Koston 0e7c2cddf7
Upgrade HAP-python to 3.5.0 (#51261)
* Upgrade HAP-python to 3.4.2

- Fixes for malformed event sending

- Performance improvements

* Bump

* update tests to point to async
2021-05-31 20:47:12 +02:00
Austin Drummond d2623bf574
AppleTV typo in error notification (#51300)
An extraneous "f" was prefix at the beginning of the notification.

>An irrecoverable connection problem occurred when connecting to fApple TV. Please go to the Integrations page and reconfigure it.
2021-05-31 20:59:55 +03:00
Nikolai 52e7d57533
Processing of messages from channel by telegram_bot (#51274)
* Processing of messages from channel by telegram_bot

* formatted using Black

* refactor

* check allowed chat
2021-05-31 16:35:49 +02:00
Maciej Bieniek c9178e58b5
Add support for state class for Airly sensor (#51285) 2021-05-31 16:00:58 +02:00
Franck Nijhof edcae74330
Entity attributes + typing fix in deCONZ alarm control panel (#51241) 2021-05-31 14:54:42 +02:00
Salvatore Mazzarino 5377e5ed38
Update to pygtfs 0.1.6 (#51267)
* Update to pygtfs 0.1.6

Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>

* run tasks: generate requirements
2021-05-31 14:45:56 +02:00
Joakim Sørensen 8ed8747225
Resolve addon repository slug for device registry (#51287)
* Resolve addon repository slug for device registry

* typo

* Adjust onboarding test

* Use /store
2021-05-31 14:06:11 +02:00
Franck Nijhof 258b388f41
Collection of changing entity properties to class attributes (#51248)
* Collection of changing entity properties to class attributes

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Matthias Alphart 5acc3a1083
xknx 0.18.3 (#51277) 2021-05-31 09:58:48 +02:00
Erik Montnemery 532626b738
Move light helper get_supported_color_modes (#51269) 2021-05-31 09:47:58 +02:00
Erik Montnemery 04e9acc20a
Simplify device condition code (#51266) 2021-05-31 09:47:30 +02:00
Erik Montnemery 489c73b4da
Simplify device action code (#51263) 2021-05-31 09:47:15 +02:00
Raman Gupta a8650f4e59
Add zwave_js node status sensor (#51181)
* Add zwave_js node status sensor

* fix import

* use parent class name property

* Use more entity class attributes

* Update homeassistant/components/zwave_js/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* return static values in property method

* fix PR

* switch to class atributes

* create sensor platform task if needed

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-31 08:46:28 +02:00
Paulus Schoutsen 7654672dd0
Updated frontend to 20210531.0 (#51281) 2021-05-30 21:04:13 -07:00
jjlawren e5309e89ea
Skip processed Sonos alarm updates (#51217)
* Skip processed Sonos alarm updates

* Fix bad conflict merge
2021-05-30 21:03:53 -07:00
Tobias Sauerwein 9bd74961f0
Fix unnecessary API calls in Netatmo (#51260) 2021-05-30 20:55:45 -07:00
jjlawren 1a5d35d7bf
Only debug log new Sonos SSDP discoveries (#51247)
* Only debug log new SSDP discoveries

* Use existing reference

* Remove from known on unseen

* Update homeassistant/components/sonos/speaker.py

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-30 20:28:22 -05:00
GitHub Action 319071ba39 [ci skip] Translation update 2021-05-31 00:25:51 +00:00
Daniel Hjelseth Høyer 0ae64325ed
Use entity class vars for Mill (#51264)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-05-30 17:58:55 +03:00
Matt Zimmerman 416d91ba85
Clean up SmartTub (#51257)
* fix type hint

* pylint

* Update homeassistant/components/smarttub/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/smarttub/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-30 10:10:49 +02:00
Franck Nijhof c317854e86
Small optimization in entity registry enabled deConz method (#51250) 2021-05-29 23:12:19 -05:00
J. Nick Koston 32dc62a996
Handle empty ssdp descriptions in the cache (#51253) 2021-05-29 22:50:48 -05:00
uvjustin 3ca7eb9440
Update HLS playlist in stream (#51191)
* Enable gzip encoding for playlist responses
* Add EXT-X-PROGRAM-DATE-TIME to playlist
* Add EXT-X-START to playlist
* Change EXT-X-VERSION from 7 to 6
* Move idle timer call to recv
* Refactor recv to remove cursor and return bool
* Rename STREAM_TIMEOUT to SOURCE_TIMEOUT
2021-05-30 11:41:23 +08:00
GitHub Action 2077efb207 [ci skip] Translation update 2021-05-30 00:24:18 +00:00
astronaut ceadb0cba0
Add gui config option consider device unavailable (#51218)
* Add gui config option consider device unavailable

* Update tests
2021-05-29 19:13:09 -04:00
Franck Nijhof d1f0ec8db8
Small tweaks to LaCrosse (#51249) 2021-05-29 23:08:25 +03:00
Ludovico de Nittis ff6d05a200
Bump pyialarm to 1.7 (#51233) 2021-05-29 18:50:45 +02:00
Franck Nijhof 06e5314bc8
Cleanup commented code + comprehensions in iOS (#51238) 2021-05-29 17:28:32 +02:00
Franck Nijhof 99afa15f47
Cleanup unneeded variable assignment in ezviz (#51239) 2021-05-29 17:34:25 +03:00
jjlawren 3d2f696d73
Reorganize SonosSpeaker class for readability (#51222) 2021-05-29 09:08:46 -05:00
J. Nick Koston c5e5787e1d
Replace sonos discovery thread with ssdp callback registration (#51033)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-05-29 08:31:22 -05:00
Franck Nijhof 255e13930c
Define CoverEntity entity attributes as class variables (#51236)
* Define CoverEntity entity attributes as class variables

* Fix supported features
2021-05-29 14:35:02 +02:00
Tobias Sauerwein d66d7cbd37
Fix Netatmo data class update (#51215)
* Catch if data class entry is None

* Guard
2021-05-29 14:10:45 +02:00
J. Nick Koston d1132270b4
Remove double schema validation in network (#51219) 2021-05-29 14:09:49 +02:00
Ville Skyttä c2f5dcefa5
Use flow result type constants more (#51122) 2021-05-29 14:09:13 +02:00
Maciej Bieniek b6716ecebd
Add discovery by manufacturer to Nettigo Air Monitor integration (#51155) 2021-05-29 14:06:56 +02:00
Erik Montnemery 4d428b87cb
Remove incorrect check in Alexa for SERVICE_ALARM_DISARM fail (#51224) 2021-05-29 14:06:02 +02:00
jjlawren bd34059c11
Fix use of async in Sonos switch (#51210)
* Fix use of async in Sonos switch

* Simplify

* Convert to callback
2021-05-28 23:28:07 -05:00
jjlawren 84f0d3f961
Centralize Sonos subscription logic (#51172)
* Centralize Sonos subscription logic

* Clean up mocked Sonos Service instances, use subscription callback

* Use existing mocked attributes

* Use event dispatcher dict, move methods together, make update_alarms sync

* Create dispatcher dict once
2021-05-28 21:32:50 -05:00
J. Nick Koston fb50cf9840
Add network and callback support to SSDP (#51019)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-28 21:18:59 -05:00
Nick Whyte 02cbb2025e
Decrease nsw fuel request volume (#49552) 2021-05-28 20:53:20 -05:00
GitHub Action 8e87d638e1 [ci skip] Translation update 2021-05-29 00:21:56 +00:00
jjlawren 4b2831ddde
Improve Sonos alarm logging (#51212) 2021-05-29 00:45:43 +02:00
Raman Gupta 19c16e079f
Add separate ozone sensor for climacell (#51182) 2021-05-28 23:24:01 +02:00
jan iversen 538a189168
Adjust modbus climate to use address/input_type (#51202) 2021-05-28 17:57:14 +02:00
Brandon Rothweiler 88dce0ec8f
Address late review of Mazda services (#51178)
* Add services for Mazda integration

* Address review comments

* Follow-up review comments

* Update dict access for send_poi service calls
2021-05-28 17:54:19 +02:00
Vilppu Vuorinen 99ee2bd0a3
Update to pymelcloud 2.5.3 (#51043)
Previous version of pymelcloud performs requests that are not permitted
for guest users. Bypassing these requests results only in less detailed
device info.
2021-05-28 16:48:30 +02:00
J. Nick Koston b3d826f2e2
Fix samsungtv yaml import without configured name (#51204) 2021-05-28 16:06:17 +02:00
Bram Kragten 0fbdce5ca6
Update frontend to 20210528.0 (#51199) 2021-05-28 14:38:01 +02:00
Joakim Sørensen 076544a1b5
Revert "Bump config version to 2 for AVM Fritz Tools (#51176)" (#51193) 2021-05-28 14:00:16 +02:00
Álvaro Fernández Rojas fe0771f7f1
Add missing outdoor temperature unit for Tado (#51197)
* Fix outdoor temperature unit for Tado

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

* tado: simplify if conditions

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-05-28 13:41:40 +02:00
Tobias Sauerwein ac922916c1
Fix Netatmo sensor initialization (#51195) 2021-05-28 13:36:22 +02:00
Joakim Plate b6cb123c4f
Only run philips_js notify service while TV is turned on (#51196)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-28 13:32:26 +02:00
jan iversen 00507539c1
Change Cover to use address/input_type (#51154)
* Change Cover to use address/input_type.

* Flake.
2021-05-28 13:23:44 +02:00
Erik Montnemery b339d73109
Weight sensor average statistics by state durations (#51150)
* Weight sensor average statistics by state durations

* Fix test
2021-05-28 13:16:52 +02:00
Franck Nijhof 17b2678aee
Define media_player entity attributes as class variables (#51192) 2021-05-28 12:32:31 +02:00
jjlawren 39e62f9c90
Improve Sonos polling (#51170)
* Improve Sonos polling

Warn user if polling is being used
Provide callback IP:port to help user fix networking
Fix radio handling when polling (no event payload)
Clarify dispatch target to reflect polling action

* Lint

* Revert method removal
2021-05-28 12:07:58 +02:00
jan iversen e45196f9c9
Remove "old" config from modbus binary_sensor (#51117) 2021-05-28 12:06:46 +02:00
Joakim Sørensen 81097dbe40
Use get with default for consider home (#51194) 2021-05-28 12:02:35 +02:00
jan iversen 5afd16ef5d
Move modbus schema validators to validators.py (#51121) 2021-05-28 11:38:31 +02:00
jan iversen 47f016b340
Remove old config from cover, including tests (#51118)
* Remove old config and standardize new config.

* Add missing safeguard.
2021-05-28 11:29:37 +02:00
Michael d200f1e504
Bump config version to 2 for AVM Fritz Tools (#51176) 2021-05-28 11:12:46 +02:00
Franck Nijhof 538a03ee0c
Clean up Speedtest.net Sensors (#51124) 2021-05-28 11:10:01 +02:00
Erik Montnemery 837220cce4
Add deprecated backwards compatible history.LazyState (#51144) 2021-05-28 11:01:28 +02:00
Franck Nijhof 0b15f3aa98
Define alarm_control_panel entity attributes as class variables (#51120)
* Define alarm_control_panel entity attributes as class variables

* Example Verisure

* Remove redundant AttributeError
2021-05-28 08:29:01 +02:00
Franck Nijhof e9b09325c9
Use entity class vars in SolarEdge (#51123) 2021-05-28 08:24:55 +02:00
Tobias Sauerwein eb66f8ef6d
Fix Netatmo data class update (#51177) 2021-05-28 08:00:11 +02:00
uvjustin 6ad29aec2c
Adjust segment duration calculation in stream (#51149)
* Calculate min segment duration internally

* Rename segments to sequences in StreamOutput

* Fix segment duration calculation in test_worker
2021-05-28 13:36:41 +08:00
Raman Gupta ca8d09e5e1
Add zwave_js.multicast_set_value service (#51115)
* Add zwave_js.multicast_set_value service

* comment

* Add test for multiple config entries validation

* additional validation test

* brevity

* wrap schema in vol.Schema

* Update homeassistant/components/zwave_js/services.py

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

* do node transform and multicast validation in schema validation

* move poll value entity validation into schema validation, pass helper functions dev and ent reg instead of retrieving it every time

* make validators nested functions since they don't neeed to be externally accessible

* Update homeassistant/components/zwave_js/services.py

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

* Remove errant ALLOW_EXTRA

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-27 21:57:35 -04:00
GitHub Action 93ada0a675 [ci skip] Translation update 2021-05-28 00:19:07 +00:00
Greg Dowling 02ac9a75b1
Bump pyroon to 0.0.37 (#51164) 2021-05-27 21:01:04 +02:00
Aaron David Schneider f7f8672eea
Add tests for sonos switch platform (#51142)
* add tests

* refactor async_added_to_hass

* fix tests and race condition

* use async_get

* typo
2021-05-27 19:56:59 +02:00
Franck Nijhof 7dff4d6ad7
Define climate entity attributes as class variables (#51006) 2021-05-27 17:39:43 +02:00
tkdrob d1c4d0de49
Use bool annotations for setup entries (#51166) 2021-05-27 17:39:06 +02:00
Shay Levy b6355bcb48
Add myself to Switcher codeowners (#51158) 2021-05-27 17:37:54 +02:00
tkdrob c0656878db
Normalize async_setup_entry (#51161) 2021-05-27 15:56:20 +02:00
Franck Nijhof d9eb1d85a2
Clean up DNS IP integration (#51143)
* Clean up DNS IP integration

* Commit missing change oops
2021-05-27 15:10:28 +03:00
Franck Nijhof eb2b60434c
Clean up Local IP integration (#51126) 2021-05-27 15:04:40 +03:00
ollo69 69e454fd49
Add missing function signature (#51153) 2021-05-27 14:52:05 +03:00
René Klomp 65f2fe9c01
Bump pysma version to 0.5.0 (#51098)
* Use new get_sensors method

* Update pysma requirement

* Update primary codeowner

* Update device_info handling

* Fix LEGACY_MAP

* Updated tests

* Fix pysma references

* Fix pylint raise-missing-from

* Better import of Sensors

* Remove software version related changes

* Revert codeowners change
2021-05-27 12:53:14 +02:00
Eduard van Valkenburg cede36d91c
Followup PR for SIA integration (#51108)
* Updates based on Martin's review

* fix strings and cleaned up constants
2021-05-27 10:55:47 +02:00
jjlawren f0952d3ee8
Fix Sonos media position with radio sources (#51137) 2021-05-27 10:53:51 +02:00
jan iversen 8d365e8bf5
After merge, review. (#51139) 2021-05-27 08:28:31 +02:00
Anders Melchiorsen fdfb84e8e2
Upgrade pysonos to 0.0.50 (#51125) 2021-05-27 08:13:10 +02:00
jjlawren e4e3dc7fab
Fix Sonos TV source attribute (#51131) 2021-05-26 22:12:43 -07:00
Raman Gupta 877d3e38b4
Fix zwave_js.set_value schema (#51114)
* fix zwave_js.set_value schema

* wrap all schemas in vol.Schema

* readd removed assertions
2021-05-27 00:27:35 -04:00
Joakim Sørensen 3e7729faf2
Handle blank string in location name for mobile app (#51130) 2021-05-27 06:04:05 +02:00
uvjustin 38e0cbe964
Change stream sequence number to start from 0 (#51101)
* Use constants for provider strings

* Add last_sequence property
2021-05-27 11:22:31 +08:00
GitHub Action f45bc3abc7 [ci skip] Translation update 2021-05-27 00:17:03 +00:00
Yuriy Sannikov 6391d75919
Refactor ModbusRegisterSensor class to get hub and configuration (#50234)
* refactor ModbusRegisterSensor to match the ModbusSwitch interface

* Please pylint, mypy etc.

* Remove PLATFORM.

Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-05-26 19:28:14 +02:00
Greg Dowling 09b9218511
Handle updating config entries in Vera (#49605)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-26 09:54:02 -07:00
Austin Mroczek 22dd7df66c
Improve totalconnect config flow user experience (#47926) 2021-05-26 09:48:44 -07:00
Franck Nijhof 67536b52c4
Use entity class vars in Flo (#50991) 2021-05-26 09:47:04 -07:00
ollo69 daff62f42d
Add AsusWRT model and firmware information for device (#51102) 2021-05-26 09:46:06 -07:00
Barry Williams 5ac81ccb4c
Openhome component now uses asyncio and handles unavailability (#49574) 2021-05-26 09:39:44 -07:00
Bram Kragten 42b92748f6
Update frontend to 20210526.0 (#51110) 2021-05-26 09:31:46 -07:00
Paulus Schoutsen bcd91cc2bd
Drop certificate filling in for cloudmqtt (#51112) 2021-05-26 09:31:35 -07:00
Klaas Schoute 31c07e710a
bump garage_amsterdam lib to v2.1.1 (#51111) 2021-05-26 09:31:23 -07:00
Matt Zimmerman ffb9ab21c1
Add binary sensor for smarttub errors (#49364) 2021-05-26 09:25:47 -07:00
J. Nick Koston 64661ee2b7
Add network configuration integration (#50874)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 09:06:30 -07:00
Erik Montnemery 16e90f12ca
Add last_reset property to Tasmota energy sensors (#51107)
* Add last_reset property to Tasmota energy sensors

* Correct device class for energy sensors
2021-05-26 17:58:06 +02:00
Franck Nijhof 19c505c0f0
Add Supervisor discovery to motionEye (#50901)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 17:40:07 +02:00
Raman Gupta 18e6ae8750
Add WS API commands to check for and install zwave_js config updates (#51106) 2021-05-26 08:39:08 -07:00
Raman Gupta 6d9b67ddb2
Add zwave_js heal node and network WS API commands (#51047)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 08:38:02 -07:00
Raman Gupta 8edf7f0407
Don't enforce uniqueness requirements for Waze and Google Travel Time (#50254)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-26 08:32:26 -07:00
Brandon Rothweiler a36935dcee
Add services for Mazda integration (#51016) 2021-05-26 16:36:36 +02:00
Franck Nijhof bf13af34b4
Use entity class vars in WLED (#50975) 2021-05-26 14:08:09 +02:00
Massimiliano Cannarozzo 5a5a145778
Make all MQTT cover payloads optional (#50579)
* Remove unused constant

* Make payload_close optional

* Make payload_open optional

* Compute supported features based on config
2021-05-26 13:50:44 +03:00
Raman Gupta 1de0d20a76
Bump zwave-js-server-python to 0.25.1 (#51097)
* Bump zwave-js-server-python to 0.25.1

* update fixtures
2021-05-26 12:37:24 +02:00
Erik Montnemery 789a14fc44
Add support for last_reset to MQTT sensor (#51036)
* Add support for last_reset to MQTT sensor

* Update abbreviations

* Improve test coverage
2021-05-26 11:50:29 +02:00
Matthias Alphart 4f9b7254d2
Initialize KNX expose value (#49623)
* simplify value extraction

* allow 0/1 and "True" / "False" for binary exposes

* initialize ExposeSensor value

* handle binary states

* use default for initialization
2021-05-26 11:21:11 +02:00
chpego 19c9675d4a
Bump youtube-dl to 2021.04.26 (#50037) 2021-05-26 10:32:43 +02:00
Raj Laud b3607343fc
Fix error in Squeezebox DHCP discovery flow (#50771)
* Map data from dhcp to squeezebox discovery flow

* Add tests for squeezebox dhcp discovery
2021-05-26 10:30:15 +02:00
Andrey Kupreychik 5ee0df29d4
Remove old Keenetic NDMS2 entities when some interfaces are unselected (#47311)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 10:26:23 +02:00
uvjustin c6f108f7c3
Refactor stream to use bytes (#51066)
* Refactor stream to use bytes
2021-05-26 16:19:09 +08:00
Franck Nijhof 58586d5e1f
Use entity class vars in Elgato (#50973) 2021-05-26 10:18:26 +02:00
Maciej Bieniek 41a940f644
Add state class to Nettigo Air Monitor sensors (#50959) 2021-05-26 09:36:37 +02:00
Raman Gupta 5f7964b54b
Add firmware updates support for zwave_js (#50390)
* Add WS API support for zwave_js firmware updates

* move file to fixture

* review comments

* fix logic and test based on upstream changes

* handle failure scenario

* handle failure scenario

* fix tests and adjust message

* Update homeassistant/components/zwave_js/api.py

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

* remove return from firmware upload view because client will raise an exception if not successful

* raise if user is not an admin

* raise bad request exception if firmware command fails

* incorporate #50923

* Add test for failed command

* add event name to messages

* change error to not found

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-26 02:57:00 -04:00
Matt Zimmerman c1d5dd7141
Remove unneeded **kwargs from SmartTub reminders snooze service (#51093) 2021-05-26 08:13:26 +02:00
Erik Montnemery 154c849eac
Filter unsupported parameters from light service calls (#51084)
* Filter unsupported parameters from light service calls

* Silence pylint

* Fix deconz tests

* Fix mqtt tests

* Fix scene tests

* Fix trådfri emulated CT

* Fix mqtt tests
2021-05-26 08:02:59 +02:00
Johan Josua Storm 9b13350b01
Replace wrong domain returned from xbox api revisited (#51074)
* Added replacement http to https

Somehow the fix of replacing the domain doesn't work on android, so explicit replacement of http to https protocol is needed.

* Update homeassistant/components/xbox/base_sensor.py

Co-authored-by: Jason Hunter <hunterjm@gmail.com>

Co-authored-by: Jason Hunter <hunterjm@gmail.com>
2021-05-26 02:01:35 -04:00
GitHub Action c302b5d4eb [ci skip] Translation update 2021-05-26 00:16:09 +00:00
Franck Nijhof affc8e0f0b
Fix unique ID Verisure alarm control panel (#51087) 2021-05-26 00:21:53 +02:00
Franck Nijhof 997a847b5c
Add support for Sensor state class to ESPHome (#51090)
* Add support for Sensor state class to ESPHome

* Bump aioesphome to 2.8.0
2021-05-26 00:21:18 +02:00
J. Nick Koston deb9135707
Handle clamped fan maxValue in homekit_controller (#51088) 2021-05-25 16:06:17 -05:00
Daniel Hjelseth Høyer 3a6a1a4d6b
Tibber, state class (#50951) 2021-05-25 13:53:16 -07:00
Anaïs Betts d82f6abbe4
Consider Continuous Mode on Nuki Opener to be "unlocked" (#49557)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 21:05:56 +02:00
Matthias Alphart 8b21a652ba
Create KNX sensor entity directly from config (#49642)
* create sensor entities directly from config

* move staticmethod to module level

* remove factory call
2021-05-25 20:16:54 +02:00
Nathan Spencer 9ec0b0a8da
Fix for invalid value error when using UI editor for Litter-Robot's set_wait_time service (#50269) 2021-05-25 20:15:37 +02:00
Raman Gupta 58e37435b3
Make more max lengths constants and add additional MaxLengthExceeded checks (#50337)
* Add more MaxLengthExceeded checks

* remove some validations to reduce performance impact

* check length of generated entity ID

* dont check entity ID twice and use single context id length constant

* fix test

* add missing test
2021-05-25 19:58:01 +02:00
J. Nick Koston 023c094b01
Add v3 smartthings hub to discovery (#51051)
- I recently switched to a v3 hub, and it has a new OUI
2021-05-25 12:40:05 -05:00
jjlawren fe75a1bb9d
Set Fahrenheit reporting precision to tenths for Homekit Controller climate entities (#50415) 2021-05-25 19:32:59 +02:00