Commit Graph

34526 Commits (8c5130333247e613c7a4ec52ab143b2b2af2265b)

Author SHA1 Message Date
epenet 30a64bd0f2
Add sensor setup type hints [g-h] (#63316)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:13:59 +01:00
epenet a9901356c3
Add sensor setup type hints [i-l] (#63315)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:11:50 +01:00
epenet 9184eb8916
Add sensor setup type hints [o-q] (#63313)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:10:57 +01:00
epenet 80b6195505
Add sensor setup type hints [m-n] (#63314)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:09:36 +01:00
epenet 822ac203c3
Add sensor setup type hints [r] (#63312)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:08:34 +01:00
epenet 595e8a327c
Add sensor setup type hints [s] (#63310)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:06:08 +01:00
epenet 26819d1132
Add sensor setup type hints [w-z] (#63308)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 18:45:33 +01:00
Erik Montnemery d8e7236502
Cleanup handling of unsupported config keys in MQTT fan (#62681)
* Cleanup handling of unsupported config keys in MQTT fan

* Update fan.py
2022-01-03 17:54:03 +01:00
epenet 5ddab5a7f2
Add setup type hints to number, remote and scene (#63299)
* Add number setup type hints

* Add remote setup type hints

* Add scene setup type hints

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 17:17:44 +01:00
Erik Montnemery 1995a825f3
Reject MQTT light discovery using unsupported value_template (#62682)
* Reject MQTT light discovery using unsupported value_template

* Tweak
2022-01-03 17:16:26 +01:00
Franck Nijhof a039d245fd
Fix typo in CPU Speed translation key (#63284) 2022-01-03 17:09:32 +01:00
epenet f456f68dff
Add switch setup type hints [s-z] (#63305)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:44:20 +01:00
epenet e5dcc5694a
Add switch setup type hints [a-f] (#63302)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:31:24 +01:00
epenet 7df339f436
Add weather setup type hints (#63301)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:27:33 +01:00
epenet 3fe527422d
Add setup type hints to select, vacuum and water_heater (#63300)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:26:14 +01:00
epenet 9b5939a7a5
Add setup type hints to all demo platforms (#63294)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:24:09 +01:00
epenet 1c30992b0e
Add setup type hints to all template platforms (#63295)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:23:12 +01:00
epenet 94061fa997
Add geo_location setup type hints (#63288)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:22:23 +01:00
epenet 1519aa202d
Add media_player setup type hints [m-x] (#63298)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:09:34 +01:00
Jan Bouwhuis dd0193052c
Add MQTT encoding parameter for all subscribed topics (#62263)
* Add encoding parameter for all subscribable topics

* test setup encoding incoming payload

* remove support for device_tracker and tag+tests
2022-01-03 16:08:07 +01:00
Jan Bouwhuis 3ca18922e6
Mqtt rework on value templates (#62105)
* add MqttValueTemplate class

* support variables at initiation

* pass MqttEntity instead of hass

* Use MqttValueTemplace class for value templates

* make hass en enitity parameters conditional

* remove unused property and remove None assignment

* rename self._attr_value_template
2022-01-03 16:07:40 +01:00
epenet bf78ddcadb
Add media_player setup type hints [a-l] (#63297)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:04:15 +01:00
epenet eed7ce55b3
Add lock setup type hints (#63296)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:45:15 +01:00
epenet 7967f49e48
Add light setup type hints [s-z] (#63293)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:43:55 +01:00
epenet a46f25f2a9
Add device_tracker setup type hints (#63286)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:19:38 +01:00
epenet b9e9445a51
Add humidifier setup type hints (#63289)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:15:32 +01:00
epenet ca366e6f87
Add image_processing setup type hints (#63290)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:14:57 +01:00
Jan Bouwhuis 061ce0c187
Fix mqtt reloading and rework tests (#62950)
* Improve mqtt reloading/tests and fix issues

* Cleanup fixture for reloading test

* isort and black remove replaced test_reloadable
2022-01-03 15:14:50 +01:00
Jan Bouwhuis 0dab5e69db
Fix MQTT cover not using tilt_command_template (#63080) 2022-01-03 15:13:30 +01:00
epenet 1ce75f8e6b
Add cover setup type hints (#63285)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:13:18 +01:00
epenet 277562bc38
Add light setup type hints [l-r] (#63292)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:11:59 +01:00
epenet 71cb42f53a
Add fan setup type hints (#63287)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:10:53 +01:00
Jan Bouwhuis 457ce195dd
Add mqtt entity attributes command templates (#61937)
* Add entity variables to MqttCommandTemplate

* missing command template update

* make hass and entity conditional parameters

* Add encoding support for publishing

* Revert "Add encoding support for publishing"

This reverts commit b69b9c60ec.
2022-01-03 15:10:15 +01:00
epenet 7f9b7c7b0e
Add light setup type hints [a-i] (#63291)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:02:21 +01:00
bvweerd acc974b26b
Add eq3btsmart presets on, off, auto and manual mode (#54586)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Teemu R <tpr@iki.fi>
2022-01-03 14:04:23 +01:00
Aidan Timson d85d93d1a1
Downgrade OctoPrint printer disconnected errors (#63076)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-03 13:53:25 +01:00
Steven Looman cba752c1af
Bump async-upnp-client==0.23.3 (#63282) 2022-01-03 13:42:09 +01:00
Joakim Sørensen 56bda80e0a
Address late review comments for version integration (#63283)
* Address late review comments for version integration

* 2 leftover persistent_notification setup
2022-01-03 13:30:40 +01:00
epenet 06ebbb7cae
Add climate setup type hints [a-l] (#63278)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:26:32 +01:00
epenet cbd3cd4599
Add camera setup type hints (#63277)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:22:41 +01:00
Marc Mueller cad09a9eda
Add strict typing to `core.py` (4) - Misc (#63242) 2022-01-03 13:18:15 +01:00
epenet ce6206b422
Add calendar setup type hints (#63272)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:14:02 +01:00
epenet 862daff622
Add binary_sensor setup type hints [s-z] (#63271)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:13:03 +01:00
epenet fbabad1d1d
Add binary_sensor setup type hints [a-f] (#63268)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:10:41 +01:00
epenet 6f4b25950c
Add climate setup type hints [m-z] (#63279)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:09:43 +01:00
chpego 39df04495d
Bump caldav version to 0.8.2 (#63280) 2022-01-03 13:05:35 +01:00
Ryan Fleming adbcb642cf
Update to pyoctoprintapi 1.7 (#63254) 2022-01-03 12:13:33 +01:00
epenet e5ba34b9f9
Add init type hints [misc] (#63261)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 12:08:14 +01:00
epenet 929da2154a
Add air_quality setup type hints (#63263)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 12:07:05 +01:00
J. Nick Koston d1bda6949e
Prevent doorbird integration from overloading the device on startup (#63253) 2022-01-03 12:06:44 +01:00
J. Nick Koston 78d7387547
Bump flux_led to 0.27.32 to fix incorrect strip order on A2 devices (#63262) 2022-01-03 12:05:35 +01:00
epenet f7b26e9b06
Fix relative import issue in device_automation (#63274)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 11:59:50 +01:00
Gabriel Rauter d26275011a
Add unique_id configuration variable to command_line integration (#58596) 2022-01-03 11:44:47 +01:00
epenet 545b10a711
Add binary_sensor setup type hints [o-r] (#63270)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 11:35:02 +01:00
epenet 33e4251606
Add binary_sensor setup type hints [h-n] (#63269)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 11:32:26 +01:00
epenet 24fc0df4b0
Add alarm_control_panel setup type hints (#63264)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 10:57:25 +01:00
Erik Montnemery e9b746e874
Add turned on or off device trigger to toggle entity (#61089)
* Add turned on or off device trigger to toggle entity

* Renamed changed_states trigger to toggled

* Adjust tests

* Fix homekit triggers test

* Add tests

* Adjust tests after rebase

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-03 10:41:30 +01:00
Raman Gupta 6f8cd54ca1
Add button platform to template integration (#61908)
* Add button platform to template integration

* review comments

* add unique ID check
2022-01-03 10:03:37 +01:00
epenet ad7a0d799d
Add type hints to google_assistant (#62748)
* Add type hints to google_assistant

* Fix pylint

* Adjust type hint

* Fix black

* Revert changes to smart_home

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 09:10:43 +01:00
Jan Bouwhuis d0c4f0fec4
Add mqtt encoding support for publishing (#62739)
* encoding support for mqtt publishing - todo tests

* signature allows None values for qos and retain

* common test for mqtt publishing encoding

* better test with command templates

* more tests

* fix tests alarm control panel+tests light basic

* tests light json and template

* add tests vacuum and fix tests light_template
2022-01-03 09:03:47 +01:00
epenet 2cc4d9846b
Add basic type hints to mqtt (#62875)
* Add basic type hints to mqtt

* Add hints to async_setup_platform

* Add type hint to async_setup_entry

* Fix pylint

* Set correct argument order in climate entity

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 08:53:52 +01:00
Chris Talkington f4857ffe33
Add binary_sensor platform to roku (#63238) 2022-01-02 18:44:31 -06:00
Chris Talkington c693b6f455
Add hardware version to Roku device info (#63249)
* add hardware version to Roku device info.

* Update test_media_player.py

* Update test_media_player.py

* Update test_media_player.py
2022-01-02 18:35:09 -06:00
GitHub Action ea0b24a5f0 [ci skip] Translation update 2022-01-03 00:14:23 +00:00
J. Nick Koston 56103a4623
Fix oncue string for already_configured (#63248) 2022-01-02 17:59:04 -06:00
Dave T 89895c6c04
Improve tests for generic camera (#63197)
* Improve tests for generic camera

* Fix black error

* Code review: Move common code to fixtures

* Remove unnecessary patches from tests.

* Address review comments

* Code review: swap more patches for respx

* Code review: use _attr for frame interval.
2022-01-02 13:26:44 -08:00
Christopher Bailey 4099d84fa4
Refactor static attributes to class attrs for UniFi Protect (#63236) 2022-01-02 22:16:14 +01:00
Mike Degatano 50188e06ac
Add link into statistics unit mismatch warning (#62217) 2022-01-02 22:13:21 +01:00
Chris Talkington 857c9e3836
Update rokuecp to 0.9.0 (#63234) 2022-01-02 21:52:17 +01:00
Karthik T bf1f8f4bfa
Fix systemmonitor CPU temp for Armbian on PineA64 (#63111) 2022-01-02 21:51:50 +01:00
Allen Porter 9e3f7d2961
Simplify nest reauth config flow (#63058) 2022-01-02 21:43:50 +01:00
Franck Nijhof 76a7149a5e
Use shorthand attributes in Tuya camera platform (#63228) 2022-01-02 21:37:15 +01:00
J. Nick Koston 7de4801bfa
Add support for oncue connectivity binary sensor (#63232) 2022-01-02 21:36:14 +01:00
J. Nick Koston 1483d394be
Add entity_category to oncue sensors (#63231) 2022-01-02 10:06:27 -10:00
epenet f14e162610
Add missing schema to dominos order service (#63016)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 20:49:41 +01:00
Christopher Bailey d364186571
Add UniFi Protect number platform (#63220) 2022-01-02 09:47:25 -10:00
dougiteixeira 66c2259f5c
Fix Tuya vacuum display battery level (#61643)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-02 20:46:18 +01:00
epenet 9248865443
Ensure service calls are typed in remember-the-milk (#63018)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 20:43:38 +01:00
J. Nick Koston 724f5dbf1a
Add Oncue by Kohler integration (#63203) 2022-01-02 09:15:39 -10:00
Allen Porter 584e660548
Bump google-nest-sdm to 1.3.0 (#63224) 2022-01-02 18:55:37 +01:00
Allen Porter 15baea4ba3
Use more narrow exception catching in `nest` (#63225) 2022-01-02 18:54:56 +01:00
Phil Cole b9daa22891
Introduce const file in Nissan Leaf (#63082)
* Introduce const file in Nissan Leaf

* Use final

* Don't alter start_charging logic

* Don't centralise logger
2022-01-02 11:48:33 -06:00
epenet 2aa8a86126
Add basic type hints to broadlink (#62879)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:21:37 +01:00
epenet d8dabd305c
Make ATTR_ENTITY_ID required in local_file service call (#63017)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:20:46 +01:00
epenet 71a5b89691
Ensure service calls are typed in todoist (#63020)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:17:55 +01:00
epenet 9ed7d82661
Add type hint to reload_config in homeassistant scene (#63094)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:16:47 +01:00
epenet 24e27290b5
Drop deprecated CONF_NAMES from onewire (#61094)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:10:19 +01:00
Allen Porter ebc8e19788
Revert nest reloading due to lock up (#63206) 2022-01-02 17:08:38 +01:00
epenet 20150daf1e
Fix incorrect parameter name/hint in mqtt climate (#63106)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:06:17 +01:00
epenet 9e16f87ddc
Add init type hints [b-c] (#63100)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:05:18 +01:00
rhpijnacker 5d037a079d
Bump dsmr-parser dependency to 0.31 (#63123) 2022-01-02 16:55:09 +01:00
epenet 95537166e8
Add init type hints [r] (#63192)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:36:24 +01:00
epenet 0d7b531285
Add init type hints [p-q] (#63191)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:35:23 +01:00
epenet e02f0c34e5
Add init type hints [k-l] (#63188)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:34:33 +01:00
J. Nick Koston 1d41e5b0c6
Bump flux_led to 0.27.28 to fix missing white channel on SK6812RGBW strips (#63154) 2022-01-02 16:32:39 +01:00
epenet 1650332188
Add init type hints [h-j] (#63187)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:31:48 +01:00
epenet 00ec874389
Add init type hints [s] (#63193)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:29:52 +01:00
epenet 33e926371f
Add init type hints [m] (#63189)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:28:14 +01:00
epenet e7b262f9e5
Add init type hints [v-z] (#63195)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:27:12 +01:00
epenet 6d51cccbf7
Add init type hints [d] (#63101)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:12:46 +01:00
epenet 631e4c6bd3
Use DeviceClass Enum in alarmdecoder schema (#61967) 2022-01-02 16:01:00 +01:00
Simone Chemelli fc02260146
Fix management of Fritz repeaters (#63110) 2022-01-02 14:59:41 +01:00
epenet a2b611d9d9
Drop use of HomeAssistantType in elmax (#63105)
* Drop HomeAssistantType in elmax

* Update common.py

* Update switch.py

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 10:19:42 +02:00
trdischat e3de81cd02
Add default Fronius logger model for v0 API (#63184) 2022-01-02 08:15:27 +01:00
epenet 18056f3a8a
Add init type hints [t-u] (#63194)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 22:06:11 -08:00
GitHub Action efac363cdf [ci skip] Translation update 2022-01-02 00:14:58 +00:00
epenet b6909feb8b
Add init type hints [n-o] (#63190)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 13:39:38 -08:00
epenet d57c54c93e
Add init type hints [f-g] (#63186)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 13:38:11 -08:00
Christopher Bailey e5b7eac411
Add UniFi Protect switch platform (#63177) 2022-01-01 11:23:10 -10:00
Allen Porter c7b991f56b
Add `rtsptowebrtc` integration (#59660)
* Add initial version of the webrtc integration

Add the webrtc integration. This integration proxies the
signal 'offer' from the client to a RTSPtoWebRTCP server that
returns an 'answer'.

The RTSPtoWebRTC server is a go binary based on pion, and this is
what is currently used by the WebRTC custom_component:
https://github.com/AlexxIT/WebRTC
https://github.com/deepch/RTSPtoWebRTC

* Readability improvements for webrtc

* Reach 100% test coverage

* Use rtsp-to-webrtc client library package

* Rename webrtc to rtstptowebrtc

This is to reflect naming as one type of approach to webrtc since other webrtc integrations would look very different.

* Remove internal quality scale

* Bump rtsptowebrtc to support heartbeats

* Shorten server url variable and remove const.py

* Add config flow validation for RTSPtoWebRTC server

* Add RTSPtoWebRTC server health checks

* Accept translation suggestion

* Apply suggestions from code review

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

* Update rtsptowebrtc to use new camera registry API

Update rtsptowebrtc to use new API added in #62962

* Remove unused variable

* Fix lint and typing errors for python 3.8

* Rename to rtsp_to_webrtc to follow standards

* Use async_on_unload for unsubscribing camera webrtc provider

* Remove unnecessary translations in config flow

* Remove unnecessary configuration setup

* Cleanup test setup and typing

* Patch integration setup to avoid starting the whole integration

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-01 12:36:31 -08:00
Maciej Bieniek 8af545a4e3
Add new buttons for Shelly Gas (#63099)
* Add self test/mute/unmute buttons

* Improve doctrings

* Improve test coverage

* Add supported property to ShellyButtonDescription

* Change icon
2022-01-01 21:42:17 +02:00
Steffen Zimmermann 9ead2c7148
Improve wiffi config flow handling (#63167)
Don't use `async_set_unique_id` and `_abort_if_unique_id_configured`
because TCP port number is not a unique id.

Use `_async_abort_entries_match` instead.
2022-01-01 20:36:45 +01:00
Allen Porter 81aff973ea
Keep entity state management within entity (#63183)
Simplify the entity state management for webrtc providers, incurring
extra state writes on startup.  Followup post-review comments for PR #62962
2022-01-01 11:22:48 -08:00
Dave T 0410c205ca
Move constants to const file for generic (#63179) 2022-01-01 10:57:56 -08:00
Daniel Hjelseth Høyer 8bf6aba1cf
Mill use walrus operator (#63166)
* Mill use walrus operator

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill use walrus operator

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-01-01 13:11:56 +01:00
stegm 0a0ca233c5
Add entity categories. (#63165) 2022-01-01 12:45:24 +01:00
GitHub Action 93758e2e6c [ci skip] Translation update 2022-01-01 00:14:34 +00:00
Daniel Hjelseth Høyer 4f6b2e6e1c
Bump mill-local to 0.1.1 and add device info (#63141) 2021-12-31 12:33:50 -10:00
Daniel Hjelseth Høyer 8e5c8c516d
Adax, unique id and title should be string (#63132) 2021-12-31 12:22:47 -10:00
Allen Porter 0dee4f85f0
Implement an rtsp to webrtc registry in camera (#62962)
* Implement a webrtc to rtsp support in camera as a registry

Allow integrations to register a provider that can convert an RTSP stream and WebRTC offer to a WebRTC answer. This is
planned to be used by the RTSPtoWebRTC server integration as an initial pass, but could
support other server implementations as well (or even native implementationf or that matter).

* Fix test bug to improve test covergae and restructure statements

* Add missing call to refresh webrtc providers

* Run provider refresh in parallel since it may send RPCs

* Replace for loop with any

* Fix pylint warning to use a generator
2021-12-31 13:44:33 -08:00
Christopher Bailey 0de3a299d6
Add UniFi Protect light platform (#63137) 2021-12-31 11:21:29 -10:00
Allen Porter b17120a511
Bump google-nest-sdm to 1.2.1 (#63151) 2021-12-31 10:11:00 -10:00
Daniel Hjelseth Høyer 3ea2b7d89f
Mill, add HVAC_MODE_OFF for gen 3 heaters (#63134)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-12-31 12:06:05 -08:00
Maikel Punie d7f0ad29df
Add velbus USB dicovery (#62596) 2021-12-31 09:44:35 -10:00
Shay Levy c65a50bd2e
Fix Shelly error fetching device triggers for sleeping devices (#63103) 2021-12-31 18:47:03 +01:00
Mick Vleeshouwer 4eb077b6b4
Enable strict typing for Overkiz integration (#63108) 2021-12-31 07:35:15 -10:00
Daniel Hjelseth Høyer 0da53bad90
Update Adax-local to 0.1.3 (#63129)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-12-31 14:18:06 +01:00
Franck Nijhof c5d8792c34
Cleanup switch light (#63127) 2021-12-31 12:47:16 +01:00
Franck Nijhof 78442d82d1
Add color mode support to switch light (#63124) 2021-12-31 11:43:59 +01:00
jjlawren 2172679f41
Make Sonos alarm `unique_id` unique with multiple households (#62645) 2021-12-31 11:10:10 +01:00
Milan Meulemans cdd54b365a
Remove deprecated Connection class from octoprint ConfigFlow (#63117) 2021-12-31 11:06:30 +01:00
epenet 04e8e84058
Add init type hints [e] (#63102)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-31 11:05:44 +01:00
Andre Lengwenus 7b9e643536
Bump pypck to 0.7.12 (#63119) 2021-12-31 11:01:59 +01:00
Allen Porter 4c46cf79c4
Bump google-nest-sdm to 1.2.0 (#63121) 2021-12-31 10:43:11 +01:00
epenet 545e321002
Add init type hints [a] (#63098)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 21:17:05 -08:00
Marcel van der Veldt 055fb99938
Hue allow per-device availability override (#63025)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-30 20:46:52 -08:00
Christopher Bailey ebe9853e6f
Bumps pyunifiprotect to 1.4.8 (#63113) 2021-12-30 16:17:32 -10:00
GitHub Action f205708e56 [ci skip] Translation update 2021-12-31 00:14:15 +00:00
Simone Chemelli 6725e4033c
Use mesh topology and add 3 more attr for Fritz (#63049)
* Use mesh topology and add 3 more attr

* Apply review comment
2021-12-30 23:23:55 +01:00
Franck Nijhof b5300fb32e
Add configuration flow to Whois (#63069)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2021-12-30 22:42:46 +01:00
epenet 9971831b51
Improve typing in core service registration (#63005)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 21:18:10 +01:00
Clifford Roche 1320f27fd7
Bump greeclimate to 1.0.1 (#63092) 2021-12-30 21:15:59 +01:00
epenet 803eaa8e22
Ensure admin service calls are typed (#63093)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 21:12:40 +01:00
Simone Chemelli 34e732ebc1
Add hw info for Shelly devices (#62643)
* Add hw info for Shelly devices

* Better rappresentation

* Remove date parsing

* Added model as requested
2021-12-30 20:08:29 +01:00
uvjustin 849dc0e53a
Use original PyAv in stream (#63079) 2021-12-30 10:54:25 -08:00
Franck Nijhof 540ccc37b5
Use StrEnum in Tuya constants (#63073) 2021-12-30 20:23:27 +02:00
epenet f724aea0bb
Ensure service calls are typed [a-j] (#63013)
* Ensure service calls are typed [a-j]

* Adjust apns

* Adjust arlo

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 18:50:51 +01:00
Maciej Bieniek c0b9a34901
Bump library to version 1.0.7 (#63078) 2021-12-30 19:45:09 +02:00
Simone Chemelli c2938c50c3
Fix unique id for Fritz buttons (#63072)
* Fix unique id for Fritz buttons

* Apply review comment
2021-12-30 17:44:02 +01:00
Simone Chemelli c27e4feff6
Refresh device_info for Shelly devices (#62899)
* Rework device_info

* Update device_info via registry

* Optimized checks: only when needed

* Revert device_info rework as not needed

* Fix reboot detection for all scenarios

* Final optimization

* Remove leftover

* Bump aioshelly

* Bump fritzconnection and remove workarounds

* Cleanup fritzbox_callmonitor

* Rework device_info

* Update device_info via registry

* Optimized checks: only when needed

* Revert device_info rework as not needed

* Fix reboot detection for all scenarios

* Final optimization

* Remove leftover

* Update homeassistant/components/shelly/utils.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/shelly/__init__.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Revert slipped in commit

* Rename param

* Apply review comment

* Apply comment review #2

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-12-30 15:37:28 +01:00
Mick Vleeshouwer 8599ddf51e
Address feedback to Overkiz integration (round 2) (#63036)
* Address feedback in multiple files

* Add missing return statement

* Improve sensor descriptions

* Improve typing

* Move to new device registry

* Disable RSSI sensor by default

* Improve typing
2021-12-30 15:22:35 +01:00
Simone Chemelli da24b7ce2f
Bump fritzconnection and remove workarounds (#63050)
* Bump fritzconnection and remove workarounds

* Cleanup fritzbox_callmonitor
2021-12-30 12:53:54 +01:00
Sebastian Lövdahl 0a95b2c591
Vallox config flow follow-up fixes (#63032)
* Vallox config flow follow-up fixes

* Fix logging

* Get documentation URL from manifest

* Feedback fixes
2021-12-30 11:58:36 +01:00
ollo69 7d1de80926
Ignore serial number "blank" from NUT (#63066) 2021-12-30 10:25:44 +01:00
Alan Murray eaba29657f
Catch bluetooth_tracker OSError (#60437)
Catch when bluetooth_tracker integration throws an OSError when a bluetooth device can't be found.
2021-12-30 10:06:44 +01:00
Franck Nijhof bbb652304e
Introduce const file in Whois (#63051) 2021-12-30 09:05:16 +01:00
Tobias Sauerwein 792d9196df
Bump pyatmo to v6.2.2 (#63053)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2021-12-30 00:00:30 -08:00
Marvin Wichmann b9247f3952
Fix local_ip handling in KNX options flow (#62969) 2021-12-30 01:13:58 +01:00
Christopher Bailey 02e59b2f38
Fixes UniFi Protect reconnect issues (#63047) 2021-12-29 12:39:55 -10:00
Christopher Bailey 5eb59092e6
Adds missing strings (#63046) 2021-12-29 12:27:31 -10:00
Allen Porter 26972942ca
Deprecate the Legacy Works with Nest API (#63027) 2021-12-29 23:22:31 +01:00
Franck Nijhof c6230fef08
Add full test coverage to CPU Speed (#63042) 2021-12-29 22:59:14 +01:00
epenet 709afc63b0
Ensure service calls are typed [m-z] (#63014)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 22:41:55 +01:00
Franck Nijhof 4ef9abbf3f
Add myself as codeowner for CPU Speed (#63034) 2021-12-29 21:43:53 +01:00
Christopher Bailey 699512c36f
Add UniFi Protect button (#63001) 2021-12-29 09:38:44 -10:00
Christopher Bailey b31041698f
Feedback from previous PR (#63022) 2021-12-29 08:39:45 -10:00
Allen Porter 23384ee1e8
Update stream errors with additional error information (#62900) 2021-12-29 18:57:14 +01:00
Franck Nijhof 2f7fa962b4
Detect unsupported system in CPU Speed integration (#63012) 2021-12-29 18:54:47 +01:00
Marcel van der Veldt 1547a046db
Fix reporting correct colormode for 3rd party Hue lights (#63015) 2021-12-29 18:26:52 +01:00
Mirko Lenz ab4effc7e2
Allow sending GroupValueResponse telegrams with knx.send service (#62639)
* Add knx.respond service

* Combine knx.send and knx.respond services

* Rename knx attribute and fix tests

* Use parametrization in tests

Co-authored-by: Marvin Wichmann <marvin.wichmann@unic.com>
2021-12-29 18:15:48 +01:00
epenet 7185e1140d
Add setup type hints to plex (#62883)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 18:05:56 +01:00
Marcel van der Veldt f28c66ce19
Fix Hue motion sensor state if sensor is disabled (#63000) 2021-12-29 17:54:53 +01:00
jjlawren a8fe9f2eff
Add missing migration for Sonos speech enhancement switch entities (#63010) 2021-12-29 17:31:04 +01:00
jjlawren 00a4b60f74
Fix night mode switch state on Sonos (#63009) 2021-12-29 17:25:29 +01:00
Phil Cole 469a1cae85
Add unique id to nissanleaf entities (#62824)
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-29 16:43:10 +01:00
David F. Mulcahey 946544b08f
Update ZHA to use apparent power (#62990) 2021-12-29 10:35:17 -05:00
Franck Nijhof fc1899987a
Fix incorrect unit of measurement access in Tuya (#62989) 2021-12-29 15:35:51 +01:00
Franck Nijhof 12a57ad925
Fix Tuya data type information in lights (#62993) 2021-12-29 15:35:41 +01:00
Franck Nijhof 17536df7ea
Fix Tuya data type information in climate (#62994) 2021-12-29 15:34:56 +01:00
Franck Nijhof 084e81f827
Gracefully handle missing preset mode in Tuya fan (#62996) 2021-12-29 15:34:36 +01:00
Marcel van der Veldt 497bfc1c8f
Normalize Hue colortemp if value outside of bounds (#62998) 2021-12-29 15:13:52 +01:00
Franck Nijhof 32d1e28dab
Clean up Tuya loggers (#62999) 2021-12-29 15:12:27 +01:00
Franck Nijhof bd98fc231d
Gracefully handle unknown HVAC mode in Tuya (#62984)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-29 14:52:08 +01:00
Steffen Zimmermann 85f2e259da
Add unique id check in wiffi config flow (#60388)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-29 14:34:47 +01:00
epenet 98135d8158
Ensure service calls are typed in homeassistant (#62915)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 14:30:55 +01:00
Marcel van der Veldt c5bdf858a8
Fix short flash effect in Hue integration (#62988) 2021-12-29 14:21:38 +01:00
epenet 4d8c9fc1ab
Add basic type hints to cast (#62746)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 12:30:16 +01:00
Phil Cole 54d1e20948
Add type hints to nissan_leaf integration (#62967) 2021-12-29 12:23:54 +01:00
Allen Porter 2df0adfbc7
Reload nest integration when new devices are added (#62976) 2021-12-29 12:20:55 +01:00
Bram Kragten d62f9a19ae
Update frontend to 20211229.0 (#62981) 2021-12-29 12:15:52 +01:00
epenet 7cf66fa72d
Add basic type hints to alexa (#62878)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 12:11:33 +01:00
Marcel van der Veldt e0744625bc
Bump aiohue to 3.0.11 (#62983) 2021-12-29 12:01:57 +01:00
Marcel van der Veldt c7f465ff3b
Remove duplicate filter for Hue button events (#62974) 2021-12-28 22:21:23 -08:00
Marcel van der Veldt bc7e51b992
Send commands to Hue grouped lights all at once (#62973) 2021-12-28 22:20:20 -08:00
Allen Porter 67663dd31a
Bump google-nest-sdm to 1.1.0 (#62977) 2021-12-28 22:19:31 -08:00
Christopher Bailey 490d76e01e
Add UniFi Protect media_player (#62895) 2021-12-28 18:36:18 -10:00
J. Nick Koston 4025ce8f97
Bump flux_led to 0.27.21 (#62971) 2021-12-28 16:22:53 -10:00
Alexei Chetroi b54f2c9487
Don't throw when a Zigbee device has an unknown ZCL cluster (#62964)
* Fix channel name for clusters with None ep_attribute

* Correctly generate entity name based on channel names
2021-12-28 21:04:11 -05:00
Matt Zimmerman dcd2d1e3e2
Bump python-smarttub dependency to 0.0.29 (#62968)
* Bump python-smarttub dependency to 0.0.29

* gen
2021-12-28 19:26:53 -05:00
Andre Richter acf3217449
Fix zwave_js ZWaveTiltCover docstring (#62972)
This is a small leftover from the PR that introduced the class, which
wasn't a generic class originally.
2021-12-28 19:24:27 -05:00
GitHub Action 026ead2889 [ci skip] Translation update 2021-12-29 00:13:49 +00:00
Jonas 1bd1a12285
Remove myself from proxmoxve component codeowners (#62963)
* remove myself from proxmoxve component codeowners

* remove myself from proxmoxve component codeowners
2021-12-28 22:31:23 +01:00
Franck Nijhof 059d86ef25
Add unique ID to CPU Speed sensor (#62961) 2021-12-28 22:28:06 +01:00
epenet 4f32a329a7
Add basic type hints to command_line (#62877)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 21:56:38 +01:00
Franck Nijhof 8b59b3baf4
Add device info to PVOutput (#62951) 2021-12-28 21:47:39 +01:00
Franck Nijhof 4fe62a251d
Rename Luftdaten -> Sensor.Community (#62865) 2021-12-28 21:40:00 +01:00
Franck Nijhof 4edf6163f7
Deprecate Bosch BME280 Environmental Sensor (ADR-0019) (#62934) 2021-12-28 21:38:46 +01:00
epenet 4da7508e9d
Add CO device class to binary_sensor entity model (#61962)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 10:33:21 -10:00
Franck Nijhof 43dc12b1c8
Add strict typing to Whois (#62959) 2021-12-28 21:25:09 +01:00
Sebastian Lövdahl 53f4a3d8bc
Use Platform constants all over the place 3/3 (#62954) 2021-12-28 21:24:27 +01:00
Sebastian Lövdahl d18f1cc872
Use Platform constants all over the place 2/3 (#62953) 2021-12-28 21:23:07 +01:00
Franck Nijhof c8aabc48f1
Deprecate Time of Flight (ADR-0019) (#62955) 2021-12-28 21:20:10 +01:00
Franck Nijhof e60530fb30
Deprecate HTU21D(F) Sensor (ADR-0019) (#62956) 2021-12-28 21:19:45 +01:00
Franck Nijhof 5ab527e59c
Add configuration flow to CPU Speed (#62929) 2021-12-28 21:17:53 +01:00
Sebastian Lövdahl bc3bf2ffe3
Use Platform constants all over the place 1/3 (#62952) 2021-12-28 21:13:20 +01:00
Sebastian Lövdahl b5fd2e0d58
Convert Vallox integration to config flow (#62780) 2021-12-28 10:06:29 -10:00
Franck Nijhof 28faf9eafc
Add myself as codeowner for Whois (#62958) 2021-12-28 21:05:15 +01:00
epenet 1f35ad08e2
Add basic type hints to homekit_controller (#62880)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 18:24:40 +00:00
Aaron Bach 3a3a6ed464
Fix incorrect state class for Ambient PWS rain rate sensor (#62946) 2021-12-28 09:54:18 -07:00
Franck Nijhof 90a9d64f67
Add reauthentication handling to PVOutput (#62932) 2021-12-28 17:28:35 +01:00
Franck Nijhof 980d6c9563
Deprecate Bosch BMP280 Environmental Sensor (ADR-0019) (#62937) 2021-12-28 15:37:48 +01:00
Franck Nijhof b21505aa43
Deprecate Bosch BME680 Environmental Sensor (ADR-0019) (#62936) 2021-12-28 15:24:48 +01:00
epenet 8cc0df7b72
Ensure service calls are typed [k-n] (#62917)
* Ensure service calls are typed [k-n]

* Ensure service calls are typed in mazda

* Adjust mazda

* Add mazda comment

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:33:08 +01:00
Franck Nijhof 1c7efe7047
Update pvo to 0.2.0 (#62926) 2021-12-28 14:30:48 +01:00
epenet 92ace6c2e8
Ensure service calls are typed [s-u] (#62922)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:42 +01:00
epenet 656d383ba6
Ensure service calls are typed [e-g] (#62912)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +01:00
epenet fb272f58fb
Ensure service calls are typed [h-i] (#62914)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:19:14 +01:00
Franck Nijhof 7b5a159899
Add strict typing to CPU Speed (#62924) 2021-12-28 13:19:36 +01:00
epenet 05ac2d4c3a
Ensure service calls are typed [v-z] (#62923)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 13:12:06 +01:00
epenet a19c95e4bd
Ensure service calls are typed [o-r] (#62920)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 13:10:17 +01:00
Franck Nijhof f6c1266af6
Use shorthand attributes in the CPU Speed integration (#62896) 2021-12-28 11:38:42 +01:00
Mick Vleeshouwer 41c497ee6e
Add binary sensor entity to Overkiz integration (#62913) 2021-12-27 23:10:39 -10:00
Phil Cole 68acf13f48
Add basic type hints to nissan_leaf (#62904) 2021-12-28 08:56:07 +01:00
Franck Nijhof d63b7bc5f1
Extract attribute into sensor for PVOutput (#62894) 2021-12-28 08:33:40 +01:00
GitHub Action 4745e2fb3b [ci skip] Translation update 2021-12-28 00:14:11 +00:00
Mick Vleeshouwer 0bcb0a6267
Add scene entity to Overkiz integration (#62884) 2021-12-27 13:57:19 -10:00
epenet cb135bc889
Add basic type hints to xiaomi_miio (#62889)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 00:15:40 +01:00
epenet de64622f3b
Ensure service calls are typed [a-d] (#62891)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 00:14:20 +01:00
epenet 942f58593b
Add type hint to adguard service calls (#62893)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-27 23:55:46 +01:00
epenet e01b0a3625
Add setup type hints to sonos, unifi and wake_on_lan (#62876)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-27 23:42:24 +01:00
Franck Nijhof cee0440ab6
Add unique ID to PVOutput entities (#62890) 2021-12-27 23:14:43 +01:00
Pascal Reeb 1af3177466
Fix unique_id of nuki config entry (#62840)
* fix(nuki): fixed naming of nuki integration

* parse_id function

* migration path

* fixes from ci runs

* don't update title if it was changed

* move to dedicated helper

* use dict of params

* Update homeassistant/components/nuki/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 23:02:48 +01:00
Franck Nijhof 53fdcf1b6a
Add basic support for EntityDescription in PVOutput (#62887) 2021-12-27 23:01:00 +01:00
Franck Nijhof 16e9ea6ac7
Slightly improve Open-Meteo configuration flow (#62869) 2021-12-27 22:58:31 +01:00
Thomas Schamm 40aa852a57
Fix missing power and energy sensors for light switches in bosch_shc (#62802) 2021-12-27 22:54:23 +01:00
Franck Nijhof af3d52a3e0
Add myself as codeowner for Luftdaten (#62888) 2021-12-27 22:51:31 +01:00
Mick Vleeshouwer b9ce82f79c
Add unique id to DHCP step in Config Flow for Overkiz (#62847) 2021-12-27 11:28:18 -10:00
Franck Nijhof 1cfeb404b6
Add configuration flow to PVOutput (#62667)
* Add configuration flow to PVOutput

* Update homeassistant/components/pvoutput/sensor.py

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

* Update homeassistant/components/pvoutput/sensor.py

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

* Use account URL placeholder

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 22:05:10 +01:00
Bram Kragten 6b0f2aa13f
Update frontend to 20211227.0 (#62874) 2021-12-27 21:37:21 +01:00
Florent Thoumie 3c2d5d5f8c
Update to iaqualink 0.4.1 (#53745)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-27 10:20:55 -10:00
Franck Nijhof 5824477298
Update tuya-iot-py-sdk to 0.6.6 (#62858) 2021-12-27 20:58:33 +01:00
htmltiger de2adce1ca
Fix TypeError of vacuum battery level None (#62722)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-27 20:55:43 +01:00
Amos Yuen 45ab9a3e33
Init template trigger binary sensor to None instead of False (#62769) 2021-12-27 20:52:26 +01:00
Allen Porter 17fbfe2eed
Set a suggested_area on nest devices based on the Google Home room name (#62871) 2021-12-27 11:39:57 -08:00
corneyl 7fc5605639
Fix keyerror when no previous Picnic orders exist (#62870) 2021-12-27 20:31:35 +01:00
Alberto Geniola 1f425b1942
Improve Elmax code quality (#61273)
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 19:50:43 +01:00
G Johansson 0d957ad93b
Code improvements Sensibo (#62810) 2021-12-27 08:34:00 -10:00
Mick Vleeshouwer 089dcb2b22
Address feedback to Overkiz integration (#62841) 2021-12-27 18:26:55 +01:00
Dave T 8fd60dbd51
Refactor entity_category str types (#62790) 2021-12-27 18:23:08 +01:00
epenet 377b0efc60
Add basic type hints to ffmpeg (#62744)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-27 17:56:13 +01:00
Tobias Sauerwein 2c904c0974
Bump mypy to 0.930 (#62642)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 17:55:17 +01:00
corneyl b0704c190f
Fix picnic sensor time unit (#62437) 2021-12-27 17:44:45 +01:00
Christopher Bailey dc3f21dd1e
Followup PR for UniFi Protect integration (#62806)
* Followup improvements from initial PR

* Update tests/components/unifiprotect/conftest.py

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

* Update translations

* Fixes log message

* Fixes log message

* Unknown to cannot connect

* Update tests/components/unifiprotect/test_config_flow.py

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

* Fixes camera coverage

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 12:39:24 +01:00
Mick Vleeshouwer cf6fb7bf39
Add light entity to Overkiz integration (#62835) 2021-12-27 12:35:59 +01:00
gjong 35bb19b4eb
Upgrade youless library to version 0.16 (#62837) 2021-12-27 12:32:25 +01:00
kpine 22e475790f
Avoid removing zwave_js devices for non-ready nodes (#59964)
* Only replace a node if the mfgr id / prod id / prod type differ

* Prefer original device name for unready node

* move register_node_in_dev_reg into async_setup_entry

* simplify get_device_id_ext

* Don't need hex ids

* Revert "move register_node_in_dev_reg into async_setup_entry"

This reverts commit f900e5fb0c67cc81657a1452b51c313bccb6f9e1.

* Revert Callable change

* Revert device backup name

* Add test fixtures

* Update existing not ready test with new fixture data

* Check device properties after node added event

* Add entity check

* Check for extended device id

* better device info checks

* Use receive_event to properly setup components

* Cleanup tests

* improve test_replace_different_node

* improve test_replace_same_node

* add test test_node_model_change

* Clean up long comments and strings

* Format

* Reload integration to detect node device config changes

* update assertions

* Disable entities on "value removed" event

* Disable node status sensor on node replacement

* Add test for disabling entities on remove value event

* Add test for disabling node status sensor on node replacement

* disable entity -> remove entity

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 12:31:31 +01:00
Kristján Bjarni 38723b277e
Added XML RSS as Content-Type (#62822) 2021-12-27 10:49:38 +01:00
Phil Cole a17fffbfc2
Update to pycarwings 2.13 (#62821) 2021-12-27 10:42:00 +01:00
J. Nick Koston 7a46e04fd1
Remove unused homekit.start service (#62827) 2021-12-27 10:12:02 +01:00
Michael a721927b9a
Use ConfigEntryDisabler enum (#62816) 2021-12-27 10:08:29 +01:00
J. Nick Koston 417172eef2
Cleanup HomeKit names to avoid unknown error when adding (#62831) 2021-12-27 09:53:33 +01:00
flfue a3e526d6cf
Add return for certified devices to not apply availability check (#62728) 2021-12-26 23:31:51 -08:00
GitHub Action e00406c7b8 [ci skip] Translation update 2021-12-27 00:40:55 +00:00
Ville Skyttä 6f1675944e
Add huawei_lte hardware version (#62773) 2021-12-26 10:36:00 -10:00
Simone Chemelli c07077833f
Add missing entity category for gen2 devices (#62812) 2021-12-26 22:26:24 +02:00
Thomas Schamm 746aa948bb
Bumped boschshcpy 0.2.27 to 0.2.28 (#62778) 2021-12-26 07:53:40 -10:00
uvjustin 08a3140e6c
Allow generic camera conf without still_image_url (#62611)
* Allow generic config with no CONF_STILL_IMAGE_URL
* Use Stream.async_get_image when no CONF_STILL_IMAGE_URL
* Remove GenericCamera.camera_image
2021-12-26 15:53:14 +08:00
Ville Skyttä 3e3fb52dfa
Huawei LTE simplifications (#62770)
* Use enum types rather than strs in sensor type hints

* Name sensor meta fields same as in SensorEntityDescription

* Make integration shared state a NamedTuple

* Use dataclasses instead of attr
2021-12-26 09:17:59 +02:00
Christopher Bailey e982e7403a
Add unifiprotect integration (#62697)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-25 20:12:57 -10:00
Allen Porter c54439ef42
Bump google-nest-sdm to 1.0.0 (#62783)
* Bump google-nest-sdm to 1.0.0

See release log in https://github.com/allenporter/python-google-nest-sdm/compare/0.4.9...1.0.0

* Remove typing ignore now that typing is fixed
2021-12-25 21:47:45 -08:00
GitHub Action cc92aa557a [ci skip] Translation update 2021-12-26 00:15:41 +00:00
Franck Nijhof 7d7f5272fe
Add device info to Luftdaten (#62692) 2021-12-25 10:52:31 +01:00
Raman Gupta 639181108f
Add zwave_js support for Fortrezz SSA3 (#62765) 2021-12-25 10:33:20 +01:00
GitHub Action 8c8c7e91a2 [ci skip] Translation update 2021-12-25 00:13:29 +00:00
David F. Mulcahey 0062676f61
Add lqi and rssi sensors back to ZHA (#62716)
* update device list

* Only 1 identify button per device

* Add LQI and RSSI sensors to ZHA

* refactor entity creation filter

* update device list and update discover test

* fix reference

* code reduction

* walrus

* parens

* simplify
2021-12-24 16:48:02 -05:00
Evgeny 64d1a7382f
Bump roombapy to 1.6.4 (#62741) 2021-12-24 10:34:49 -10:00
Eric Severance a1be11a492
Store wemo device sw_version & upnp connections (#62758) 2021-12-24 10:31:42 -10:00
Mick Vleeshouwer c37077aa9b
Add number entity to Overkiz integration (#62732) 2021-12-24 10:29:51 -10:00
uvjustin 9dbba6b7f2
Use lock in Camera.create_stream (#62757)
Rename create_stream to async_create_stream in Camera
Rename get_image to async_get_image in Stream
Rename get_image to async_get_image in KeyFrameConverter
2021-12-25 04:14:43 +08:00
Franck Nijhof 78cc5f8d43
Upgrade vehicle to 0.3.1 (#62747) 2021-12-24 19:59:37 +01:00
Lorenzo Brescanzin 0da710c4e0
Fix HomeKit sensor update check (#62705) 2021-12-24 08:39:37 -10:00
epenet 6ffd587788
Add basic type hints to ads (#62738)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 14:25:10 +01:00
epenet 6dcec898c4
Add basic type hints to abode (#62730)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 14:06:14 +01:00
epenet 3e567959f7
Add basic type hints to advantage_air (#62737)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 13:45:42 +01:00
J. Nick Koston 1d0036b86a
Bump zeroconf to 0.38.1 (#62720) 2021-12-24 13:26:07 +01:00
Brian Egge 27e3a5ba83
Generic thermostat presets (#56080)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-23 14:29:29 -10:00
Mick Vleeshouwer fb04b19960
Add button entity to Overkiz integration (#62719) 2021-12-23 14:21:47 -10:00
GitHub Action f07030c425 [ci skip] Translation update 2021-12-24 00:13:45 +00:00
Mick Vleeshouwer f722931920
Add lock entity to Overkiz integration (#62713) 2021-12-23 13:28:01 -10:00
David F. Mulcahey 41531b528e
Add identify buttons to ZHA devices (#61495)
* Identify buttons

* clean up and add test

* use Platform

* update device list

* Only 1 identify button per device

* cleanup press until the need arises for the branch

* make imports relative
2021-12-23 17:52:42 -05:00