a5a8336006
-Amended config flow, took out second step to select socks -Added configuration to allow users to change polling interval -Hardcoded support for only v3 sock, I do not own any other socks to test with
32 lines
777 B
JSON
32 lines
777 B
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user":{
|
|
"title": "Enter login details",
|
|
"data":{
|
|
"region": "Region",
|
|
"username": "Email",
|
|
"password": "Password"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init":{
|
|
"title":"Configure options for Owlet",
|
|
"data":{
|
|
"pollinterval": "Polling interval in seconds, min 10"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |