Commit graph

40573 commits

Author SHA1 Message Date
Jan Bouwhuis
a679ebcee7
Patch for Alexa percentage_step to precision ()
* speed_step must be an integer and a divider of 100

* use percentage_step in tests to test patch

* test with not supported percentage_step

* undo change in test_capabilities

* Use a default precision of one not percentage_step

* typo 2

* Update tests/components/alexa/test_smart_home.py

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

* Update homeassistant/components/alexa/capabilities.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-10-20 13:05:11 +02:00
Robert Svensson
4736bf3c32
Don't use deprecated ways of retrieving registries in Axis () 2021-10-20 13:03:52 +02:00
epenet
dfd2501c2c
Cleanup duplicate code in Onewire tests ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-20 11:43:59 +02:00
Robert Svensson
008b784fc5
Add deCONZ number config entity for Hue motion sensor delay ()
* First working draft of number platform

* Replace duration with delay for Hue motion sensors
Improve tests

* Bump dependency to v85

* Use constant for entity category

* Use type rather than using __class__

* Fix unique ID
2021-10-20 11:23:24 +02:00
Robert Svensson
25f4f2d86e
Don't use deprecated methods of retrieving registries in deCONZ () 2021-10-20 11:16:28 +02:00
Robert Svensson
b8cf6513d9
Address late review of unifi ()
* Fix late comment from 57570

* Remove other references to legacy ways
2021-10-20 10:59:07 +02:00
Erik Montnemery
5f37fffcd1
Bump pychromecast to 9.3.1 () 2021-10-20 09:44:20 +02:00
Robert Svensson
edefa9f4f4
Assign entity category diagnostics to deCONZ battery sensors () 2021-10-20 09:11:17 +02:00
epenet
704929ddd0
Remove legacy tests in onewire ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-20 09:10:32 +02:00
J. Nick Koston
cafb3067ce
Bump flux_led to 0.24.12 () 2021-10-20 09:02:02 +02:00
GitHub Action
7a7f5ccc31 [ci skip] Translation update 2021-10-20 00:12:17 +00:00
micha91
518151fbe6
Fix Yamaha MusicCast media_stop () 2021-10-20 00:18:08 +02:00
Tom Schneider
c6aa767be6
Add volume_up and volume_down to musiccast () 2021-10-20 00:14:55 +02:00
J. Nick Koston
4f0886fd7d
Bump flux_led to 0.24.11 () 2021-10-19 11:40:35 -10:00
Franck Nijhof
e65345900f
Add Human Presence Sensor (hps) device support to Tuya () 2021-10-19 23:17:00 +02:00
Aaron Bach
0fe5baa425
Rework RainMachine entity ID generation () 2021-10-19 10:10:51 -10:00
Aaron Bach
bf7c99c1f8
Migrate SimpliSafe to new web-based authentication () 2021-10-19 10:09:48 -10:00
Ville Skyttä
8e0cb5fcec
Fix clickatell send_error error check () 2021-10-19 22:04:13 +02:00
Erik Montnemery
dde8ac4eb5
Add support for kPa to sensor statistics () 2021-10-19 21:43:08 +02:00
epenet
1b0118a81b
Use constants in Onewire tests ()
* Use ATTR_ENTITY_ID constant

* Add ATTR_UNIQUE_ID constant

* Add new attribute constants

