core/tests
escoand ef05aa2f39 Add Samsung TV config flow (#28306)
* add config flow

* add tests

* add user step error handling

* remove unload function

* add missing test file

* handle authentication correctly

* remove old discovery mode

* better handling of remote class

* optimized abort messages

* add already configured test for user flow

* Import order

* use ip property instead context

* Black

* small syntax

* use snake_case

* Revert "use ip property instead context"

This reverts commit 91502407eb216f8a0b1b90e3e6fb165b81406f8f.

* disable wrong pylint errors

* disable wrong no-member

* Try to fix review comments

* Try to fix review comments

* Fix missing self

* Fix ip checks

* methods to functions

* simplify user check

* remove user errors

* use async_setup for config

* fix after rebase

* import config to user config flow

* patch all samsungctl

* fix after rebase

* fix notes

* remove unused variable

* ignore old setup function

* fix after merge

* pass configuration to import step

* isort

* fix recursion

* remove timeout config

* add turn on action (dry without testing)

* use upstream checks

* cleanup

* minor

* correctly await async method

* ignore unused import

* async call send_key

* Revert "async call send_key"

This reverts commit f37057819f.

* fix comments

* fix timeout test

* test turn on action

* Update media_player.py

* Update test_media_player.py

* Update test_media_player.py

* use async executor

* use newer ssdp data

* update manually configured with ssdp data

* dont setup component directly

* ensure list

* check updated device info

* Update config_flow.py

* Update __init__.py

* fix duplicate check

* simplified unique check

* move method detection to config_flow

* move unique test to init

* fix after real world test

* optimize config_validation

* update device_info on ssdp discovery

* cleaner update listener

* fix lint

* fix method signature

* add note for manual config to confirm message

* fix turn_on_action

* pass script

* patch delay

* remove device info update
2020-01-10 03:19:10 +01:00
..
auth Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
components Add Samsung TV config flow (#28306) 2020-01-10 03:19:10 +01:00
fixtures Fix aurora sensor not converting latitude and longitude correctly (#28643) 2020-01-09 08:40:10 +01:00
hassfest Make Hassfest stricter pt 2 (#30068) 2019-12-19 14:00:22 +01:00
helpers Entity Component to no longer generate automatic groups (#23789) 2020-01-07 17:30:53 +01:00
mock Black 2019-07-31 12:25:30 -07:00
resources
scripts Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
test_util Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
testing_config Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
util Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
__init__.py
bandit.yaml Add bandit, use to catch known vulnerable XML parsing (#28341) 2019-11-18 09:10:15 +01:00
common.py Entity Component to no longer generate automatic groups (#23789) 2020-01-07 17:30:53 +01:00
conftest.py Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
test_bootstrap.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_config.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_config_entries.py Entity Component to no longer generate automatic groups (#23789) 2020-01-07 17:30:53 +01:00
test_core.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_data_entry_flow.py Rework FlowManager to use inheritance (#30133) 2020-01-03 11:52:01 +01:00
test_loader.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_main.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_requirements.py Sort imports for requirements.py and its test using isort (#29836) 2019-12-11 12:12:06 +01:00
test_setup.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00