Commit Graph

9684 Commits (0fa4f616ed6e3d0be423c8b6ffe6fe71e068a739)

Author SHA1 Message Date
jjlawren 740a8c33ee
Add `audio_delay` number entity to Sonos (#63566) 2022-01-10 16:04:40 +01:00
Robert Hillis 7c51d2f159
Add strict typing to abode (#57673) 2022-01-10 15:54:09 +01:00
epenet bc2f4e82e3
Add setup type hints to nx584 (#63796)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:43:34 +01:00
Joakim Sørensen d1bb916070
Add client metadata to cloud register (#63794) 2022-01-10 14:49:25 +01:00
Erik Montnemery 0b28881b75
Enable Google Assistant state reporting by default (#63801) 2022-01-10 13:18:40 +01:00
Ryan Fleming 77d22c8542
Allow self signed certs on octoprint server (#59213) 2022-01-10 13:15:38 +01:00
Gunnar Klauberg 0f2e2aef2f
Add DSMR config options for EasyMeter/Q3D (#63669)
Co-authored-by: Rob Bierbooms <mail@robbierbooms.nl>
2022-01-10 13:08:41 +01:00
Orce MARINKOVSKI b78e22e012
Update MQTT light schema template (#62759)
* shema template update

* tests to cover the additional template variables

* fix flake8: too many blank lines

* Update schema_template.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-10 09:57:56 +01:00
J. Nick Koston a8a6e22063
Add DeviceInfo to steamist (#63773) 2022-01-09 21:28:59 -08:00
Raman Gupta 7b3e5fdf9d
Fix zwave_js device actions (#63769) 2022-01-09 21:28:36 -08:00
J. Nick Koston b5bb692fe4
Fix august locks failing to lock/unlock (#63652) 2022-01-09 21:27:27 -08:00
Christopher Bailey d8ba90fb8a
Refactor EntityDescriptions for UniFi Protect (#63716) 2022-01-09 18:37:24 -10:00
J. Nick Koston 96aa623d2a
Add discovery support to steamist (#63707) 2022-01-09 10:34:50 -10:00
J. Nick Koston 0efdc7fa65
Additional SenseME cleanups (#63748)
* Additional SenseME cleanups

* drop the super as its no longer needed

* one more
2022-01-09 19:48:54 +01:00
Daniel Hjelseth Høyer 0e0ef0aa17
Tibber cost statistics (#63626)
* Tibber cost statistics

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

* Tibber cost statistics

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

* unit

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

* unit

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

* Update homeassistant/components/tibber/sensor.py

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

* Update homeassistant/components/tibber/sensor.py

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

* break lines

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-09 12:20:53 +01:00
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
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
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