Commit graph

43697 commits

Author SHA1 Message Date
epenet
71a5b89691
Ensure service calls are typed in todoist ()
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 ()
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 ()
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 () 2022-01-02 17:08:38 +01:00
epenet
20150daf1e
Fix incorrect parameter name/hint in mqtt climate ()
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] ()
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 () 2022-01-02 16:55:09 +01:00
epenet
95537166e8
Add init type hints [r] ()
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] ()
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] ()
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 () 2022-01-02 16:32:39 +01:00
epenet
1650332188
Add init type hints [h-j] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:31:48 +01:00
epenet
00ec874389
Add init type hints [s] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:29:52 +01:00
epenet
33e926371f
Add init type hints [m] ()
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] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:27:12 +01:00
epenet
6d51cccbf7
Add init type hints [d] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:12:46 +01:00
Marc Mueller
2738217c4b
Run gen_requirements_all script on changes to setup.py () 2022-01-02 16:11:25 +01:00
epenet
631e4c6bd3
Use DeviceClass Enum in alarmdecoder schema () 2022-01-02 16:01:00 +01:00
Simone Chemelli
fc02260146
Fix management of Fritz repeaters () 2022-01-02 14:59:41 +01:00
epenet
a2b611d9d9
Drop use of HomeAssistantType in elmax ()
* 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 () 2022-01-02 08:15:27 +01:00
epenet
18056f3a8a
Add init type hints [t-u] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 22:06:11 -08:00
Marc Mueller
06b9be4d9c
Upgrade flake8-noqa to 1.2.1 () 2022-01-02 02:22:26 +01:00
GitHub Action
efac363cdf [ci skip] Translation update 2022-01-02 00:14:58 +00:00
epenet
b6909feb8b
Add init type hints [n-o] ()
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] ()
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 () 2022-01-01 11:23:10 -10:00
Dave T
817f0c9aae
Refactor enum zwave js tests ()
* 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
Allen Porter
c7b991f56b
Add rtsptowebrtc integration ()
* 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 

* 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 ()
* 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 ()
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 ()
Simplify the entity state management for webrtc providers, incurring
extra state writes on startup.  Followup post-review comments for PR 
2022-01-01 11:22:48 -08:00
Dave T
0410c205ca
Move constants to const file for generic () 2022-01-01 10:57:56 -08:00
Daniel Hjelseth Høyer
8bf6aba1cf
Mill use walrus operator ()
* 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. () 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 () 2021-12-31 12:33:50 -10:00
Daniel Hjelseth Høyer
8e5c8c516d
Adax, unique id and title should be string () 2021-12-31 12:22:47 -10:00
Christopher Bailey
b379acc119
Clean up patching of setup platforms for UniFi Protect integration () 2021-12-31 12:20:23 -10:00
Allen Porter
0dee4f85f0
Implement an rtsp to webrtc registry in camera ()
* 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 () 2021-12-31 11:21:29 -10:00
Allen Porter
b17120a511
Bump google-nest-sdm to 1.2.1 () 2021-12-31 10:11:00 -10:00
Daniel Hjelseth Høyer
3ea2b7d89f
Mill, add HVAC_MODE_OFF for gen 3 heaters ()
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 () 2021-12-31 09:44:35 -10:00
Shay Levy
c65a50bd2e
Fix Shelly error fetching device triggers for sleeping devices () 2021-12-31 18:47:03 +01:00
Mick Vleeshouwer
4eb077b6b4
Enable strict typing for Overkiz integration () 2021-12-31 07:35:15 -10:00
Daniel Hjelseth Høyer
0da53bad90
Update Adax-local to 0.1.3 ()
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-12-31 14:18:06 +01:00
Franck Nijhof
c5d8792c34
Cleanup switch light () 2021-12-31 12:47:16 +01:00
Franck Nijhof
78442d82d1
Add color mode support to switch light () 2021-12-31 11:43:59 +01:00
jjlawren
2172679f41
Make Sonos alarm unique_id unique with multiple households () 2021-12-31 11:10:10 +01:00