core/tests/components/bosch_alarm
Sanjay Govind c18b6d736a
Add switch platform to bosch alarm (#142157)
* add switch platform to bosch alarm

* fix tests

* one device per output

* add switch for door

* add switch entities for door

* fix switch devices

* apply changes from review

* update identifiers

* add missing entity

* use base entity for switch

* rename var

* fix icons

* give user a nice error if they try to lock or secure a door that is in the process of being cycled

* fix test

* Update homeassistant/components/bosch_alarm/switch.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/bosch_alarm/switch.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* use service constants

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-05-09 18:17:26 +02:00
..
snapshots Add switch platform to bosch alarm (#142157) 2025-05-09 18:17:26 +02:00
__init__.py
conftest.py Add switch platform to bosch alarm (#142157) 2025-05-09 18:17:26 +02:00
test_alarm_control_panel.py
test_config_flow.py Add reconfig flow to bosch_alarm (#142451) 2025-04-08 08:22:39 +02:00
test_diagnostics.py
test_init.py Add reauth flow to bosch_alarm (#142251) 2025-04-05 14:26:35 +02:00
test_sensor.py Add sensor platform to bosch_alarm (#142151) 2025-04-08 13:55:43 +02:00
test_switch.py Add switch platform to bosch alarm (#142157) 2025-05-09 18:17:26 +02:00