Commit Graph

43716 Commits (89895c6c042f32c74c0c672e52746693fb2a3504)

Author SHA1 Message Date
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
Marc Mueller 2738217c4b
Run `gen_requirements_all` script on changes to `setup.py` (#63171) 2022-01-02 16:11:25 +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
Marc Mueller 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
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
Dave T 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
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