66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Add a gate",
|
|
"description": "Configure a pedestrian gate controlled via an existing Home Assistant switch entity.",
|
|
"data": {
|
|
"name": "Gate name",
|
|
"switch_entity_id": "Gate switch",
|
|
"open_duration": "Open duration (seconds)",
|
|
"pulse_duration": "Pulse duration (seconds)",
|
|
"notify_enabled": "Send notifications",
|
|
"notify_entities": "Notification targets",
|
|
"notify_opening_text": "Opening notification text",
|
|
"notify_closing_text": "Closing notification text"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_name": "Please enter a gate name.",
|
|
"invalid_switch_domain": "Only switch entities can be selected.",
|
|
"switch_not_found": "This switch entity does not exist.",
|
|
"notify_no_targets": "Select at least one notification target or disable notifications."
|
|
},
|
|
"abort": {
|
|
"already_configured": "A gate is already configured for this switch."
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "Gate settings",
|
|
"data": {
|
|
"open_duration": "Open duration (seconds)",
|
|
"pulse_duration": "Pulse duration (seconds)",
|
|
"notify_enabled": "Send notifications",
|
|
"notify_entities": "Notification targets",
|
|
"notify_opening_text": "Opening notification text",
|
|
"notify_closing_text": "Closing notification text"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"notify_no_targets": "Select at least one notification target or disable notifications."
|
|
}
|
|
},
|
|
"entity": {
|
|
"button": {
|
|
"open": {
|
|
"name": "Open"
|
|
}
|
|
},
|
|
"sensor": {
|
|
"status": {
|
|
"name": "Status",
|
|
"state": {
|
|
"closed": "Closed",
|
|
"opening": "Opening\u2026",
|
|
"open": "Open",
|
|
"closing": "Closing\u2026"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|