* Fix missing ATTR_DEFAULT_DISABLED

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-19 21:41:01 +02:00
Paulus Schoutsen
ab0247d112
Add entity category and state class to mobile app () 2021-10-19 12:29:22 -07:00
Franck Nijhof
bc9b134c5d
Clean up self references from Tuya climate platform constructor () 2021-10-19 21:04:46 +02:00
Daniel Hjelseth Høyer
d2f7f418c3
Add more sensors to Opengarage () 2021-10-19 11:15:40 -07:00
Franck Nijhof
6d898a631c
Add Water Detector (sj) device support to Tuya () 2021-10-19 20:09:06 +02:00
Erik Montnemery
bb9053e93d
Add MWh as an energy unit () 2021-10-19 11:08:44 -07:00
Daniel Hjelseth Høyer
8eef2113c7
Add more info to OpenGarage device info () 2021-10-19 11:08:03 -07:00
Daniel Hjelseth Høyer
b7db8dd62a
Add configuration url to Surepetcare ()
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-10-19 20:00:08 +02:00
Daniel Hjelseth Høyer
24d3bf0930
Add configuration url to Tractive ()
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-10-19 19:57:01 +02:00
Franck Nijhof
fbe3ce1bf7
Add cover platform to Tuya () 2021-10-19 19:36:15 +02:00
Daniel Hjelseth Høyer
eb2f2d3905
Add configuration url to Airthings ()
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-10-19 18:47:14 +02:00
Brig Lamoreaux
d1e30fdd54
Rewrite test for feedreader ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-19 17:15:56 +02:00
Paulus Schoutsen
4fe4e65e3e
Add entity category to Hue () 2021-10-19 12:29:43 +02:00
Franck Nijhof
d8a354fa8f
Add humidifier platform to Tuya () 2021-10-19 12:10:05 +02:00
Martin Hjelmare
9a5f16d85c
Deprecate OpenZWave in manifest () 2021-10-19 12:07:57 +02:00
Jan Bouwhuis
58569a58a9
MQTT Alarm control panel - Enable remote code validation ()
* Enable remote code validation

* Update homeassistant/components/mqtt/alarm_control_panel.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-10-19 12:07:38 +02:00
Franck Nijhof
4f2d313a4a
Remove device category filtering from Tuya init () 2021-10-19 10:56:37 +02:00
Erik Montnemery
961ee717ef
Store automation and script traces ()
* Store automation and script traces

* Pylint

* Deduplicate code

* Fix issues when no stored traces are available

* Store serialized data for restored traces

* Update WS API

* Update test

* Restore context

* Improve tests

* Add new test files

* Rename restore_traces to async_restore_traces

* Refactor trace.websocket_api

* Defer loading stored traces

* Lint

* Revert refactoring which is no longer needed

* Correct order when restoring traces

* Apply suggestion from code review

* Improve test coverage

* Apply suggestions from code review
2021-10-19 10:23:23 +02:00
epenet
29c062fcc4
Rework Onewire tests to enable disabled entities ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-19 09:10:26 +02:00
Daniel Hjelseth Høyer
a3cae17d88
Open garage sensor () 2021-10-19 09:05:55 +02:00
Steven Looman
db474707a0
Preventing working with incomplete discoveries from user config flow in upnp () 2021-10-18 20:57:48 -10:00
Robert Hillis
4625a05706
Add init tests for agent dvr ()
* Add init tests for agent dvr

* ci
2021-10-19 08:53:30 +02:00
rikroe
8debb7c784
Add service to stop air conditioning to bmw_connected_drive ()
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-10-19 08:46:04 +02:00
Brian Egge
708f2ae089
Fix issue parsing color effect None in flux_led ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-18 20:36:25 -10:00
Erik Montnemery
9a26a8cfd8
Add support for daily and monthly statistics ()
* Add support for daily and monthly statistics

* Remove debug code

* Format code

* Don't use dateutil package

* Remove 2 TODOs

* Remove TODO

* Add comments
2021-10-19 08:29:23 +02:00
J. Nick Koston
6576225c48
Log unhandled loop exception traces when asyncio debug is on () 2021-10-18 20:07:51 -07:00
jan iversen
f92fe38bbd
Change warning to info when modbus is ready ()
* Change warning to info.

* Make level info implicit.
2021-10-18 19:38:33 -07:00
Marc Mueller
9561c51276
Use assignment expressions 16 () 2021-10-18 19:36:35 -07:00
Erik Montnemery
2bae113748
Mark Tasmota status sensors as diagnostic sensors ()
* Mark Tasmota status sensors as diagnostic sensors

* Disable IP and firmware version sensors by default
2021-10-18 19:33:26 -07:00
Simone Chemelli
1a978662ec
Add configuration_url and entity_category to Fritz () 2021-10-18 19:30:45 -07:00
Zac West
1904019b5f
Include webhook_id in mobile_app's notify registration_info () 2021-10-18 19:29:13 -07:00