Z-Wave Config Entry Support (#17119)
* Initial Z-Wave Config Entry Support * Use conf.get() for config import * Uncomment test * Re-add line breaks * tabs -> space * Unused import cleanup & lint fixes * Remove unused config flow link step * Address comments * Remove unused import * Fix tests * Check for valid usb_path * Test for Z-Stick in config flow * Pass config dir to ZWaveOption * Auto-generate Network Key if none provided * Test fixes * Address comments & more start network service registration * add_executor_job for options.lock()
This commit is contained in:
1 parent
5167658a1d
commit
cf249e3e5e
7 files changed
+227
-40
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"config": {
|
||||
"title": "Z-Wave",
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Set up Z-Wave",
|
||||
"description": "See https://www.home-assistant.io/docs/z-wave/installation/ for information on the configuration variables",
|
||||
"data": {
|
||||
"usb_path": "USB Path",
|
||||
"network_key": "Network Key (leave blank to auto-generate)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"option_error": "Z-Wave validation failed. Is the path to the USB stick correct?"
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "Z-Wave is already configured",
|
||||
"one_instance_only": "Component only supports one Z-Wave instance"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user