Commit Graph

26130 Commits (a383198c0c70d85e78f149274c4fdcd0c183fb46)

Author SHA1 Message Date
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