mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
TotalConnect improved config flow and test before setup (#133852)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
e052ab27f2
commit
8be01ac9d6
@ -1,11 +1,11 @@
|
||||
rules:
|
||||
# Bronze
|
||||
config-flow: todo
|
||||
config-flow: done
|
||||
test-before-configure: done
|
||||
unique-config-entry: done
|
||||
config-flow-test-coverage: todo
|
||||
runtime-data: done
|
||||
test-before-setup: todo
|
||||
test-before-setup: done
|
||||
appropriate-polling: done
|
||||
entity-unique-id: done
|
||||
has-entity-name: done
|
||||
|
@ -2,21 +2,36 @@
|
||||
"config": {
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Total Connect 2.0 Account Credentials",
|
||||
"description": "It is highly recommended to use a 'standard' Total Connect user account with Home Assistant. The account should not have full administrative privileges.",
|
||||
"data": {
|
||||
"username": "[%key:common::config_flow::data::username%]",
|
||||
"password": "[%key:common::config_flow::data::password%]"
|
||||
},
|
||||
"data_description": {
|
||||
"username": "The Total Connect username",
|
||||
"password": "The Total Connect password"
|
||||
}
|
||||
},
|
||||
"locations": {
|
||||
"title": "Location Usercodes",
|
||||
"description": "Enter the usercode for this user at location {location_id}",
|
||||
"data": {
|
||||
"usercode": "Usercode"
|
||||
"usercodes": "Usercode"
|
||||
},
|
||||
"data_description": {
|
||||
"usercodes": "The usercode is usually a 4 digit number"
|
||||
}
|
||||
},
|
||||
"reauth_confirm": {
|
||||
"title": "[%key:common::config_flow::title::reauth%]",
|
||||
"description": "Total Connect needs to re-authenticate your account"
|
||||
"description": "Total Connect needs to re-authenticate your account",
|
||||
"data": {
|
||||
"password": "[%key:common::config_flow::data::password%]"
|
||||
},
|
||||
"data_description": {
|
||||
"password": "[%key:component::totalconnect::config::step::user::data_description::password%]"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@ -36,6 +51,10 @@
|
||||
"data": {
|
||||
"auto_bypass_low_battery": "Auto bypass low battery",
|
||||
"code_required": "Require user to enter code for alarm actions"
|
||||
},
|
||||
"data_description": {
|
||||
"auto_bypass_low_battery": "If enabled, Total Connect zones will immediately be bypassed when they report low battery. This option helps because zones tend to report low battery in the middle of the night. The downside of this option is that when the alarm system is armed, the bypassed zone will not be monitored.",
|
||||
"code_required": "If enabled, you must enter the user code to arm or disarm the alarm"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user