Skip to content

Commit

Permalink
Added charging state flow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinvdpol committed Sep 26, 2024
1 parent a3f5b84 commit 4423fe7
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .homeycompose/flow/triggers/charging_state_false.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"title": {
"en": "Charging was stopped",
"nl": "Opladen werd gestopt"
},
"hint": {
"en": "This flowcard triggers when the charging was stopped.",
"nl": "Deze kaart wordt geactiveerd wanneer het opladen gestopt werd."
},
"platforms": [
"local",
"cloud"
],
"args": [
{
"type": "device",
"name": "device",
"filter": "driver_id=tracker&capabilities=charging_state"
}
]
}
21 changes: 21 additions & 0 deletions .homeycompose/flow/triggers/charging_state_true.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"title": {
"en": "Charging was started",
"nl": "Opladen werd gestart"
},
"hint": {
"en": "This flowcard triggers when the charging was started.",
"nl": "Deze kaart wordt geactiveerd wanneer het opladen gestart werd."
},
"platforms": [
"local",
"cloud"
],
"args": [
{
"type": "device",
"name": "device",
"filter": "driver_id=tracker&capabilities=charging_state"
}
]
}
44 changes: 44 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,50 @@
],
"id": "buzzer_control_true"
},
{
"title": {
"en": "Charging was stopped",
"nl": "Opladen werd gestopt"
},
"hint": {
"en": "This flowcard triggers when the charging was stopped.",
"nl": "Deze kaart wordt geactiveerd wanneer het opladen gestopt werd."
},
"platforms": [
"local",
"cloud"
],
"args": [
{
"type": "device",
"name": "device",
"filter": "driver_id=tracker&capabilities=charging_state"
}
],
"id": "charging_state_false"
},
{
"title": {
"en": "Charging was started",
"nl": "Opladen werd gestart"
},
"hint": {
"en": "This flowcard triggers when the charging was started.",
"nl": "Deze kaart wordt geactiveerd wanneer het opladen gestart werd."
},
"platforms": [
"local",
"cloud"
],
"args": [
{
"type": "device",
"name": "device",
"filter": "driver_id=tracker&capabilities=charging_state"
}
],
"id": "charging_state_true"
},
{
"title": {
"en": "Virtual fence changed",
Expand Down

0 comments on commit 4423fe7

Please sign in to comment.