1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-08 16:37:30 +01:00
Commit Graph

9581 Commits

Author SHA1 Message Date
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
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
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
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