Commit graph

10281 commits

Author SHA1 Message Date
Paulus Schoutsen
c6ec84d0cf
Remove store user as auth result () 2021-11-28 14:14:52 +01:00
Christopher Bailey
5a72c9f7c3
Rename various usages of UniFi to better identify only UniFi Network ()
* Renames various usages of UniFi to better indentify only UniFi Network

* Apply suggestions from code review

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Missed renames

* Updates more locations

* Removes instances of application/controller

* Missed a spot

* Updates all UniFi Controller instances

* Fixes typo

* Reverts changes to translations

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-11-26 22:44:49 +01:00
Michael
296b738740
Add button to trigger ota firmware update for Shelly devices ()
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-11-26 14:19:39 +01:00
Erik Montnemery
ea102f71a6
Correct validation of repeats in scripts and automations ()
* Correct validation of repeats in scripts and automations

* Improve validation test
2021-11-26 14:12:59 +01:00
Erik Montnemery
88068fa97f
Remove unused OrderedEnum () 2021-11-26 11:10:39 +01:00
Chris Talkington
2a35ae2c0a
Update rokuecp to 0.8.4 () 2021-11-25 18:21:39 -06:00
Michael
c9dc3a61af
Fix slow config_flow test in devolo Home Network () 2021-11-26 00:14:15 +01:00
epenet
22bdd38583
Use SsdpServiceInfo for SOURCE_SSDP tests (part 4) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 17:13:52 -06:00
Michael
af8e1143b9
Fix slow config_flow test in upnp () 2021-11-26 00:07:23 +01:00
Michael
db0c82b88e
Fix slow config_flow test in Twinkly () 2021-11-26 00:00:37 +01:00
Michael
16eb85bfc8
Fix slow config_flow test in squeezebox () 2021-11-25 23:26:28 +01:00
Michael
ba7b5681e6
Fix slow config_flow test in Dune HD () 2021-11-25 22:34:47 +01:00
J. Nick Koston
d504c1e3e8
Add support for flux_led 0xA2 devices () 2021-11-25 21:20:34 +01:00
Michael
fb909eca8a
Fix slow config_flow test in bond () 2021-11-25 12:32:26 -06:00
Tim Rightnour
03d1efab46
Add Balboa Spa integration () 2021-11-25 12:04:06 -06:00
Michael
78305ac6ae
Fix slow config_flow test in AVM Fritz!SmartHome () 2021-11-25 11:48:17 -06:00
epenet
f292691b7b
Use SsdpServiceInfo for ssdp tests (part 3) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 11:46:20 -06:00
J. Nick Koston
67684d68ff
Fix slow yeelight discovery test () 2021-11-25 11:39:37 -06:00
epenet
2468724378
Use SsdpServiceInfo for ssdp tests (part 2) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 09:45:35 -06:00
Franck Nijhof
6b9c2d8295
Add shorthand attribute support to Camera platform () 2021-11-25 16:03:53 +01:00
Hypnos
57fd632cd9
Add missing MQTT lock.open ()
* Add missing MQTT lock.open

from:
https://community.home-assistant.io/t/mqtt-lock-open/232823/13
based on https://github.com/home-assistant/core/pull/48008

* Update homeassistant/components/mqtt/lock.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/lock.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/lock.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* removed `STATE_OPEN` from tests

* Apply suggestions from code review

* Format code

* Update lock.py

* Update test_lock.py

* Update test_lock.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-25 15:54:08 +01:00
Till Skrodzki
635d875b1d
Only accept valid hvac actions sent via mqtt ()
* Only accept valid hvac actions sent via mqtt

* Only accept valid hvac actions sent via mqtt

* Fix existing action test and remove old one

* Remote None as valid hvac action being accepted

* Change loglevel of wrong hvac action received
2021-11-25 15:53:34 +01:00
Thomas Dietrich
4c0d90ed41
Remove unknown attribute instead of marking STATE_UNKNOWN () 2021-11-25 15:13:55 +01:00
epenet
9eed18f121
Use SsdpServiceInfo for ssdp tests (part 1) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 14:35:19 +01:00
J. Nick Koston
213be1f15e
Update flux_led to use async_set_brightness in the lib () 2021-11-25 12:41:32 +01:00
refinedcranberry
a78f0eae39
Add "nextchange" sensors to AVM FRITZ!Smarthome devices () 2021-11-25 12:34:04 +01:00
epenet
62bf42e421
Introduce SsdpServiceInfo for ssdp discovery ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-24 19:35:15 -06:00
J. Nick Koston
5b199bcc6d
Use random effect from flux_led library () 2021-11-25 02:34:19 +01:00
epenet
75057949d1
Adjust async_step_discovery methods for BaseServiceInfo ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-24 19:30:02 -06:00
Simone Chemelli
15f62a7237
More tests optimizations for SamsungTV ()
* More tests optimizations

