Dave T
dab1a786a5
Use DeviceClass Enums in arlo tests ( #62095 )
2021-12-16 22:11:08 +01:00
Dave T
9e4f720591
Use DeviceClass Enums in elgato tests ( #62121 )
2021-12-16 22:07:52 +01:00
rianadon
3b3ab2c19c
Handle None values in weather entity forecast ( #61467 )
2021-12-16 22:01:32 +01:00
Dave T
cabd6375d1
Use DeviceClass Enums in canary tests ( #62113 )
2021-12-16 21:47:59 +01:00
Dave T
373790cb15
Use DeviceClass Enums in deconz tests ( #62114 )
2021-12-16 21:46:01 +01:00
Erik Montnemery
4353b1e62c
Improve tests for template binary sensor ( #62103 )
2021-12-16 21:31:37 +01:00
Dave T
0409665907
Use DeviceClass Enums in ambee tests ( #62108 )
2021-12-16 21:22:26 +01:00
Dave T
84dad5d678
Use DeviceClass Enums in brother tests ( #62110 )
2021-12-16 21:22:04 +01:00
Franck Nijhof
0dbd948867
Add Open-Meteo integration (second attempt) ( #61742 )
2021-12-16 21:12:33 +01:00
Dave T
fe08668a87
Use DeviceClass Enums in accuweather tests ( #61990 )
2021-12-16 21:05:56 +01:00
Dave T
4a7a3b0469
Use DeviceClass Enums in advantage_air tests ( #61986 )
2021-12-16 21:05:12 +01:00
Dave T
1a594d2a8c
Use DeviceClass Enums in abode tests ( #61980 )
2021-12-16 20:59:55 +01:00
Dave T
4f7182a41a
Use DeviceClass Enums in airly tests ( #61989 )
2021-12-16 20:59:25 +01:00
Eduard van Valkenburg
80833aa7fb
Add config flow to Azure Event Hub integration ( #61155 )
...
* config flow added, no tests yet
* added tests
* refinement of tests
* small reverses of hub code
* fix small bug
* test fixes from review
* test fixes from review
* further refinement of tests and config flow
* removed true return from hub and added failed reason for import
* added deepcopy to default options
* deleted max_delay from options, can still be in yaml for now
* updated dropped message
* mistaken period at eol
2021-12-16 18:57:51 +01:00
epenet
7f823f7211
Fix OwnetError preventing onewire initialisation ( #61696 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 14:06:38 +01:00
epenet
550004f109
Fix mfi tests ( #61904 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 13:59:58 +01:00
J. Nick Koston
94ae6ac2b2
Handle color temp to RGBWW conversion ( #61473 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-16 05:39:33 -06:00
J. Nick Koston
11fde22d45
Add hardware version support to homekit controller ( #61743 )
2021-12-16 05:24:18 -06:00
J. Nick Koston
04153c0075
Add hardware version to the device registry ( #61650 )
2021-12-16 05:16:19 -06:00
J. Nick Koston
048102e053
Prevent apple_tv rediscovery from secondary identifiers ( #61973 )
2021-12-16 02:25:18 -06:00
Ville Skyttä
5bf67cac66
Use RegistryEntryDisabler ( #60436 )
2021-12-15 23:25:40 +02:00
javicalle
75e7104339
A few RFLink tests ( #58544 )
...
* Full coverage for RFLink tests
* use global constants
* extend RFLink keepalive tests
2021-12-15 23:09:54 +02:00
Ville Skyttä
7db3246de4
Make config entry disabled_by an enum ( #60445 )
...
* Make config entry disabled_by an enum
* Update homeassistant/config_entries.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-15 20:53:21 +01:00
Robert Hillis
cc3a4fef53
Remove deprecated yaml config from enphase envoy ( #61840 )
2021-12-15 13:55:31 +01:00
Marvin Wichmann
cefbc2c428
Allow setting local_ip for knx routing connections ( #61836 )
2021-12-15 13:15:56 +01:00
Allen Porter
bff677e34e
Bump google-nest-sdm to 0.4.8 ( #61851 )
2021-12-15 13:12:38 +01:00
Jan Bouwhuis
d5defa8995
Support publishing MQTT messages with raw bytes payloads ( #61090 )
...
* correctly publish mqtt ouput
* Additional tests
* Add template test with binary output
* render_outgoing_payload with command templates
* use MqttCommandTemplate helper class
* add tests command_template
* Additional tests
* support pass-through for MqttComandTemplate
* fix bugs
* unify workform always initiate with hass
* clean up
* remove not needed lines
* comment not adding value
2021-12-15 11:28:43 +01:00
Erik Montnemery
f17164fa47
Don't override pychromecast MediaController's APP ID ( #61796 )
2021-12-15 10:40:37 +01:00
Marcel van der Veldt
01c8e5f49d
Fix turn_off with transition for grouped Hue lights ( #61728 )
...
* fix turn_off with transition for grouped hue lights
* add test
2021-12-14 11:24:37 -08:00
Erik Montnemery
cf09d1b604
Improve warnings when a zone trigger is referencing a none-existing zone ( #61763 )
2021-12-14 20:14:50 +01:00
Pascal Vizeli
c02aae58fb
Add twinkly DHCP support ( #61434 )
...
* Add twinkly DHCP support
* fix typing import
* fix format
* Fix imports v2
* Using IP
* Fix tests
* Apply suggestions from code review
Thanks @bdraco
Co-authored-by: J. Nick Koston <nick@koston.org>
* fix black
* Add confirm step
* Add more tests
* Update homeassistant/components/twinkly/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-14 15:12:19 +01:00
Robert Hillis
dfcadd600c
Remove deprecated yaml from foscam ( #61761 )
2021-12-14 13:11:07 +01:00
epenet
eddc1ae0ed
Use new enums in huisbaasje ( #61776 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-14 10:54:47 +01:00
Franck Nijhof
de45144750
Remove deprecated YAML configuration from Luftdaten ( #61748 )
2021-12-14 09:21:12 +01:00
RDFurman
1ed6abe23d
Honeywell unique id fix ( #59393 )
...
* Move error logging and remove reload
* Change device assignment and improve logging
* Use dictionary for devices
* Check if new device exists in API response
* Add test and make loop better
* Make test assert on error in log
2021-12-13 20:38:43 -08:00
Marcel van der Veldt
438d19f72b
Fix Flash effect for Hue lights ( #61733 )
2021-12-13 16:27:58 -08:00
Klaas Schoute
dea20cf816
Upgrades Garages Amsterdam to v3.0.0 ( #61734 )
2021-12-14 00:31:22 +01:00
Robert Hillis
82e280d2ac
Remove deprecated yaml config from flume ( #61517 )
2021-12-13 23:04:50 +01:00
J. Nick Koston
65ec251309
Fix updating apple_tv addresses ( #61724 )
2021-12-13 21:38:22 +01:00
Allen Porter
efbec55818
Suppress errors for legacy nest api when using media source ( #61629 )
2021-12-13 17:41:45 +01:00
Martin Hjelmare
0662ab019f
Improve balboa tests ( #61691 )
2021-12-13 17:11:21 +01:00
Erik Montnemery
c157f1a787
Add color mode support to zwave light ( #55264 )
...
* Add color mode support to zwave light
* Fix typo
2021-12-13 14:38:49 +01:00
Erik Montnemery
bceeaec2f8
Remove duplicated statistics rows ( #61146 )
...
* Remove duplicated statistics
* Fix misleading docstring
* Pylint knows best
* Correct test
* Oops
* Prevent insertion of duplicated statistics
* Tweak
* pylint
* Add models_schema_23.py
* Tweak
2021-12-13 14:15:36 +01:00
Allen Porter
cd001d0243
Only publish nest camera event messages once per thread and bump nest version ( #61587 )
2021-12-12 14:12:05 -08:00
Marcel van der Veldt
4ad90b33c9
Fix Hue transition calculation ( #61581 )
2021-12-12 14:11:41 -08:00
J. Nick Koston
8200101785
Fix HomeKit covers with device class window and no tilt ( #61566 )
2021-12-12 14:10:40 -08:00
Allen Porter
c3e72bec0a
Update logic for nest media source `can_play` for events ( #61537 )
2021-12-12 14:10:20 -08:00
Marc Mueller
cbe58913ea
Fix freedompro tests ( #61012 )
2021-12-12 14:09:45 -08:00
David F. Mulcahey
94324cebea
Update HVAC action handling in ZHA climate devices ( #61460 )
...
* Update HVAC action handling in ZHA climate devices
* fix class name
* align with class name changes
* get the correct sensor entity for state assertions
2021-12-12 12:11:37 -05:00
Alexei Chetroi
997809c6c4
Refactor ZHA entity matching process ( #60063 )
...
* Group multi-matches by channels
* Group multi-matched by explicit groups
* Registryless AnalogInput and PowerConfiguration
* Refactor single cluster sensor registry
* Refactor single cluster cover and lock registry
* Refactor single cluster binary_sensor registry
* Pylint
2021-12-12 07:52:49 -05:00
J. Nick Koston
388fcac689
Reduce cpu requirements for apple_tv mdns and discovery ( #61346 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-12-11 19:57:11 -10:00
Austin Mroczek
3198211a7f
Add instant arming for totalconnect ( #60156 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-11 15:58:12 -10:00
David F. Mulcahey
abbde8f128
Clean up state class and device class usage in ZHA ( #61049 )
...
* Clean up sensor and device class usage in ZHA
* additional cleanup
* Use EntityCategory
2021-12-11 11:51:24 -05:00
Marcel van der Veldt
0abfc90870
Fix typo in Hue device triggers - use enum value ( #61498 )
2021-12-11 17:12:33 +01:00
David F. Mulcahey
a17031630f
Use Platform enum in ZHA ( #61016 )
2021-12-11 11:06:39 -05:00
J. Nick Koston
3eabd69666
Fix exception in color_rgb_to_rgbww ( #61466 )
2021-12-10 22:19:54 -08:00
Andre Lengwenus
74d5cbd3a9
Add events and device triggers to LCN ( #58745 )
2021-12-10 19:02:17 -10:00
Marcel van der Veldt
0d36b07d10
Small fix for device triggers and events on Hue integration ( #61462 )
2021-12-10 15:11:34 -08:00
jjlawren
6d54261322
Remove external library discovery call in Sonos ( #61461 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-10 11:28:47 -10:00
Erik Montnemery
dc5888ab4a
Correct recorder.statistics.get_last_statistics ( #61421 )
2021-12-10 10:09:29 -08:00
Erik Montnemery
aa36dde148
Correct rest sensor configured to generate timestamps ( #61429 )
2021-12-10 09:59:27 -08:00
Erik Montnemery
281b5e1c22
Speed up demo lock tests ( #61425 )
2021-12-10 11:13:44 +01:00
J. Nick Koston
8d483e2206
Fix flux_led discovery with older models ( #61413 )
2021-12-10 08:29:27 +01:00
Erik Montnemery
27d1063dec
Revert "Skip duplicated data when calculating fossil energy consumption ( #60599 )" ( #61323 )
...
This reverts commit 159506262a
.
2021-12-10 08:19:53 +01:00
Matthias Alphart
4f9d4872a7
Fix unique_id of S0 meters connected to Fronius inverters ( #61408 )
2021-12-09 15:35:20 -08:00
Aaron Bach
b556bd1d58
Consolidate SimpliSafe config flow forms into one ( #61402 )
2021-12-09 14:11:41 -08:00
Franck Nijhof
1ed490ce62
Fix date/datetime support for templates ( #61088 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-09 11:43:48 +01:00
Daniel Hjelseth Høyer
4c542336d5
Add sensors to Mill local heaters ( #61247 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-09 09:04:19 +01:00
Stefan Agner
a13ae85982
Introduce only_supervisor for @websocket_api.ws_require_user() ( #61298 )
2021-12-08 16:49:35 -08:00
epenet
c05eca1c82
Remove log flooding prevention logic from discovery info ( #61243 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:28:26 -10:00
alim4r
7d256f56c5
Refactor Prometheus tests ( #60451 )
...
* Removed prometheus from .coveragerc
* Update prometheus tests with handler categories
* Updated prometheus metrics to use the current registry
- don't use the registry created on import (needed for tests)
* Reset the prometheus CollectorRegistry before every test
* Update prometheus metrics generation
- Use latest registry when generating a response
* Add default collectors when resetting the registry
* Move entities to the specific prometheus test case
* Refactor body generation for prometheus tests
* Add test case for sensors without unit after rebase
* Fix prometheus tests
- Wait for events in prometheus tests
- Add workaround for demo platform dependecy conversation (aiohttp frozen router)
* Added prometheus tests for attribute metrics
* Added prometheus tests for binary_sensor
* Add prometheus test for input_boolean
* Add prometheus test for lights
* Add prometheus test for lock
* Add prometheus test for sensor fahrenheit conversion
* Fix prometheus test for input_number
2021-12-08 20:18:21 +01:00
Erik Montnemery
159506262a
Skip duplicated data when calculating fossil energy consumption ( #60599 )
2021-12-08 10:59:26 -08:00
jjlawren
9f3a4c3617
Improve Sonos tests, begin adding coverage ( #61198 )
...
* Update entity registry handling
* Add and use fixtures to test setup via config entry
* Remove legacy redundant tests
* Remove unnecessary mock_coro
* Remove unnecessary namespace change
* Move zeroconf payload to fixture
* Begin adding Sonos to codecov
* Mock proper return value
* Revert return value for platform
2021-12-08 19:28:27 +01:00
Erik Montnemery
f30eb05870
Refactor recorder queue handling ( #61161 )
...
* Refactor recorder queue handling
* Address pylint's concerns
* Implement workaround for mypy bug
* Address review comments
2021-12-08 16:54:26 +01:00
Thomas Dietrich
bbe6d3c9ae
Statistics refactor testcases in async pytest style ( #60935 )
...
* Implement optional manually defined uniqueid
* Fix test case via mocked environment
* Refactor testcases
* Fix missing awaits
* Revert order changes, reduce use of block command
* Tidy up mocked time testcases
2021-12-08 16:53:18 +01:00
Erik Montnemery
5169ee69c7
Attempt to fix flaky prometheus test ( #61242 )
2021-12-08 16:08:02 +01:00
epenet
9f15e7dcf4
Fix flaky tests around frame helper ( #61179 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:50:56 +01:00
Paulus Schoutsen
b7539fc0de
Fix islamic prayer times timestamp sensor ( #61207 )
2021-12-07 23:39:27 -08:00
Daniel Hjelseth Høyer
8cee47072d
Add local access for Adax ( #60019 )
2021-12-07 16:48:16 -10:00
J. Nick Koston
6b70bd7495
Fix uncaught exception in bond config flow ( #61184 )
2021-12-07 17:20:38 -08:00
Alberto Geniola
b0affe7bfb
Elmax integration ( #59321 )
...
* Add elmax integration.
* Run hassfest and generate requirements_all
* Remove secondary platforms from elmax integration as per first component integration.
* Move ElmaxCoordinator and ElmaxEntity into external file
Linting review
* Remove useless variables
* Fix wrong indentation.
* Remove unecessary platforms.
* Remove unnecessary attributes from manifest.
* Rely on property getters/setters rathern than private attribute from parent.
Update internal entity state just after transitory state update.
* Update homeassistant/components/elmax/const.py
Reference Platform constant
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
* Update username/password values
Rely on already-present templating constants
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
* Add missing constant import.
* Remove unnecessary test_unhandled_error() callback implementation.
* Add common.py to coverage ignore list.
* Improve coverage of config_flow.
* Rename the integration.
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Fix reauth bug and improve testing.
* Refactor lambdas into generators.
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-07 22:42:55 +01:00
Marcel van der Veldt
7c7df5bb51
Change check for existence of options flow ( #61147 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-07 12:50:34 -08:00
einarhauks
dced4d4542
Display energy in wh instead of kWh ( #61169 )
2021-12-07 11:33:24 -08:00
Allen Porter
200a5c7e05
Fix flaky tests with unsynchronized stream `available` assertions ( #61167 )
...
Remove assertions that are not guaratuneed to be safe depending
on the state of the background worker. This leaves in the state
check for the keepalive case which does have some synchronization
already.
2021-12-07 07:40:36 -08:00
Tim Rightnour
489d85d862
Add Onewire diagnostic and config switches and binary_sensors ( #59309 )
...
* Onewire: Add diagnostic and config switches and binary_sensors
This commit adds diagnostic and config switches and binary_sensors to
the HobbyBoards devices. With these, the user will be able to configure
those devices, without having to run owwrite/owread commands outside
of HA.
* Address review from @epenet
* Add HB_HUB to DEVICE_SUPPORT_OWSERVER
* Device class and entity category enums
* Fixup merge breakage
* Remove duplicate lines
2021-12-07 13:59:43 +01:00
Tobias Sauerwein
45c463b61c
Fix Netatmo climate issue ( #61154 )
...
Signed-off-by: cgtobi <cgtobi@gmail.com>
2021-12-07 13:56:31 +01:00
Stefan Agner
f0006b92be
Allow to lock SQLite database during backup ( #60874 )
...
* Allow to set CONF_DB_URL
This is useful for test which need a custom DB path.
* Introduce write_lock_db helper to lock SQLite database
* Introduce Websocket API which allows to lock database during backup
* Fix isort
* Avoid mutable default arguments
* Address pylint issues
* Avoid holding executor thread
* Set unlock event in case timeout occures
This makes sure the database is left unlocked even in case of a race
condition.
* Add more unit tests
* Address new pylint errors
* Lower timeout to speedup tests
* Introduce queue overflow test
* Unlock database if necessary
This makes sure that the test runs through in case locking actually
succeeds (and the test fails).
* Make DB_LOCK_TIMEOUT a global
There is no good reason for this to be an argument. The recorder needs
to pick a sensible value.
* Add Websocket Timeout test
* Test lock_database() return
* Update homeassistant/components/recorder/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix format
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-07 13:16:24 +01:00
Erik Montnemery
af2e95d891
Guard against missing states in Alexa state updates ( #61152 )
2021-12-07 12:44:50 +01:00
Erik Montnemery
5161126b58
Bump hatasmota to 0.3.1 ( #61120 )
2021-12-07 08:07:31 +01:00
epenet
b8b4855b8e
Prevent log flooding in frame helper ( #61085 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 15:26:31 -08:00
Marcel van der Veldt
9e6e9774d1
Remove colon from default entity name in Hue integration ( #61118 )
2021-12-06 15:17:17 -08:00
epenet
97d292133f
Revert "Add Open-Meteo integration ( #60379 )" ( #61130 )
...
This reverts commit d802f3a82f
.
2021-12-06 23:35:14 +01:00
epenet
d64bf3cc6c
Use dataclass properties in Zeroconf tests ( #61109 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 09:16:39 -10:00
Franck Nijhof
d802f3a82f
Add Open-Meteo integration ( #60379 )
...
Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com>
2021-12-06 10:01:12 -08:00
Erik Montnemery
e33384d8b9
Fix CO2 calculation when data is missing ( #61106 )
2021-12-06 09:55:28 -08:00
Marcel van der Veldt
bd8bba9e3f
Fix migration of entities of Hue integration ( #61095 )
...
* fix device name in log
* Fix Hue migration for all id versions
* fix tests
* typo
* change to bit more universal approach
* fix test again
* formatting
2021-12-06 08:24:59 -08:00
Pierre Ståhl
3a56cfed3a
Update Apple TV integration to support tvOS 15 ( #58665 )
2021-12-06 13:04:18 +01:00
Allen Porter
bbe4a67a98
Coalesce nest media source preview clips by session and bump google-nest-sdm ( #61081 )
2021-12-05 23:59:24 -08:00
schreyack
1bcff0907b
Fix previous setting briefly appearing on newer flux_led devices when turning on ( #60004 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-05 23:56:59 -08:00
J. Nick Koston
2f0695e408
Fix missing unique id in enphase_envoy ( #61083 )
2021-12-05 23:53:53 -08:00
J. Nick Koston
52d6b83da8
Abort flux_led discovery if another device gets the ip ( #61074 )
...
- If the dhcp reservation expired for the device that
was at the ip and a new flux_led device appears we
would discover it because the unique_id did not match
2021-12-05 22:41:09 -06:00
Milan Meulemans
a7e129a952
Add Aseko Pool Live integration ( #56299 )
2021-12-05 17:02:46 -10:00
epenet
fb5cc13061
Adjust yeelight ssdp_listener tests ( #61065 )
2021-12-05 17:51:45 -08:00
Matthias Alphart
ac263acb1c
Don't use ConfigEntry update listener for Fronius ( #61017 )
...
* disable `async_setup_entry` in config_flow tests
* don't use config_entry update listener
* add `Final` to constants
* assert that an updated entry causes a reload (unload)
2021-12-05 23:29:39 +01:00
Allen Porter
5bd1139867
Fix regression in nest event media player with multiple devices ( #61064 )
2021-12-05 13:02:37 -08:00
Franck Nijhof
a4ffa63165
Handle unknown/unavailable state for mobile_app ( #60974 )
2021-12-05 09:51:57 -08:00
Marcel van der Veldt
b98bc64604
Disable options flow for Hue V2 bridges ( #61045 )
2021-12-05 09:47:44 -08:00
Allen Porter
5fdcbbe0e1
Fetch media for events for rendering in the nest media player ( #61056 )
2021-12-05 09:45:40 -08:00
Tim Rightnour
dd4ede09c8
Add Venstar runtimes and battery sensors ( #60414 )
...
* Venstar: Add runtimes and battery sensors
* Address review - replace classes with lambda functions
* Clean up patch usage, make temperature_unit it's own function
* Remove double define of entities
2021-12-05 17:23:22 +01:00
Tim Rightnour
bf1cacf4b2
Address late review of Balboa ( #61004 )
...
* Initial fixes from review of balboa climate
* Minor fixes from review
2021-12-05 17:22:13 +01:00
Franck Nijhof
5efb88f3f1
Remove deprecated YAML configuration from DSMR ( #61008 )
2021-12-05 17:09:37 +01:00
J. Nick Koston
f5d7adc018
Fix lutron caseta discovery with newer firmwares ( #61029 )
2021-12-05 17:09:18 +01:00
Maximilian
9f7b8d3009
Add nina integration ( #56647 )
...
* Added nina integration
* Improvements implemented
* Fixed lint errors
* Added tests
* Improvements implemented
* Use client session from HA
* Added custom coordinator
* Fixed tests
* Fix pylint errors
* Library updated to 0.1.4
* Optimization of static attributes
* Removed unused code
* Switched to BinarySensorDeviceClass
* Switched to Platform Enum
* Improve repetition
* Improve repetition
* Fix corona filter
* Removed intermediate variable
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
* Fix black formatting
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-12-05 15:11:02 +01:00
Franck Nijhof
cf371ea8dd
Remove deprecated base entity classes ( #61006 )
...
* Remove deprecated base entity classes
* Clean up tests
2021-12-05 13:53:52 +01:00
Marc Mueller
21c09d1a3e
Fix panasonic_viera tests ( #60999 )
...
Don't modify global test state
2021-12-05 12:19:14 +01:00
rikroe
380c1a4be9
Fix BMW Connected Drive ( #60938 )
...
* Bump bimmer_connected to 0.8.5
* Always update HA states after service execution
* Fix BMW device tracker & vehicle_finder service
* Add charging_end_time sensor
* Fix pylint & pytest
* Remove unneeded DEFAULT_OPTION
* Revert adding charging_end_time & state_attributes
* Don't delete option data for CONF_USE_LOCATION
* Remove stale string
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-05 11:20:40 +01:00
Allen Porter
08003c5287
Improve nest media source event timestamp display ( #61027 )
...
Drop subsecond text from the nest media source event timestamp display, using a common date/time
template string.
2021-12-05 00:39:18 -08:00
Marvin Wichmann
affa3a6ada
Add missing local_ip to KNX config flow and options flow ( #61018 )
...
* Add missing local_ip to KNX config flow and options flow
* Update strings
2021-12-04 23:07:28 +01:00
David F. Mulcahey
5fd4c37427
Fix missing test assertion in ZHA siren test ( #61009 )
2021-12-04 13:50:55 -05:00
Martin Hjelmare
c9bb688a79
Revert metoffice weather daytime ( #60978 )
2021-12-04 10:29:48 +01:00
Thomas Dietrich
6d6e0dd8bf
Add unique_id to the statistics component ( #59205 )
...
* Implement optional manually defined uniqueid
* Fix test case via mocked environment
2021-12-04 09:50:47 +01:00
Paulus Schoutsen
a59ec9ca5e
Handle invalid device registry entry type ( #60966 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-04 09:20:12 +01:00
J. Nick Koston
10e669e69e
Fix yeelight name changing to ip address if discovery fails ( #60967 )
2021-12-04 08:41:58 +01:00
J. Nick Koston
7fbe1dbc99
Remove legacy fan compatibility shim ( #59781 )
2021-12-03 21:57:46 -08:00
Chen-IL
ac26c2378b
Add temperature sensors for Asuswrt ( #58303 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-03 11:27:17 -08:00
Clifford Roche
d6c27809dc
Gree update device ips when changed ( #57876 )
2021-12-03 11:18:53 -08:00
Jan Bouwhuis
88b93546f3
Re-add-tests with new filters removed with #60854 ( #60895 )
2021-12-03 11:04:05 -08:00
Allen Porter
ba99dc3af9
Add Nest Battery Cam event clip support with a Nest MediaSource ( #60073 )
2021-12-03 10:53:05 -08:00
epenet
b65b25c1bb
Move MqttServiceInfo to init.py ( #60905 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-03 19:34:48 +01:00
David F. Mulcahey
02b5449648
Add support for siren entities in ZHA ( #60920 )
2021-12-03 19:23:57 +01:00
jjlawren
cbf2bf2e1f
Add audio input format sensor to Sonos HT devices ( #60884 )
2021-12-03 10:06:56 -08:00
Marius
b61dede826
Add command_line icon_template ( #58877 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-03 10:06:32 -08:00
Tobias Sauerwein
cf7a614309
Add battery sensor for Netatmo climate devices ( #60911 )
2021-12-03 09:33:24 -08:00
Marvin Wichmann
3baa7b679d
Use new Platform enum in KNX ( #60902 )
2021-12-03 09:29:38 -08:00
Matthias Alphart
77cd751543
DHCP discovery for Fronius integration ( #60806 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-03 18:29:15 +01:00
epenet
75ec937359
Use new Platform enum in Renault ( #60903 )
...
* Use Platform enum in Renault
* Use Platform enum in Renault tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 09:28:04 -08:00
epenet
231d434b76
Use new Platform enum in Onewire ( #60904 )
...
* Use new Platform enum in Onewire
* Use Platform in tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 09:25:22 -08:00
epenet
adf2fa5664
Use EntityCategory enum in Onewire ( #60907 )
...
* Use EntityCategory enum in Onewire
* Add checks for the entity_category
* Fix typo
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 09:20:00 -08:00
Erik Montnemery
17dc609363
Correct validation of conditions in scripts and automations ( #60890 )
...
* Correct validation of conditions in scripts and automations
* Fix test
2021-12-03 09:08:28 -08:00
Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] ( #60908 )
...
* Use platform enum (1) [A-D]
* Fix imports
* Fix tests
* Use Platform even in tests
2021-12-03 08:51:30 -08:00
Bram Kragten
ef458b237c
Return if user is local only ( #60917 )
2021-12-03 16:34:26 +01:00
jjlawren
b883014ed4
Add Sonos subwoofer and surround on/off controls ( #60918 )
2021-12-03 16:05:40 +01:00
epenet
e64f901e92
Use dataclass properties in zwave_js ( #60913 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:47:56 +01:00
epenet
358922db56
Use dataclass for HassioServiceInfo ( #60824 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:05:56 +01:00
Joakim Sørensen
d784c8dd1a
Remove Supervisor panel title and icon ( #60894 )
2021-12-03 10:35:57 +01:00
Marvin Wichmann
707fe67c00
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const ( #60880 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-03 09:31:17 +01:00
Jan Bouwhuis
3188a364e2
Add template filters pack and unpack ( #60836 )
...
* add pack and unpack template filters
* Add unpack test with offset
* use unpack_from
* Simplify unpack_from statement
2021-12-03 08:58:15 +01:00
epenet
c04bfcc7f4
Use dataclass properties in devolo_home_network tests ( #60889 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:51:42 +01:00
epenet
b70d24394e
Use dataclass properties in homekit_controller tests ( #60891 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:51:13 +01:00
epenet
2da9a51919
Use dataclass properties in keenetic_ndms2 tests ( #60892 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:50:52 +01:00
Erik Montnemery
9f4a99fe81
Revert "Add bytes support for bitwise template operations" ( #60854 )
2021-12-03 08:50:29 +01:00
epenet
a64ff2ae27
Use dataclass properties in system_bridge tests ( #60888 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:49:35 +01:00
Erik Montnemery
0e3bc21d54
Teach state and numeric_state conditions about entity registry ids ( #60841 )
2021-12-02 14:55:12 -08:00
Erik Montnemery
a07f75c6b0
Revert "Allow template int filter to render from a bytes based integer" ( #60855 )
2021-12-02 14:37:19 -08:00
Franck Nijhof
3c66706a49
Clean up deprecated sanitize_filename and sanitize_path ( #60859 )
2021-12-02 15:35:11 -05:00
epenet
9e96f3e227
Use HassioServiceInfo in deconz tests ( #60868 )
2021-12-02 10:33:23 -10:00
J. Nick Koston
d7c4a669f1
Revert "Use HassioServiceInfo in mqtt tests" ( #60867 )
2021-12-02 10:13:41 -10:00
epenet
37200decf9
Use HassioServiceInfo in mqtt tests ( #60865 )
2021-12-02 10:10:50 -10:00
epenet
272b147550
Use HassioServiceInfo in adguard tests ( #60866 )
2021-12-02 10:10:15 -10:00
epenet
ade228ebc6
Use HassioServiceInfo in motioneye tests ( #60861 )
2021-12-02 10:09:26 -10:00
epenet
2be939b45b
Use HassioServiceInfo in zwave_js tests ( #60863 )
2021-12-02 20:57:45 +01:00
epenet
dff624f371
Use HassioServiceInfo in ozw tests ( #60864 )
2021-12-02 20:56:54 +01:00
epenet
0723b1c539
Introduce HassioServiceInfo ( #60844 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-02 11:17:54 -08:00
Erik Montnemery
5b8d081441
Teach zone trigger about entity registry ids ( #60838 )
2021-12-02 10:28:21 -08:00
Erik Montnemery
411b0f0b15
Generate external statistics in demo component ( #58470 )
2021-12-02 09:55:46 -08:00
J. Nick Koston
8e0ef52cc8
Ensure sonos ssdp callbacks use dataclass methods ( #60782 )
2021-12-02 09:53:08 -08:00
epenet
0c18d710cc
Use dataclass properties in yamaha_musiccast ( #60787 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-02 09:50:35 -08:00
Erik Montnemery
36734972f0
Teach numeric state trigger about entity registry ids ( #60835 )
2021-12-02 09:45:40 -08:00
Ville Skyttä
4107063a5a
Make entity registry disabled_by an enum ( #60424 )
2021-12-02 18:02:29 +01:00
Matt
7019c524fa
Add configuration_url to Forecast.Solar integration ( #60384 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-02 16:36:41 +01:00
Martin Hjelmare
c8781bbe3b
Simplify zwave_js USB discovery add-on form ( #60845 )
2021-12-02 16:30:01 +01:00
Erik Montnemery
c85bb27d0d
Teach state trigger about entity registry ids ( #60271 )
...
* Teach state trigger about entity registry ids
* Tweak
* Add tests
* Tweak tests
* Fix tests
* Resolve entity ids during config validation
* Update device_triggers
* Fix mistake
* Tweak trigger validator to ensure we don't modify the original config
* Add index from entry id to entry
* Update scaffold
* Pre-compile UUID regex
* Address review comment
* Tweak mock_registry
* Tweak
* Apply suggestion from code review
2021-12-02 14:26:45 +01:00
Matthias Alphart
f2f6602890
Add support for Ohmpilots to Fronius integration ( #60765 )
...
* add support for Fronius Ohmpilot
* disable the debugger
2021-12-02 11:05:22 +01:00
J. Nick Koston
da2fb17d94
Update flux_led for upstream strict typing ( #60800 )
...
- Bump library to 0.25.10
- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.2...0.25.10
- This is a squashed version of #60554 since that one keeps failing to restore the python env on 3.9
2021-12-02 10:55:06 +01:00
Tobias Sauerwein
653fb5b637
Update Netatmo climate platform ( #59974 )
2021-12-02 10:31:54 +01:00
Jan Bouwhuis
3307e54363
Add MQTT availability template and encoding ( #60470 )
...
* Add MQTT availability template and encoding
* use generic encoding field
* pylint and cleanup
* remove additional topic check
2021-12-02 10:21:31 +01:00
Franck Nijhof
42bae5439b
Add support for Christmas Tree pickup to TwenteMilieu ( #60822 )
2021-12-02 10:21:19 +01:00
Thomas Dietrich
bee3c9102c
Add binary characteristics, add deprecation warning for optional state_characteristic parameter ( #60402 )
...
* Add binary source sensor statistics
* Make state_characteristic a required parameter
* Move binary unitless testcase
* Add testcases for binary characteristics
* Revert charact. to optional with deprecation warning
* Correctly check for binary supported characteristic
2021-12-02 09:03:24 +01:00
Franck Nijhof
58fdcfb6b8
Use device/state class enums in DSMR ( #60791 )
2021-12-01 22:15:17 -05:00
Franck Nijhof
8279873018
Extend entities provided by Tailscale ( #60785 )
2021-12-01 21:47:10 -05:00
avee87
d0da0eef36
Add day/night markers to MetOffice daily forecast ( #58679 )
2021-12-01 21:42:59 -05:00
avee87
d066864158
Use precipitation probability in MetOffice forecasts ( #58677 )
2021-12-01 21:41:28 -05:00
Milan Meulemans
43d8c8fc2d
Use entity category enum in Rituals ( #60809 )
2021-12-01 21:11:05 -05:00
G Johansson
d211dc6e6e
Fix trafikverket_weatherstation ( #60772 )
...
* First commit
* Modify test according to fixes
* Review changes
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-02 00:14:42 +01:00
Joakim Plate
c54ca7941f
Make sure entity inherit disabled device ( #60469 )
2021-12-01 13:59:57 -08:00
Kevin Stillhammer
d1962f6e51
Cleanup here_travel_time tests ( #60529 )
2021-12-01 21:52:44 +01:00
Joakim Sørensen
737dd6fc26
Add tests to hassio binary_sensor platform ( #60609 )
2021-12-01 21:41:31 +01:00
J. Nick Koston
4b8a8dda8d
Fix yeelight discovery ( #60783 )
...
Regressed in #60640
2021-12-01 15:13:59 -05:00
epenet
1fa0351447
Use dataclass properties in tolo discovery ( #60784 )
2021-12-01 20:43:33 +01:00
epenet
7a098cff1c
Use dataclass properties in upnp discovery ( #60744 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 09:23:38 -10:00
epenet
e95914cf60
Use dataclass properties in dlna_dmr discovery ( #60693 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 08:59:12 -10:00
epenet
a3cccb50c7
Use dataclass properties in tesla_wall_connector discovery ( #60741 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:39:43 +01:00
epenet
3d5f4e54ea
Use dataclass properties in vicare discovery ( #60746 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:39:03 +01:00
epenet
4411d51d6f
Use dataclass properties in deconz discovery ( #60690 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:38:20 +01:00
einarhauks
5c4422dc72
Remove power sensor from Tesla Wall Connector ( #60775 )
...
Add voltage and current sensors for each phase
2021-12-01 19:21:56 +01:00
Robert Svensson
8ddfa424c0
Add typing to deCONZ init and config flow ( #59999 )
2021-12-01 18:59:52 +01:00
Aaron Bach
a053c0a106
Bump py17track to 2021.12.1 ( #60762 )
2021-12-01 18:52:33 +01:00
epenet
5c992ec2cc
Remove cleanup_registry from onewire ( #60546 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:38:07 +01:00
einarhauks
a6ec646f98
Tesla wall connector config flow refactor continued ( #60774 )
2021-12-01 18:18:42 +01:00
epenet
3eba575fde
Use state class enum for Onewire ( #60770 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:42:08 +01:00
epenet
cd9962dfa0
Use device and state class enum for Renault ( #60768 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:40:56 +01:00
Milan Meulemans
b154f43657
Use device class enum in Rituals ( #60767 )
2021-12-01 17:34:30 +01:00
epenet
7363033ada
Use device class enum in Onewire ( #60766 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:33:26 +01:00
Franck Nijhof
c985bee1dd
Add sensor platform to Tailscale ( #60751 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 17:05:44 +01:00
epenet
6caaa5f6bd
Add compatibility tests for MqttServiceInfo ( #60754 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:04:49 +01:00
epenet
2fe0382841
Add compatibility tests for UsbServiceInfo ( #60753 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:43:31 -10:00
epenet
7f355681a7
Add compatibility tests for DhcpServiceInfo ( #60752 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:43:09 -10:00
einarhauks
e7f00c2c4f
Refactor Tesla wall connector config flow ( #60755 )
2021-12-01 16:07:24 +01:00
Marcel van der Veldt
5d0cf4cb95
Fix tests for Hue integration ( #60683 )
...
* fix tests
make sure the migration code is not called in all other tests
* only patch v2 check where needed
2021-12-01 14:53:30 +01:00
Franck Nijhof
6a8c732b37
Add Tailscale integration ( #59764 )
...
* Add Tailscale integration
* Use DeviceEntryType
* Fix tests
* Adjust to new Pylint version
* Use enums for device classes
* Update homeassistant/components/tailscale/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Pass empty string as default
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 14:40:38 +01:00
Franck Nijhof
c28b45cd83
Migrate entity categories to StrEnum ( #60720 )
2021-12-01 13:54:36 +01:00
Paulus Schoutsen
72d8882c79
Handle errors response to be None ( #60679 )
...
Co-authored-by: Philip Allgaier <mail@spacegaier.de>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-01 13:51:10 +01:00
epenet
cbab0ba9c0
Drop base ATTR constants in zeroconf ( #60561 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:29:41 +01:00
Raman Gupta
eeafa36abc
Add SmartStart provisioning support to zwave_js WS API ( #59037 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 11:43:51 +01:00
Joakim Sørensen
bbd179200c
Use device class enum in UptimeRobot ( #60688 )
2021-12-01 10:36:15 +01:00
Franck Nijhof
79ebc1b79a
Use device class enums in TwenteMilieu ( #60686 )
2021-12-01 10:25:26 +01:00
Franck Nijhof
74f7f28f1c
Use device class enums in WLED ( #60684 )
2021-12-01 10:16:44 +01:00
epenet
73a4dba2ae
Use dataclass properties in yeelight discovery ( #60640 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 22:28:19 -10:00
Kevin Worrel
8240b8c72e
Update screenlogic use asyncio API ( #60466 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-30 22:19:01 -10:00
Teemu R
908b7ca9c2
Bump xiaomi_miio dependency ( #60650 )
2021-12-01 08:08:59 +01:00
Franck Nijhof
9715601255
Add button device classes to NAM ( #60621 )
2021-12-01 07:08:17 +01:00
G Johansson
51ebfade52
Fix ADR 0003 issues in trafikverket_weatherstation ( #60664 )
...
* Fix ADR 0003 issues
* Remove commented code
2021-11-30 22:54:10 +01:00
epenet
8954609f6b
Use dataclass properties in axis discovery ( #60558 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:15:34 -10:00
G Johansson
11b81ef88b
Config flow for trafikverket_weatherstation ( #60078 )
...
* First commit
* Added tests
* Add requirements for test
* Correction requirements tests
* Add init to untested files
* Fix review comments
* Resolve last items from review
* Add sync_abort_entries_match in import flow
2021-11-30 19:53:41 +01:00
Marcel van der Veldt
19b4cc7119
Hue handle device update ( #60612 )
2021-11-30 10:14:51 -08:00
epenet
be89c07cac
Use dataclass properties in nanoleaf discovery ( #60580 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 06:05:50 -10:00
Tim Rightnour
8a9f197918
Binary sensor platform for the Balboa Spa ( #60409 )
2021-11-30 06:04:24 -10:00
epenet
d75785d701
Use dataclass properties in hue discovery ( #60598 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:36:35 +01:00
Allen Porter
a84b12abe7
Revert "Add an entity service for saving nest event related snapshots" ( #60632 )
2021-11-30 16:16:00 +01:00
Jc2k
b8a1899d48
Remove homekit_controller's air quality entity in favor of separate sensor entities ( #60480 )
2021-11-30 16:14:49 +01:00
Franck Nijhof
16462df451
Add button device classes to MQTT ( #60628 )
2021-11-30 16:08:02 +01:00
epenet
0d24862a28
Use dataclass properties in homekit_controller discovery ( #60626 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:06:18 +01:00
Jan Bouwhuis
cd351cf22b
Fix test naming switch ( #60630 )
2021-11-30 15:45:06 +01:00
Jan Bouwhuis
f07e676c82
Allow template int filter to render from a bytes based integer ( #60452 )
...
* Allow template int to render bytes
* re-triggering tests
* Add warning when base !=10 and rendering bytes
* re-trigger tests
* Re-trigger tests
* remove period
* Update homeassistant/helpers/template.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix logger syntax
* remove parentheses
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-30 15:01:43 +01:00
Jan Bouwhuis
2a2a20fcb3
Add mqtt sensor configurable state encoding for sensor and binary_sensor platform ( #60447 )
...
* Add mqtt sensor state encoding
* Make encoding attribute not specific to states
* Move encoding attribute to schema base
2021-11-30 14:04:24 +01:00
Franck Nijhof
7469f083fd
Migrate number mode to StrEnum ( #60614 )
2021-11-30 12:54:06 +01:00
Franck Nijhof
1b8eba0afd
Add button device classes to WLED ( #60613 )
2021-11-30 12:12:08 +01:00
epenet
d537ec1d6f
Use dataclass properties in bosch_shc discovery ( #60559 )
2021-11-30 10:57:37 +01:00
Allen Porter
c4e5242b0c
Add an entity service for saving nest event related snapshots ( #58369 )
...
* Add an entity service for saving nest event related snapshots
Add an entity service `nest.snapshot_event` for recording camera event
related media to disk. This is based on `camera.snapshot` but takes in
a parameter for a Nest API event_id.
PR #58299 adds `nest_event_id` to events published by nest so that they can
be hooked up to this service for capturing events.
Future related work includes:
- Height & Width parameters for the rendered image
- Support video clips for new battery cameras
- An API for proxying media related to events, separate from the camera image thumbnail
- A Nest MediaSource for browsing media related to events
* Revert debugging information
* Add test coverage for OSError failure case
* Add service description for nest snapshot service
* Reduce unnecessary diffs.
* Sort nest camera imports
* Remove unnecessary if block in snapshot
2021-11-29 23:04:29 -08:00
Allen Porter
cc543b200d
Update `nest` config flow to dramatically simplify end user setup with automated pub/sub subscription creation ( #59260 )
...
* Configure nest pubsub subscriber automatically
Update the config flow to configure the nest pubsub subscriber automatically.
After completing the authentication step, the user is now asked for the google
cloud console ID, which is needed to create a subscription.
Home Assistant manages the lifecycle of a subscription only when it is created
by the ConfigFlow. Otherwise (if specified in configuration.yaml) it treats
it similarly as before.
These are the considerations or failure modes taken into account:
- Subscription is created with reasonable default values as previously recommended (e.g. retion only keeps 5-15 minutes of backlog messages)
- Subscriptions are created with a naming scheme that makes it clear they came from home assistant, and with a random
string
- Subscriptions are cleaned up when the ConfigEntry is removed. If removal fails, a subscription that is orphaned will
be deleted after 30 days
- If the subscription gets into a bad state or deleted, the user can go through the re-auth flow to re-create it.
- Users can still specifcy a CONF_SUBSCRIBER_ID in the configuration.yaml, and
skip automatic subscriber creation
* Remove unnecessary nest config flow diffs and merge in upstream changes
* Incorporate review feedback into nest subscription config flow
* Update text wording in nest config flow
2021-11-29 22:41:29 -08:00
Allen Porter
8ca89b10eb
Split StreamState class out of SegmentBuffer ( #60423 )
...
This refactoring was pulled out of https://github.com/home-assistant/core/pull/53676 as an
initial step towards reverting the addition of the SegmentBuffer class, which will be
unrolled back into a for loop.
The StreamState class holds the persistent state in stream that is used across stream worker
instantiations, e.g. state across a retry or url expiration, which primarily handles
discontinuities. By itself, this PR is not a large win until follow up PRs further simplify
the SegmentBuffer class.
2021-11-29 22:25:28 -08:00
Allen Porter
df90fdf641
Add an available property on Stream ( #60429 )
2021-11-29 21:23:58 -08:00
David F. Mulcahey
2f24fc0fd4
Fix Flo returning stale data ( #60491 )
...
* Fix Flo returning stale data
* update tests
* update coverage
2021-11-29 20:00:39 -05:00
Joakim Sørensen
8a5df5f7eb
Fix ingress for non admin ( #60120 )
2021-11-29 23:03:16 +01:00
Paulus Schoutsen
914f7f85ec
Add local only users ( #57598 )
2021-11-29 14:01:03 -08:00
Maciej Bieniek
847b10fa65
Add `button` platform to NAM integration ( #60410 )
2021-11-29 22:58:04 +01:00
Michael
8626de24fc
Use correct value for current temperature for AVM Fritz!Smarthome thermostat devices ( #60510 )
2021-11-29 19:58:22 +01:00
Michael
83acfda757
Add reboot button to Shelly devices ( #60417 )
2021-11-29 19:49:49 +01:00
Erik Montnemery
814a742518
Don't wait for Google Assistant service calls when reporting state ( #59832 )
...
* Don't wait for Google Assistant service calls when reporting state
* Update tests
* Add test
2021-11-29 18:34:38 +01:00
epenet
54df81cbab
Use ZeroconfServiceInfo in vizio ( #60115 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 18:27:15 +01:00