From b80c8ba14baa0c647d511e293d50794a6848c54a Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Thu, 3 Apr 2025 20:04:21 +1300 Subject: [PATCH 1/8] add docs for binary sensor --- source/_integrations/bosch_alarm.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index 0b4649473519..6861bfb1e8a1 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -3,6 +3,7 @@ title: Bosch Alarm description: Integrate Bosch Alarms. ha_category: - Alarm + - Binary sensor ha_release: 2025.4 ha_iot_class: Local Push ha_config_flow: true @@ -12,6 +13,7 @@ ha_codeowners: ha_domain: bosch_alarm ha_platforms: - alarm_control_panel + - binary_sensor ha_integration_type: integration --- @@ -34,12 +36,17 @@ The **Bosch Alarm Panel** {% term integration %} allows you to connect your [Bos The following {% term entities %} are provided: - [Alarm Control Panel](#alarm-control-panel) +- [Binary Sensor](#binary-sensor) ### Alarm Control Panel This integration adds an Alarm Control Panel device for each configured area, with the ability to issue arm/disarm commands. This entity reports state (_disarmed_, _armed_away_, etc.). +## Binary Sensor + +A binary sensor is added for each point configured on your alarm. + ## Authentication The primary means of authentication for the _Mode 2_ API is the _Automation_ passcode. It needs to be at least 10 characters long, and it is different from the _User_ code -- a shorter numeric pin used to arm/disarm the panel. From 262f6ff575cd78381da3136aa1164c923b580473 Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Fri, 4 Apr 2025 20:40:51 +1300 Subject: [PATCH 2/8] add example automation --- source/_integrations/bosch_alarm.markdown | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index 6861bfb1e8a1..f9d26b0ec3bf 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -65,6 +65,33 @@ The integration will prompt for the required passcodes, which depend on the pane Since the _Mode 2_ automation user has "superuser" privileges, it bypasses the regularly configured alarm pin: you will _not_ be prompted for a _User_ code when arming/disarming through the integration. {% endimportant %} +## Examples + +### Turning on lights when walking into a room + +{% raw %} + +```yaml +automation: + - alias: "Turn on light when walking into room" + triggers: + - trigger: state + entity_id: + - binary_sensor.bosch_solution_3000_bedroom + to: "on" + conditions: [] + actions: + - action: light.turn_on + metadata: {} + data: {} + target: + entity_id: light.bedroom_light + + +``` + +{% endraw %} + ## Removing the integration This integration follows standard integration removal. No extra steps are required. From 802e030f90cbe82b2508a1758b99df98f2712e26 Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Sat, 5 Apr 2025 11:41:03 +1300 Subject: [PATCH 3/8] Update bosch_alarm.markdown --- source/_integrations/bosch_alarm.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index 22cce815da55..f8c4f5706e49 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -100,7 +100,6 @@ automation: Consider uploading [the diagnostics file](/docs/configuration/troubleshooting/#debug-logs-and-diagnostics) along with your issue report to allow faster triaging and pinpointing the issue. The information contained in the generated diagnostics file is redacted to avoid any sensitive information while still remaining useful for developers to fix the issue. - ## Removing the integration This integration follows standard integration removal. No extra steps are required. From 2805afa917b5388e409bc137f75b73c296a1ba53 Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Mon, 7 Apr 2025 20:30:42 +1200 Subject: [PATCH 4/8] update example --- source/_integrations/bosch_alarm.markdown | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index 1521bd51c8e7..c54144004ed3 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -77,15 +77,12 @@ If your authentication changes, the integration will automatically prompt you to automation: - alias: "Turn on light when walking into room" triggers: - - trigger: state + - platform: state entity_id: - binary_sensor.bosch_solution_3000_bedroom to: "on" - conditions: [] actions: - action: light.turn_on - metadata: {} - data: {} target: entity_id: light.bedroom_light From 49050d46bda78441eb2611230413536d3fc0bead Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Wed, 9 Apr 2025 21:40:09 +1200 Subject: [PATCH 5/8] fix styling --- source/_integrations/bosch_alarm.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index c54144004ed3..63e847751a60 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -47,6 +47,8 @@ This entity reports state (_disarmed_, _armed_away_, etc.). A binary sensor is added for each point configured on your alarm. +A binary sensor is added for each area that lets you know if the area is currently able to be armed away or armed home. + ## Authentication The primary means of authentication for the _Mode 2_ API is the _Automation_ passcode. It needs to be at least 10 characters long, and it is different from the _User_ code -- a shorter numeric pin used to arm/disarm the panel. From 4dd473abdfd963ddf1d8578f168afd1108c684cd Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Thu, 10 Apr 2025 08:42:57 +1200 Subject: [PATCH 6/8] style fixes --- source/_integrations/bosch_alarm.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index 920294d8948b..434aababeb8f 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -3,7 +3,7 @@ title: Bosch Alarm description: Integrate Bosch Alarms. ha_category: - Alarm - - Binary sensor + - Binary Sensor - Sensor ha_release: 2025.4 ha_iot_class: Local Push From a5defb3d820f7ddc089ceed45bf85691019a88a0 Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Thu, 10 Apr 2025 08:43:22 +1200 Subject: [PATCH 7/8] style fixes --- source/_integrations/bosch_alarm.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index 434aababeb8f..79c6a438d5d2 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -50,7 +50,7 @@ This entity reports state (_disarmed_, _armed_away_, etc.). A binary sensor is added for each point configured on your alarm. -A binary sensor is added for each area that lets you know if the area is currently able to be armed away or armed home. +A binary sensor is added for each area to indicate whether it can be armed away or armed home. ## Sensor From e1f0d388a279d364d97909a1802c39098f73cbe6 Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Thu, 10 Apr 2025 08:43:44 +1200 Subject: [PATCH 8/8] style fixes --- source/_integrations/bosch_alarm.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index 79c6a438d5d2..7c6d595ecddc 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -50,7 +50,7 @@ This entity reports state (_disarmed_, _armed_away_, etc.). A binary sensor is added for each point configured on your alarm. -A binary sensor is added for each area to indicate whether it can be armed away or armed home. +Two binary sensors are added for each area to indicate whether it can be armed away or armed home. ## Sensor