diff --git a/.homeychangelog.json b/.homeychangelog.json index 2fd107b..681c898 100644 --- a/.homeychangelog.json +++ b/.homeychangelog.json @@ -562,6 +562,10 @@ "1.5.19": { "en": "Added error handling for invalid entity data in compound device.", "de": "Fehlerbehandlung für ungültige Werte in Compound Gerät ergänzt." + }, + "1.5.20": { + "en": "Fixed 'triggered' state for alarm panel device.", + "de": "'triggered' Status für Alarmpanel-Gerät korrigiert." } } diff --git a/.homeycompose/app.json b/.homeycompose/app.json index 6175c97..2347f74 100644 --- a/.homeycompose/app.json +++ b/.homeycompose/app.json @@ -1,6 +1,6 @@ { "id": "io.home-assistant.community", - "version": "1.5.19", + "version": "1.5.20", "compatibility": ">=8.1.0", "sdk": 3, "brandColor": "#0DA6EA", diff --git a/.homeycompose/capabilities/alarm_control_panel_state.json b/.homeycompose/capabilities/alarm_control_panel_state.json index 0f0f781..d4f47c6 100644 --- a/.homeycompose/capabilities/alarm_control_panel_state.json +++ b/.homeycompose/capabilities/alarm_control_panel_state.json @@ -55,14 +55,6 @@ "de": "Deaktivieren", "nl": "Deactiveren" } - }, - { - "id": "triggered", - "title": { - "en": "Triggered", - "de": "Ausgelöst", - "nl": "Veroorzaakt" - } } ] } diff --git a/.homeycompose/flow/conditions/alarm_control_panel_state.json b/.homeycompose/flow/conditions/alarm_control_panel_state.json index aae339a..63e6dcc 100644 --- a/.homeycompose/flow/conditions/alarm_control_panel_state.json +++ b/.homeycompose/flow/conditions/alarm_control_panel_state.json @@ -63,14 +63,6 @@ "de": "Deaktivieren", "nl": "Deactiveren" } - }, - { - "id": "triggered", - "title": { - "en": "Triggered", - "de": "Ausgelöst", - "nl": "Veroorzaakt" - } } ] } diff --git a/app.json b/app.json index 14874ac..1f7adf8 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "_comment": "This file is generated. Please edit .homeycompose/app.json instead.", "id": "io.home-assistant.community", - "version": "1.5.19", + "version": "1.5.20", "compatibility": ">=8.1.0", "sdk": 3, "brandColor": "#0DA6EA", @@ -1343,14 +1343,6 @@ "de": "Deaktivieren", "nl": "Deactiveren" } - }, - { - "id": "triggered", - "title": { - "en": "Triggered", - "de": "Ausgelöst", - "nl": "Veroorzaakt" - } } ] } @@ -9658,14 +9650,6 @@ "de": "Deaktivieren", "nl": "Deactiveren" } - }, - { - "id": "triggered", - "title": { - "en": "Triggered", - "de": "Ausgelöst", - "nl": "Veroorzaakt" - } } ] }, diff --git a/drivers/alarm_control_panel/device.js b/drivers/alarm_control_panel/device.js index 99eed33..9e5dc10 100644 --- a/drivers/alarm_control_panel/device.js +++ b/drivers/alarm_control_panel/device.js @@ -74,7 +74,7 @@ class AlarmControlPanelDevice extends BaseDevice { } else{ this.homey.app._flowTriggerAlarmControlPanelTriggered.trigger(this, {}, {}); - await this.setCapabilityValue("alarm_control_panel_alarm", state); + await this.setCapabilityValue("alarm_control_panel_alarm", true); } } catch(error){