* 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 f37057819fd751a654779da743d0300751e963be. * 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
27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"config": {
|
|
"title": "Samsung TV",
|
|
"step": {
|
|
"user": {
|
|
"title": "Samsung TV",
|
|
"description": "Enter your Samsung TV information. If you never connected Home Assistant before you should see a popup on your TV asking for authentication.",
|
|
"data": {
|
|
"host": "Host or IP address",
|
|
"name": "Name"
|
|
}
|
|
},
|
|
"confirm": {
|
|
"title": "Samsung TV",
|
|
"description": "Do you want to set up Samsung TV {model}? If you never connected Home Assistant before you should see a popup on your TV asking for authentication. Manual configurations for this TV will be overwritten."
|
|
}
|
|
},
|
|
"abort": {
|
|
"already_in_progress": "Samsung TV configuration is already in progress.",
|
|
"already_configured": "This Samsung TV is already configured.",
|
|
"auth_missing": "Home Assistant is not authenticated to connect to this Samsung TV.",
|
|
"not_found": "No supported Samsung TV devices found on the network.",
|
|
"not_supported": "This Samsung TV devices is currently not supported."
|
|
}
|
|
}
|
|
}
|