* add button for totalconnect * test button for totalconnect * change to zone.can_be_bypassed * Update homeassistant/components/totalconnect/button.py Co-authored-by: Jan-Philipp Benecke <github@bnck.me> * Update homeassistant/components/totalconnect/button.py Co-authored-by: Jan-Philipp Benecke <github@bnck.me> * Update homeassistant/components/totalconnect/button.py Co-authored-by: Jan-Philipp Benecke <github@bnck.me> * remove unused logging * Update homeassistant/components/totalconnect/button.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update homeassistant/components/totalconnect/button.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * fix button and test * Revert "bump total_connect_client to 2023.12.1" This reverts commit 189b7dcd89cf3cc8309dacc92ba47927cfbbdef3. * bump total_connect_client to 2023.12.1 * use ZoneEntity for Bypass button * use LocationEntity for PanelButton * fix typing * add translation_key for panel buttons * mock clear_bypass instead of disarm * use paramaterize * use snapshot * sentence case in strings * remove un-needed stuff * Update homeassistant/components/totalconnect/button.py * Apply suggestions from code review * Fix --------- Co-authored-by: Jan-Philipp Benecke <github@bnck.me> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"locations": {
|
|
"title": "Location Usercodes",
|
|
"description": "Enter the usercode for this user at location {location_id}",
|
|
"data": {
|
|
"usercode": "Usercode"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "[%key:common::config_flow::title::reauth%]",
|
|
"description": "Total Connect needs to re-authenticate your account"
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"usercode": "Usercode not valid for this user at this location"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"no_locations": "No locations are available for this user, check TotalConnect settings"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "TotalConnect Options",
|
|
"description": "Automatically bypass zones the moment they report a low battery.",
|
|
"data": {
|
|
"auto_bypass_low_battery": "Auto bypass low battery"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"arm_away_instant": {
|
|
"name": "Arm away instant",
|
|
"description": "Arms Away with zero entry delay."
|
|
},
|
|
"arm_home_instant": {
|
|
"name": "Arm home instant",
|
|
"description": "Arms Home with zero entry delay."
|
|
}
|
|
},
|
|
"entity": {
|
|
"alarm_control_panel": {
|
|
"partition": {
|
|
"name": "Partition {partition_id}"
|
|
}
|
|
},
|
|
"button": {
|
|
"clear_bypass": {
|
|
"name": "Clear bypass"
|
|
},
|
|
"bypass_all": {
|
|
"name": "Bypass all"
|
|
},
|
|
"bypass": {
|
|
"name": "Bypass"
|
|
}
|
|
}
|
|
}
|
|
}
|