Files
core/tests/components
0c1a605693 Add TotalConnect option to require alarm code (#122270)
* 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>
2024-09-11 18:23:19 +02:00
..
2024-09-05 19:42:50 -04:00
2024-08-28 19:16:05 +02:00
2024-09-04 15:33:23 +02:00
2024-09-08 09:20:57 +02:00
2024-09-04 21:57:37 +02:00
2024-08-30 16:41:48 +02:00
2024-09-03 21:00:44 +02:00
2024-08-29 07:59:07 +02:00
2024-09-07 12:38:59 +02:00
2024-08-28 09:25:56 +02:00
2024-08-28 13:48:49 +02:00
2024-09-10 22:02:46 +02:00
2024-09-05 23:03:50 +02:00