Files
core/tests/components
Raman Gupta ac771addc1 Add Config Flow support, Device Registry support, available property to vizio component (#30653)
* add config flow support, device registry support, available property

* raise PlatformNotReady if HA cant connect to device

* remove test logging statement and fix integration title

* store import and last user input values so user can see errors next to value that caused error

* add PARALLEL_UPDATES

* add missing type hints

* add missing type hints to tests

* fix options config flow title

* changes based on review

* better key name for message when cant connect

* fix missed update to key name

* fix comments

* remove logger from test which was used to debug and update test function names and docstrings to be more accurate

* add __init__.py to vizio tests module

* readded options flow and updated main component to handle options updates, set unique ID to serial, fixes based on review

* pop hass.data in media_player unload instead of in __init__ since it is set in media_player

* update requirements_all and requirements_test_all

* make unique_id key name a constant

* remove additional line breaks after docstrings

* unload entries during test_user_flow and test_import_flow tests to hopefully reduce teardown time

* try to speed up tests

* remove unnecessary code, use event bus to track options updates, move patches to pytest fixtures and fix patch scoping

* fix comment

* remove translations from commit

* suppress API error logging when checking for device availability as it can spam logs

* update requirements_all and requirements_test_all

* dont pass hass to entity since it is passed to entity anyway, remove entity unload from tests, other misc changes from review

* fix clearing listeners

* use config_entry unique ID for unique ID and use config_entry entry ID as update signal

* update config flow based on suggested changes

* update volume step on config import if it doesn't match config_entry volume step

* update config_entry data and options with new volume step value

* copy entry.data and entry.options before updating when updating config_entry

* fix test_import_entity_already_configured
2020-01-15 11:43:55 +01:00
..
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2019-12-04 22:47:40 -08:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2019-04-14 16:59:06 -07:00
2019-12-31 13:05:31 +01:00
2019-10-21 10:17:21 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2020-01-03 14:47:06 +01:00
2020-01-14 13:03:02 -08:00
2020-01-14 13:03:02 -08:00
2020-01-14 13:03:02 -08:00
2020-01-14 13:03:02 -08:00
2019-07-31 12:25:30 -07:00
2019-12-31 14:34:53 +01:00
2020-01-14 13:03:02 -08:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2019-12-04 22:47:40 -08:00
2019-12-04 22:47:40 -08:00
2020-01-14 12:54:45 -08:00
2020-01-14 13:03:02 -08:00
2020-01-14 13:03:02 -08:00
2020-01-10 19:57:37 +01:00
2020-01-03 21:34:20 +01:00
2019-08-30 16:41:07 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-01-09 06:03:26 +01:00
2019-08-10 00:14:03 +02:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2019-07-31 12:25:30 -07:00
2019-12-10 23:25:06 +01:00
2020-01-03 14:47:06 +01:00
2019-07-31 12:25:30 -07:00
2020-01-03 14:47:06 +01:00
2019-07-31 12:25:30 -07:00
2020-01-03 14:47:06 +01:00
2020-01-03 14:47:06 +01:00
2020-01-03 14:47:06 +01:00
2020-01-11 22:42:14 -05:00
2020-01-03 14:47:06 +01:00
2016-03-09 10:25:50 +01:00