* Apply review comments
2021-11-24 22:54:49 +01:00
Maciej Bieniek
970df6d067
Move sensor stuff to the sensor platform in Brother integration () 2021-11-24 22:50:35 +01:00
Ville Skyttä
9f4de8df18
Make device entry disabled by an enum () 2021-11-24 22:32:16 +01:00
alim4r
42389fc81b
Support numeric sensors with no unit_of_measurement in prometheus () 2021-11-24 22:30:08 +01:00
Matthias Lohr
a399037a46
Add TOLO Sauna (tolo) integration () 2021-11-24 20:45:13 +01:00
Erik Montnemery
7c3edf24f2
Allow MQTT selects to have a single or no options () 2021-11-24 20:06:12 +01:00
J. Nick Koston
86cd46a0dd
Add support for adjusting effect brightness in flux_led () 2021-11-24 19:55:00 +01:00
Erik Montnemery
7b57033265
Correct today_at template function / filter ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-24 15:51:43 +01:00
Jan Bouwhuis
d33457b7bc
Add bytes support for bitwise template operations ()
* Add bytes support for bitwise template operations

* spelling

* Update bitwise tests

* remove try block for bytes conversion

* do not accept empty `bytes` object
2021-11-24 15:15:27 +01:00
epenet
5a8cbb8cab
Use UsbServiceInfo in zwave-js ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-24 07:51:28 -06:00
epenet
3bf12fcd29
Use UsbServiceInfo and ZeroconfServiceInfo in zha ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-24 07:50:45 -06:00
Thomas Dietrich
b8f4b76194
Add additional statistics characteristics, remove attributes ()
* Add additional statistics characterics, improve rounding

* Improve name of age_usage_ratio

* Replace difference by three relevant distances

* Refactor attributes, remove stats, add metadata

* Fix binary sensor testcase

* Fix sensor defaults testcase

* Fix and enhance all testcases

* Remove age coverage from attr when not configured

* Refactor so only the relevant characteristic value is calculated

* Rename unclear characteristics, add timebound average

* Fix coverage warning

* Remove explicit functions dict
2021-11-24 13:42:44 +01:00
h2zero
f4f945e65e
Fix Konnected multiple discovery of panels ()
* Konnected - Fix multiple discovery of panels.

This resolves an issue which creates multiple discoveries of a Konnected panel if it is restarted and fails to connect to home assistant.

See .

* Revert changes to user step, add handling to ssdp step.

* Add abort reason string to strings.json

* Abort ssdp discovery if device is already known.

* Add test for multiple discovery fix.

* Remove unrelated file change.

* Add ssdp discovery abort tests.

* Add missing abort reason check.

* Add "already_configured" to strings.

* Use "cannot_connect" abort reason.
2021-11-24 11:35:00 +01:00
Michael Kowalchuk
74cfbf5f42
Use configured speed ranges for HomeSeer FC200+ fan controllers in zwave_js ()
* Use configured speed ranges for HomeSeer FC200+ fan controllers in zwave_js

* Fix pylint errors

* Remove unused param in tests

* Fix test values

* Address various review notes

* Remove now-redundant assertion

* Add an additional test case for set_percentage=0

* Use round() instead of int() for percentage computations; this makes the percentage setting match the setpoints in the UI

* Add additional tests

* Fix pct conversions

* Make conversion tests exhaustive

* Add tests for discovery data templates

* Revert "Add tests for discovery data templates"

This reverts commit 85dcbc0903.

* Improve typing on ConfigurableFanSpeedDataTemplate#resolve_data

* Move config error handling to the discovery data template

* Fix checks for config data

* Revise fallback logic in percentage_to_zwave_speed and ensure that the speed list is non-empty

* Rework error handling

* Fix runtime fan speed updates

* Use warning instead of warn

* Move data validation to get_speed_config; turns out that resolve_data is only called once, at startup.

* Temporarily remove the not-yet-used fixed fan speed template.  Add an additional assertion to ensure speeds are sorted.

* Add a comment about the assertions in discovery_data_template.py

* Update homeassistant/components/zwave_js/discovery_data_template.py

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

* Fix typo in comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-24 11:31:59 +01:00
Simone Chemelli
8e6a3b2799
Fix init slow tests for SamsungTV () 2021-11-24 11:25:25 +01:00
Matthias Alphart
1a5f2c9c32
Disable less popular Fronius entities by default () 2021-11-24 11:17:38 +01:00
Jan Bouwhuis
d41d223033
Add UNIX timestamp detection to as_datetime template filter () 2021-11-24 09:51:56 +01:00
Jan Bouwhuis
fa0d3a6c48
Change output template filters timestamp_local and timestamp_utc to isoformat () 2021-11-24 09:49:03 +01:00
epenet
4ffb0b8380
Use UsbServiceInfo in modem_callerid ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-24 09:40:52 +01:00
Erik Montnemery
c0d2a66609
Add stable ID to entity registry entries ()
* Add UUID to entity registry entries

* Fix test
2021-11-24 09:01:35 +01:00
Simone Chemelli
e1de6612be
Fix socket usage in Aprs test () 2021-11-24 03:02:03 +01:00