Add config flow to directv (#32162)
* initial work on config flow. * more work on config flow. * work on config flow and add tests. other cleanup. * cleanup tests. * fix test. * isort * Update .coveragerc * Update test_init.py * Update test_init.py * Update test_init.py * Update test_config_flow.py * Update test_config_flow.py * Update test_config_flow.py * correct upnp serial format. * improve config flow coverage. * review tweaks. * further review tweaks * simplify dtv data gathering job * lint * black * Update test_init.py * Update test_init.py * Simplify exception handling. * Simplify exception handling. * Update media_player.py * Update test_media_player.py * Update test_media_player.py * Update test_media_player.py * Update test_media_player.py * Update test_media_player.py * fix failing test. * restore change made during debug. * isort. Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
1 parent
c9a9bd16fe
commit
bb666b9ac6
14 files changed
+1062
-492
No files matched your search
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"config": {
|
||||
"title": "DirecTV",
|
||||
"flow_title": "DirecTV: {name}",
|
||||
"step": {
|
||||
"ssdp_confirm": {
|
||||
"data": {},
|
||||
"description": "Do you want to set up {name}?",
|
||||
"title": "Connect to the DirecTV receiver"
|
||||
},
|
||||
"user": {
|
||||
"title": "Connect to the DirecTV receiver",
|
||||
"data": {
|
||||
"host": "Host or IP address"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"cannot_connect": "Failed to connect, please try again",
|
||||
"unknown": "Unexpected error"
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "DirecTV receiver is already configured"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user