Add config flow to Dune HD (#36345)
* Add config_flow to the dunehd integration * Add tests * Run gen_requirements_all * Fix pylint error * Better hostname validation * Build device info in the class
This commit is contained in:
1 parent
95563e04e8
commit
465b98513b
12 files changed
+325
-43
No files matched your search
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"config": {
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Dune HD",
|
||||
"description": "Set up Dune HD integration. If you have problems with configuration go to: https://www.home-assistant.io/integrations/dunehd \n\nEnsure that your player is turned on.",
|
||||
"data": {
|
||||
"host": "[%key:common::config_flow::data::host%]"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"invalid_host": "Invalid hostname or IP address.",
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user