* add config option * use code_required option in alarm * test code_required options * only use code for disarm * change tests to disarm with code * remove unneeded code variable * Update homeassistant/components/totalconnect/alarm_control_panel.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * use ServiceValidationError * translate ServiceValidationError * complete typing * Update tests/components/totalconnect/test_alarm_control_panel.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * use ServiceValidationError in test * grab usercode from correct spot * use client code instead of unfilled location code * Revert "remove unneeded code variable" This reverts commit 220de0e698e5779fcd7c45bee999a60ad186ab7f. * remove unneeded code variable * improve usercode checking * use freezer * fix usercode test data * Update homeassistant/components/totalconnect/strings.json Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/totalconnect/strings.json Co-authored-by: G Johansson <goran.johansson@shiftit.se> * update test with new message --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: G Johansson <goran.johansson@shiftit.se> |
||
---|---|---|
.. | ||
__init__.py | ||
alarm_control_panel.py | ||
binary_sensor.py | ||
button.py | ||
config_flow.py | ||
const.py | ||
coordinator.py | ||
diagnostics.py | ||
entity.py | ||
icons.json | ||
manifest.json | ||
services.yaml | ||
strings.json |