Add Custom mapping of Risco states (#39218)

* Custom mapping of Risco states

* More informative error log

* Add alternative Risco terms

* Black formatting
This commit is contained in:
On Freund authored and GitHub committed 2020-08-27 21:23:01 -05:00
1 parent 24db31fa28
commit b14af3e727
7 files changed
+464 -111

No files matched your search

@@ -27,6 +27,28 @@
"code_arm_required": "Require pin code to arm",
"code_disarm_required": "Require pin code to disarm"
}
},
"risco_to_ha": {
"title": "Map Risco states to Home Assistant states",
"description": "Select what state your Home Assistant alarm will report for every state reported by Risco",
"data": {
"arm": "Armed (AWAY)",
"partial_arm": "Partially Armed (STAY)",
"A": "Group A",
"B": "Group B",
"C": "Group C",
"D": "Group D"
}
},
"ha_to_risco": {
"title": "Map Home Assistant states to Risco states",
"description": "Select what state to set your Risco alarm to when arming the Home Assistant alarm",
"data": {
"armed_away": "Armed Away",
"armed_home": "Armed Home",
"armed_night": "Armed Night",
"armed_custom_bypass": "Armed Custom Bypass"
}
}
}
}