Skip to content

Commit

Permalink
1.5.20
Browse files Browse the repository at this point in the history
Fixed 'triggered' state for alarm panel device.
  • Loading branch information
RonnyWinkler committed Mar 2, 2024
1 parent 7f0a0b5 commit 6711d44
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 35 deletions.
4 changes: 4 additions & 0 deletions .homeychangelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}

}
2 changes: 1 addition & 1 deletion .homeycompose/app.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 0 additions & 8 deletions .homeycompose/capabilities/alarm_control_panel_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@
"de": "Deaktivieren",
"nl": "Deactiveren"
}
},
{
"id": "triggered",
"title": {
"en": "Triggered",
"de": "Ausgelöst",
"nl": "Veroorzaakt"
}
}
]
}
Expand Down
8 changes: 0 additions & 8 deletions .homeycompose/flow/conditions/alarm_control_panel_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,6 @@
"de": "Deaktivieren",
"nl": "Deactiveren"
}
},
{
"id": "triggered",
"title": {
"en": "Triggered",
"de": "Ausgelöst",
"nl": "Veroorzaakt"
}
}
]
}
Expand Down
18 changes: 1 addition & 17 deletions app.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -1343,14 +1343,6 @@
"de": "Deaktivieren",
"nl": "Deactiveren"
}
},
{
"id": "triggered",
"title": {
"en": "Triggered",
"de": "Ausgelöst",
"nl": "Veroorzaakt"
}
}
]
}
Expand Down Expand Up @@ -9658,14 +9650,6 @@
"de": "Deaktivieren",
"nl": "Deactiveren"
}
},
{
"id": "triggered",
"title": {
"en": "Triggered",
"de": "Ausgelöst",
"nl": "Veroorzaakt"
}
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion drivers/alarm_control_panel/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 6711d44

Please sign in to comment.