Commit Graph

10765 Commits (32d4f104ff4fb70c91853fd485f8382f9e927aa5)

Author SHA1 Message Date
starkillerOG 1d24fb7ad9
Fix Netgear used method version (#63686)
* Netgear fix used method version

* add error message

* fix imports

* fix black

* fix error mess

* rename const
2022-01-09 11:27:42 +01:00
Jonathan Keljo 6c6607b5be
Improve multi-device test coverage for greeneye_monitor (#63657) 2022-01-09 01:44:18 -06:00
Christopher Bailey 0232021f5c
Add UniFi Protect camera motion sensors and ThumbnailProxyView (#63696) 2022-01-08 13:51:49 -10:00
Christopher Bailey 8860549ef2
Minor bugfixes for UniFi Protect (#63475) 2022-01-08 06:49:55 -10:00
Raman Gupta 9e4e43cf77
Handle zwave_js metadata/value updates when the unit changes (#63579)
* Handle zwave_js metadata updates when the unit changes

* Use value updated event instead of metadata updated event so we don't get an invalid state value

* update comments and formatting

* simplify

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* fix tests

* add additional assertions

* Add unit checks and simplify logic

* Add unit assertion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-08 13:23:29 +01:00
Simon Hansen b22a9b8669
Refactor Launch Library to use config flow (#62416)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-08 11:47:16 +01:00
J. Nick Koston 943aaaeb3f
Add SenseME integration (#62909)
Co-authored-by: Big Mike <mikelawrence@users.noreply.github.com>
2022-01-07 22:53:05 -10:00
J. Nick Koston 509ddc84a5
Add support for managing 2.4G remotes in flux_led (#63646) 2022-01-07 21:26:10 -10:00
J. Nick Koston ba402237c2
Add temp and minutes remaining sensors to steamist (#63653) 2022-01-07 21:02:12 -10:00
J. Nick Koston 9dd09f66e2
Ensure selected entity is pre-selected in homekit options flow (#63628)
* Ensure selected entity is pre-selected in homekit options flow

- We recently adjusted the flow to exclude entities that had
  been deleted from breaking the UI validation. We need to include
  single entities in the set of all supported entities since
  accessory mode has no domain filter

* tweak

* Additional fixes

* small tweak to speed up building the set

* merged fixed version for test branch
2022-01-07 17:46:39 -08:00
J. Nick Koston 945477a482
Fix KeyError during call to homekit.unpair (#63627) 2022-01-07 19:47:14 +01:00
Paulus Schoutsen 1ea3a17d89
Allow sending webhooks via WS connection (#62725) 2022-01-07 10:41:36 -08:00
Franck Nijhof 3f7275a9c7
Give scenes last activated state (#62673) 2022-01-07 19:02:32 +01:00
Erik Montnemery fc2025509e
Teach call service script action about entity registry ids (#61172) 2022-01-07 08:42:47 -08:00
Diogo Gomes d5d8eefded
Case sensitive SQL queries checks (#62752) 2022-01-07 17:19:30 +01:00
Matt Zimmerman ae3ff0a8ce
Skip empty test directories in gen_requirements_all (#62970) 2022-01-07 16:45:27 +01:00
Allen Porter 4203e1b064
Delete nest event image fetching and use same APIs as media player (#62789) 2022-01-07 16:37:54 +01:00
G Johansson 91900f8e4e
Add yale_smart_alarm config options flow (#54097) 2022-01-07 16:32:49 +01:00
G Johansson e7ef317b43
Bump yalesmartalarmclient to v0.3.7 (#63596) 2022-01-07 15:15:23 +01:00
Michael 9deebaa65f
Move lock and devicelock attributes into sensors for all AVM Fritz!Smarthome entities (#60426) 2022-01-07 14:46:17 +01:00
Erik Montnemery 09986436a1
Make idle chromecasts appear as idle instead of off (#61786) 2022-01-07 14:19:41 +01:00
Steven Looman 9bf1397c54
Fix upnp device not being reinitialized after device changes location (#63133) 2022-01-07 14:10:11 +01:00
J. Nick Koston e222e1b6f0
Add device configuration entities to flux_led (#62786)
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2022-01-06 21:02:19 -10:00
J. Nick Koston ad68d0795e
Fix missing device name with legacy flux_led discovery (#62785) 2022-01-06 19:43:22 -10:00
Christopher Bailey 3e2495f417
Isolate consts better to where they are used (#63569) 2022-01-06 11:57:56 -10:00
epenet 442690b885
Rewrite vultr unittest to pytest (#63367)
* Rewrite vultr unittest to pytest

* Fix tests

* Fix annotations

* Don't check setup_platform return value

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-06 21:44:53 +01:00
Christopher Bailey 812cb4a9d8
UniFi Protect test sensor followup (#63563) 2022-01-06 19:31:25 +01:00
Jonathan Keljo 41625f7410
Bump greeneye_monitor to v3.0.1 (#63531) 2022-01-06 14:59:56 +01:00
Paulus Schoutsen 7872f87dd7
Allow registering a webhook as local only (#63516) 2022-01-05 23:45:02 -08:00
J. Nick Koston 4283b2358c
Add support for Steamist steam showers (#63251)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-06 02:55:57 +01:00
Christopher Bailey 7d442122c0
Add UniFi Protect sensor platform (#63524)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-05 15:47:47 -10:00
Allen Porter da71e89f53
Add tests that exercise nest dhcp discovery behavior (#62526)
* Add tests that exercise nest dhcp discovery

Add tests that exercise the behavior of dhcp discovery for nest,
which is effectively that it doesn't work -- it only works when
you have already added a configuration.yaml.

Discovery can be made to work by using an entirely config flow
driven approach, which is in discussion.

* Adjust whitespace from merge
2022-01-05 17:35:55 -08:00
Eric Severance 7eacabf684
Share common EntityTestHelpers in wemo tests (#62455) 2022-01-05 17:22:38 -08:00
Christopher Bailey 4e56217b89
Add UniFi Protect binary_sensor platform (#63489)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-05 11:59:21 -10:00
rhpijnacker 32c416b646
Bump dsmr-parser dependency to 0.32 (#63436) 2022-01-05 22:50:00 +01:00
Hans Oischinger 2969a7ab4f
Address late review of vicare config flow (#63343)
* Review comments from #56691

* Adapt to review suggestions

* Update homeassistant/components/vicare/strings.json

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-05 22:49:42 +01:00
jjlawren 10195dc700
Improve server selection for Plex config flows (#63408) 2022-01-05 22:20:33 +01:00
Nico Müller cf1df5ff38
Add 'fire_event' command to websocket api (#63378)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:28:40 -08:00
Loek Sangers 25fe213f22
Enable local fulfillment google assistant (#63218)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:09:59 -08:00
Christopher Bailey d0d5222bf4
UniFi Protect test refactoring (#63486)
* UniFi Protect test refactoring

* More pylint fixes

* Use load_fixture helper

* yield to return where able
2022-01-05 19:29:59 +01:00
Erik Montnemery 6d57dbde68
Support passing callbacks to start.async_at_start (#63473)
* Support passing callbacks to start.async_at_start

* Update homeassistant/helpers/start.py

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Fix imports

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-05 18:04:09 +01:00
Tom Hennigan ce138dd30e
Add unique id to flic buttons (#61496)
* Use bluetooth address as unique id for flic buttons.

* Always lower case address for uid and add tests.

* Update test to set up component.

* Use format_mac(addr) as unique id.

* Only patch pyflic objects and use query entity registry for buttons.

* Replace ExitStack with patch.multiple, remove assert_setup_component.

* Test binary sensor is present in state machine.
2022-01-05 17:51:01 +01:00
Allen Porter d6c8f3965a
Improve nest camera failure handling on removal (#63207) 2022-01-05 16:17:51 +01:00
Simone Chemelli 969930b9c9
Remove debug print (#63460) 2022-01-05 15:34:33 +01:00
Erik Montnemery 75f8e031df
Add support for curtain device class to google assistant (#63380) 2022-01-05 15:01:58 +01:00
Mike Degatano c1967abfca
Bump influxdb-client dependency to 1.24.0 (#63397) 2022-01-05 12:45:41 +01:00
Chris Talkington 213b1bf684
Add MAC to Roku device (#63422) 2022-01-05 12:18:52 +01:00
Erik Montnemery c60bb1890d
Remove unused group config view (#63434) 2022-01-05 12:16:11 +01:00
Franck Nijhof ed791aa854
Add sensor tests to PVOutput (#63400) 2022-01-05 11:15:18 +01:00
Daniel Hjelseth Høyer ba1b09a3a5
Add external Tibber statistics (#62249)
* Tibber, add external statistics

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

* Tibber, add external statistics

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

* Tibber ext stats

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

* Add tests

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

* name

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-01-05 09:33:12 +01:00
Paulus Schoutsen 2b4bb49eb7
Make device tracker entities work better (#63328)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08:00
Erik Montnemery d4310f0d70
Remove groups.yaml from default config (#63366)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-04 23:16:08 -08:00
Marcel van der Veldt f999266c9a
Add additional service to set advanced Hue scene options (#63035) 2022-01-04 21:39:08 -08:00
J. Nick Koston e6e200f3c1
Handle no enabled ipv4 addresses in the network integration (#63416) 2022-01-04 21:22:28 -08:00
Allen Porter 224f960050
Set the nest configuration title to a user friendly name (#62886)
* Set the nest configuration title to a user friendly name

Set the config entry title name to be the name of the Google Home or
Nest Home that was authorized. In case more than one home was authorized,
they are all listed since they are all accessed over a single shared
home.

* Fix pylint errors

* Resolve pylint errors
2022-01-04 19:23:20 -08:00
mletenay f0acbabd48
Add Goodwe solar inverter integration (#58503)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2022-01-04 22:19:31 +01:00
Franck Nijhof 919aa95f97
Improve test coverage for PVOutput (#63048) 2022-01-04 20:20:39 +01:00
Franck Nijhof cd9096907b
Simplify WLED config flow, use device name for config entry (#63377) 2022-01-04 10:59:14 -08:00
Jevgeni Kiski 6af99882c5
Prometheus to support input_number (#58964)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-04 18:52:43 +01:00
jjlawren 8a8ffa1c08
Add support for Sonos microphone binary_sensor (#63097)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-04 18:45:40 +01:00
Hmmbob ec75b0caf0
Add Picnic last_order_max_order_time sensor (#63169) 2022-01-04 18:41:31 +01:00
ryborg 5f5adffd5b
Fix CO/CO2 sensors mixup in Google Assistant (#63152)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-04 18:24:44 +01:00
Allen Porter d7b080b285
Add support for Add-on discovery in rtsp_to_webrtc (#63211)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-04 17:58:08 +01:00
J. Nick Koston 13b262bcce
Keep flux_led device time in sync (#63259) 2022-01-04 17:37:15 +01:00
Renat Nurgaliyev f71d49230d
Add counter entities support to Prometheus component (#62410) 2022-01-04 17:34:05 +01:00
Allen Porter 0bcad5579b
Set nest climate hvac_action to report idle when hvac mode is not off (#62811) 2022-01-04 17:28:46 +01:00
J. Nick Koston ee375ff42d
Offer local control option when there are multiple zeroconf homekit matches (#62649) 2022-01-04 16:51:38 +01:00
epenet 411fcad798
Use BinarySensorDeviceClass enum in binary_sensor device automations (#62635) 2022-01-04 16:46:21 +01:00
J. Nick Koston 5c8271552a
Add hardware revision support to homekit (#63336) 2022-01-04 16:19:12 +01:00
Joakim Plate 7c6297db86
Add support for philips js screen state (#62775) 2022-01-04 16:14:44 +01:00
Robert Hillis f028079815
Remove deprecated yaml config from sma (#62472)
Co-authored-by: René Klomp <rene@klomp.ws>
2022-01-04 16:04:16 +01:00
Erwin Oldenkamp 39b26e5ff7
Add device to Wallbox integration (#63011) 2022-01-04 15:46:57 +01:00
David F. Mulcahey 6a685f0315
Add select entities to ZHA (#62718) 2022-01-04 13:40:29 +01:00
Robert Hillis cfb47b9195
Remove deprecated yaml config from waze_travel_time (#62543) 2022-01-04 13:39:32 +01:00
Allen Porter 9c166dfff2
Bump rtsp_to_webrtc to 0.4.0 (#63359) 2022-01-04 11:31:33 +01:00
Thomas Dietrich dc15c9ed75
Add SensorDeviceClass to statistics component, improve structures (#62629)
* Improve config checking, add device_class timestamp

* Move additional characteristics into separate branch

* Move deprecation warning for sampling_size default to other branch

* Add supports list description
2022-01-04 10:25:37 +01:00
avee87 04606f05a4
Use built-in Jinja min and max filters in templates (#60327)
* Use built-in Jinja min and max filters in templates

* use built-in filter for global

* lint

* less generic name

* more tests

* even more tests
2022-01-04 10:07:23 +01:00
Christopher Bailey a2677983a2
Add UniFi Protect select platform (#63337) 2022-01-03 13:42:10 -10:00
rianadon 48057e1dfb
Weather units: climacell (1.3/4) (#61472)
* climacell units

* Fix climacell tests
2022-01-03 15:09:47 -05:00
Paulus Schoutsen ad8af5fc7a
Allow mobile app registrations only supporting websocket push (#63208) 2022-01-03 11:02:41 -08: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
Jan Bouwhuis 86ed091dbf
Skip raw encoding test for cover (#63322) 2022-01-03 17:08:28 +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
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
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
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
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
Gabriel Rauter d26275011a
Add unique_id configuration variable to command_line integration (#58596) 2022-01-03 11:44:47 +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
Erik Montnemery 8f99cb51b5
Improve test coverage of template button (#63265) 2022-01-03 10:39:24 +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
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
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
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
Allen Porter 9e3f7d2961
Simplify nest reauth config flow (#63058) 2022-01-02 21:43:50 +01:00
J. Nick Koston 7de4801bfa
Add support for oncue connectivity binary sensor (#63232) 2022-01-02 21:36:14 +01:00
Christopher Bailey d364186571
Add UniFi Protect number platform (#63220) 2022-01-02 09:47:25 -10:00
J. Nick Koston 724f5dbf1a
Add Oncue by Kohler integration (#63203) 2022-01-02 09:15:39 -10:00
Allen Porter 15baea4ba3
Use more narrow exception catching in `nest` (#63225) 2022-01-02 18:54:56 +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
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
Daniel Hjelseth Høyer 8e5c8c516d
Adax, unique id and title should be string (#63132) 2021-12-31 12:22:47 -10:00
Christopher Bailey b379acc119
Clean up patching of setup platforms for UniFi Protect integration (#63156) 2021-12-31 12:20:23 -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
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
Franck Nijhof 78442d82d1
Add color mode support to switch light (#63124) 2021-12-31 11:43:59 +01: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
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
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
epenet e3c1a3567e
Fix local_file partial tests (#63023)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 16:52:23 -10: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
Franck Nijhof c6230fef08
Add full test coverage to CPU Speed (#63042) 2021-12-29 22:59:14 +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 788373a7ca
Update legacy nest config flow tests to use modern best practices (#63019)
* Update legacy nest tests to use modern best practices

Update legacy nest integration config flow tests to test the config flow actually through the integration APIs rather
than interacting with the config flow object directly. This is a pre-factoring pulled out of a larger config flow revamp
where we want to exercise the actual production code for initializing configuration, config flows, and authentication
implementations.

* Revert some test name/comment changes

* Update setup calls to verify async_setup_legacy is called
2021-12-29 10:38:50 -08: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
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
Marcel van der Veldt 497bfc1c8f
Normalize Hue colortemp if value outside of bounds (#62998) 2021-12-29 15:13:52 +01:00
Marcel van der Veldt c5bdf858a8
Fix short flash effect in Hue integration (#62988) 2021-12-29 14:21:38 +01:00
Allen Porter 2df0adfbc7
Reload nest integration when new devices are added (#62976) 2021-12-29 12:20:55 +01:00
Christopher Bailey 490d76e01e
Add UniFi Protect media_player (#62895) 2021-12-28 18:36:18 -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
Franck Nijhof 4fe62a251d
Rename Luftdaten -> Sensor.Community (#62865) 2021-12-28 21:40:00 +01:00
Franck Nijhof 5ab527e59c
Add configuration flow to CPU Speed (#62929) 2021-12-28 21:17:53 +01:00
Sebastian Lövdahl b5fd2e0d58
Convert Vallox integration to config flow (#62780) 2021-12-28 10:06:29 -10:00
Franck Nijhof 90a9d64f67
Add reauthentication handling to PVOutput (#62932) 2021-12-28 17:28:35 +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
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
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
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
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
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
J. Nick Koston 417172eef2
Cleanup HomeKit names to avoid unknown error when adding (#62831) 2021-12-27 09:53:33 +01: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