Commit Graph
43698 Commits
Author SHA1 Message Date
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
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
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
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 PorterandGitHub ebc8e19788 Revert nest reloading due to lock up (#63206) 2022-01-02 17:08:38 +01:00
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
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
rhpijnackerandGitHub 5d037a079d Bump dsmr-parser dependency to 0.31 (#63123) 2022-01-02 16:55:09 +01:00
95537166e8 Add init type hints [r] (#63192)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:36:24 +01:00
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
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 KostonandGitHub 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
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
00ec874389 Add init type hints [s] (#63193)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:29:52 +01:00
33e926371f Add init type hints [m] (#63189)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:28:14 +01:00
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
6d51cccbf7 Add init type hints [d] (#63101)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:12:46 +01:00
Marc MuellerandGitHub 2738217c4b Run gen_requirements_all script on changes to setup.py (#63171) 2022-01-02 16:11:25 +01:00
epenetandGitHub 631e4c6bd3 Use DeviceClass Enum in alarmdecoder schema (#61967) 2022-01-02 16:01:00 +01:00
Simone ChemelliandGitHub fc02260146 Fix management of Fritz repeaters (#63110) 2022-01-02 14:59:41 +01:00
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
trdischatandGitHub e3de81cd02 Add default Fronius logger model for v0 API (#63184) 2022-01-02 08:15:27 +01:00
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
Marc MuellerandGitHub 06b9be4d9c Upgrade flake8-noqa to 1.2.1 (#63170) 2022-01-02 02:22:26 +01:00
GitHub Action efac363cdf [ci skip] Translation update 2022-01-02 00:14:58 +00:00
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
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 BaileyandGitHub e5b7eac411 Add UniFi Protect switch platform (#63177) 2022-01-01 11:23:10 -10:00
Dave TandGitHub 817f0c9aae Refactor enum zwave js tests (#62712)
* Use new enums in zwave_js tests

* Convert == to is

* Refactor some ATTR_ * as well.

* Address review comments
2022-01-01 21:50:48 +01:00
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 BieniekandGitHub 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 ZimmermannandGitHub 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 PorterandGitHub 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 TandGitHub 0410c205ca Move constants to const file for generic (#63179) 2022-01-01 10:57:56 -08:00
Daniel Hjelseth HøyerandGitHub 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
stegmandGitHub 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øyerandGitHub 4f6b2e6e1c Bump mill-local to 0.1.1 and add device info (#63141) 2021-12-31 12:33:50 -10:00
Daniel Hjelseth HøyerandGitHub 8e5c8c516d Adax, unique id and title should be string (#63132) 2021-12-31 12:22:47 -10:00
Christopher BaileyandGitHub b379acc119 Clean up patching of setup platforms for UniFi Protect integration (#63156) 2021-12-31 12:20:23 -10:00
Allen PorterandGitHub 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 BaileyandGitHub 0de3a299d6 Add UniFi Protect light platform (#63137) 2021-12-31 11:21:29 -10:00
Allen PorterandGitHub b17120a511 Bump google-nest-sdm to 1.2.1 (#63151) 2021-12-31 10:11:00 -10:00
Daniel Hjelseth HøyerandGitHub 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 PunieandGitHub d7f0ad29df Add velbus USB dicovery (#62596) 2021-12-31 09:44:35 -10:00
Shay LevyandGitHub c65a50bd2e Fix Shelly error fetching device triggers for sleeping devices (#63103) 2021-12-31 18:47:03 +01:00
Mick VleeshouwerandGitHub 4eb077b6b4 Enable strict typing for Overkiz integration (#63108) 2021-12-31 07:35:15 -10:00
Daniel Hjelseth HøyerandGitHub 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 NijhofandGitHub c5d8792c34 Cleanup switch light (#63127) 2021-12-31 12:47:16 +01:00
Franck NijhofandGitHub 78442d82d1 Add color mode support to switch light (#63124) 2021-12-31 11:43:59 +01:00