-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.json
More file actions
2270 lines (2270 loc) · 59 KB
/
Copy pathapp.json
File metadata and controls
2270 lines (2270 loc) · 59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"_comment": "This file is generated. Please edit .homeycompose/app.json instead.",
"id": "com.barelysufficient.pels",
"version": "3.8.2",
"compatibility": ">=12.4.0",
"sdk": 3,
"platforms": [
"local"
],
"name": {
"en": "PELS Energy Manager",
"no": "PELS Strømstyring",
"nl": "PELS Energiemanager",
"fr": "PELS Gestionnaire d'énergie"
},
"description": {
"en": "Power control and cheaper-hour scheduling for EV charging, heating and hot water.",
"no": "Effektstyring og bruk av billige timer for elbillading, varme og varmtvann.",
"nl": "Lagere pieken, goedkopere uren en meer eigen zonnestroom voor je laadpaal, verwarming en boiler.",
"fr": "Voiture électrique, chauffage et eau chaude aux heures les moins chères, sans dépasser votre limite de puissance."
},
"brandColor": "#22c55e",
"category": [
"energy",
"climate"
],
"source": "https://github.com/olemarkus/com.barelysufficient.pels",
"homeyCommunityTopicId": 147496,
"homepage": "https://pels.barelysufficient.org/",
"support": "mailto:olemarkus@gmail.com",
"bugs": {
"url": "https://github.com/olemarkus/com.barelysufficient.pels/issues"
},
"tags": {
"en": [
"spot price",
"cheap hours",
"dynamic prices",
"electricity prices",
"EV charging",
"EV charger",
"water heater",
"thermostat",
"floor heating",
"ventilation",
"Homey Energy",
"Tibber Pulse",
"HAN",
"power limit",
"peak shaving",
"capacity tariff",
"daily budget",
"load shifting",
"priority control",
"energy management",
"load management",
"power control"
],
"no": [
"effektledd",
"effekttrinn",
"kapasitetsledd",
"nettleie",
"effektgrense",
"effekttariff",
"hovedsikring",
"elbillader",
"elbillading",
"varmtvannsbereder",
"billige timer",
"strømpris",
"spotpris",
"enovastøtte",
"pris- og effektstyrt energilagringssystem",
"Norgespris",
"strømstøtte",
"Tibber Pulse",
"AMS",
"HAN",
"gulvvarme",
"panelovn",
"ventilasjon",
"daglig budsjett",
"strømforbruk",
"strømstyring",
"effektstyring"
],
"nl": [
"capaciteitstarief",
"kwartierpiek",
"maandpiek",
"piekverbruik",
"piekvermogen",
"digitale meter",
"slimme meter",
"P1-meter",
"Homey Energy",
"zonnepanelen",
"eigen verbruik",
"zonne-overschot",
"teruglevering",
"terugleverkosten",
"salderingsregeling",
"laadpaal",
"elektrische auto laden",
"slim laden",
"dynamische prijzen",
"dynamisch energiecontract",
"stroomprijs",
"goedkope uren",
"elektrische verwarming",
"boiler",
"vloerverwarming",
"thermostaat",
"ventilatie",
"dagbudget",
"energiebeheer",
"energiemanagement"
],
"fr": [
"tarif capacitaire",
"pointe quart-horaire",
"pointe mensuelle",
"pointe de puissance",
"limite de puissance",
"compteur communicant",
"Homey Energy",
"panneaux solaires",
"photovoltaïque",
"autoconsommation",
"surplus solaire",
"injection réseau",
"borne de recharge",
"recharge véhicule électrique",
"voiture électrique",
"prix dynamique",
"tarif dynamique",
"heures creuses",
"prix de l'électricité",
"chauffage électrique",
"chauffe-eau",
"ballon d'eau chaude",
"plancher chauffant",
"thermostat",
"ventilation",
"budget quotidien",
"pilotage énergétique",
"gestion de l'énergie"
]
},
"permissions": [
"homey:manager:api",
"homey:app:com.gruijter.powerhour"
],
"api": {
"ui_bootstrap": {
"method": "GET",
"path": "/ui_bootstrap"
},
"ui_devices": {
"method": "GET",
"path": "/ui_devices"
},
"ui_plan": {
"method": "GET",
"path": "/ui_plan"
},
"ui_homes": {
"method": "GET",
"path": "/ui_homes"
},
"ui_homes_save": {
"method": "POST",
"path": "/ui_homes_save"
},
"ui_power": {
"method": "GET",
"path": "/ui_power"
},
"ui_prices": {
"method": "GET",
"path": "/ui_prices"
},
"ui_device_diagnostics": {
"method": "GET",
"path": "/ui_device_diagnostics"
},
"ui_device_log": {
"method": "GET",
"path": "/ui_device_log"
},
"ui_deferred_objective_history": {
"method": "GET",
"path": "/ui_deferred_objective_history"
},
"ui_deferred_objective_settings": {
"method": "GET",
"path": "/ui_deferred_objective_settings"
},
"ui_weather_advisor_readout": {
"method": "GET",
"path": "/ui_weather_advisor_readout"
},
"get_daily_budget": {
"method": "GET",
"path": "/daily_budget"
},
"ui_preview_daily_budget_model": {
"method": "POST",
"path": "/ui_preview_daily_budget_model"
},
"ui_apply_daily_budget_model": {
"method": "POST",
"path": "/ui_apply_daily_budget_model"
},
"ui_refresh_devices": {
"method": "POST",
"path": "/ui_refresh_devices"
},
"ui_refresh_flow_conflicts": {
"method": "POST",
"path": "/ui_refresh_flow_conflicts"
},
"ui_refresh_prices": {
"method": "POST",
"path": "/ui_refresh_prices"
},
"ui_refresh_grid_tariff": {
"method": "POST",
"path": "/ui_refresh_grid_tariff"
},
"settings_ui_log": {
"method": "POST",
"path": "/settings_ui_log"
},
"ui_reset_power_stats": {
"method": "POST",
"path": "/ui_reset_power_stats"
},
"ui_starvation_rescue_devices": {
"method": "GET",
"path": "/ui_starvation_rescue_devices"
},
"ui_starvation_rescue_preview": {
"method": "POST",
"path": "/ui_starvation_rescue_preview"
},
"ui_starvation_rescue_create": {
"method": "POST",
"path": "/ui_starvation_rescue_create"
},
"ui_smart_task_preview": {
"method": "POST",
"path": "/ui_smart_task_preview"
},
"ui_smart_task_update": {
"method": "POST",
"path": "/ui_smart_task_update"
},
"ui_smart_task_cancel": {
"method": "POST",
"path": "/ui_smart_task_cancel"
},
"homey_devices": {
"method": "GET",
"path": "/homey_devices"
},
"ui_recommendation_cars": {
"method": "GET",
"path": "/ui_recommendation_cars"
},
"ui_hub_market": {
"method": "GET",
"path": "/ui_hub_market"
},
"homey_energy_meters": {
"method": "GET",
"path": "/homey_energy_meters"
},
"log_homey_device": {
"method": "POST",
"path": "/log_homey_device"
}
},
"images": {
"small": "/assets/images/small.png",
"large": "/assets/images/large.png",
"xlarge": "/assets/images/xlarge.png"
},
"author": {
"name": "Ole Markus With",
"email": "olemarkus@gmail.com"
},
"contributing": {
"donate": {
"githubSponsors": {
"username": "olemarkus"
}
}
},
"flow": {
"triggers": [
{
"title": {
"en": "Hard cap breach imminent — manual action needed"
},
"titleFormatted": {
"en": "Hard cap breach imminent — no managed devices left to limit"
},
"args": [],
"hint": {
"en": "Fires when PELS expects one part of your home to exceed its hard cap in the selected capacity period, with every managed device there already turned off or at its lowest step. The [[home]] tag names that part: the Main home, or a meter area by name. Use it to alert someone to go and turn something off by hand. Daily budget overruns do not fire this trigger."
},
"tokens": [
{
"name": "home",
"type": "string",
"title": {
"en": "Home"
},
"example": {
"en": "Main home"
}
}
],
"id": "capacity_shortfall"
},
{
"title": {
"en": "Hard cap breach imminent for at least... — manual action needed"
},
"titleFormatted": {
"en": "Hard cap breach imminent for at least [[seconds]] seconds — no managed devices left to limit"
},
"args": [
{
"name": "seconds",
"type": "range",
"title": {
"en": "Must last at least (seconds)"
},
"min": 10,
"max": 600,
"step": 10
}
],
"hint": {
"en": "Fires once when PELS has expected one part of your home to exceed its hard cap in the selected capacity period, without a break, for the time you choose, with every managed device there already turned off or at its lowest step. If the situation clears inside that time, nothing fires. PELS limits managed devices immediately either way — this only decides when your Flow starts. Use it instead of Hard cap breach imminent — manual action needed when a brief spike is not worth a notification. The [[home]] tag names the part of the home: the Main home, or a meter area by name. Daily budget overruns do not fire this trigger."
},
"tokens": [
{
"name": "home",
"type": "string",
"title": {
"en": "Home"
},
"example": {
"en": "Main home"
}
}
],
"id": "capacity_shortfall_sustained"
},
{
"id": "daily_budget_weather_adjusted",
"title": {
"en": "Daily budget adjusted for the weather forecast"
},
"titleFormatted": {
"en": "Daily budget adjusted for the weather forecast"
},
"hint": {
"en": "Fires once a day when PELS sets your daily budget from the weather forecast. Requires the weather insight's automatic apply to be turned on. Manual and Flow budget changes do not fire it."
},
"tokens": [
{
"name": "budget_kwh",
"type": "number",
"title": {
"en": "New daily budget (kWh)"
},
"example": 72
},
{
"name": "forecast_temperature",
"type": "number",
"title": {
"en": "Forecast temperature (°C)"
},
"example": -5
}
]
},
{
"title": {
"en": "Smart task ended"
},
"titleFormatted": {
"en": "Smart task ended for [[device]]"
},
"hint": {
"en": "Fires once when a smart task ends. The [[outcome]] tag tells you how it ended — succeeded (target reached and held), missed (ready-by time passed before reaching the target), or abandoned (cleared by hand or the device dropped out). Values are stable lowercase ids — filter on them downstream. The [[shortfall_known]] flag is false when the device-side delta was not observable and [[shortfall]] fell back to 0; gate any numeric comparison on it."
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
},
"placeholder": {
"en": "Select device"
}
}
],
"tokens": [
{
"name": "device_name",
"type": "string",
"title": {
"en": "Device"
}
},
{
"name": "outcome",
"type": "string",
"title": {
"en": "Outcome"
}
},
{
"name": "shortfall",
"type": "number",
"title": {
"en": "Gap to target"
}
},
{
"name": "shortfall_known",
"type": "boolean",
"title": {
"en": "Gap to target known"
}
}
],
"id": "deadline_ended"
},
{
"title": {
"en": "Smart task schedule changed"
},
"titleFormatted": {
"en": "Smart task schedule changed for [[device]]"
},
"hint": {
"en": "Fires when the smart task is rescheduled with a different number of hours — for example when new prices arrive, or when the device runs faster than estimated. Hour swaps that keep the same total and kWh-only redistributions stay quiet."
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
},
"placeholder": {
"en": "Select device"
}
}
],
"tokens": [
{
"name": "device_name",
"type": "string",
"title": {
"en": "Device"
}
},
{
"name": "remaining_kwh",
"type": "number",
"title": {
"en": "Remaining kWh"
}
},
{
"name": "planned_hours",
"type": "number",
"title": {
"en": "Planned hours"
}
},
{
"name": "projected_finish_local_time",
"type": "string",
"title": {
"en": "Finishes at"
}
}
],
"id": "deadline_plan_changed"
},
{
"title": {
"en": "Smart task status changed"
},
"titleFormatted": {
"en": "Smart task status changed for [[device]]"
},
"hint": {
"en": "Fires when PELS saves a new smart task status for the chosen device. Short mid-hour recalculations do not fire it. Filter on the [[status]] tag downstream; values are stable lowercase ids: waiting / on_track / at_risk / unachievable / satisfied."
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
},
"placeholder": {
"en": "Select device"
}
}
],
"tokens": [
{
"name": "device_name",
"type": "string",
"title": {
"en": "Device"
}
},
{
"name": "status",
"type": "string",
"title": {
"en": "Status"
}
}
],
"id": "deadline_status_changed"
},
{
"title": {
"en": "Stepped device target changed"
},
"titleFormatted": {
"en": "PELS wants [[device]] at a different step"
},
"hint": {
"en": "Fires when PELS decides a stepped device should move to a different configured step. Use it in flows that translate PELS intent into a vendor-specific action."
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
},
"placeholder": {
"en": "Select a stepped device"
}
}
],
"tokens": [
{
"name": "step_id",
"type": "string",
"title": {
"en": "Step"
}
},
{
"name": "planning_power_w",
"type": "number",
"title": {
"en": "Planning power (W)"
}
},
{
"name": "planning_current_a",
"type": "number",
"title": {
"en": "EV charger current (A)"
}
},
{
"name": "previous_step_id",
"type": "string",
"title": {
"en": "Previous step"
}
}
],
"id": "desired_stepped_load_changed"
},
{
"title": {
"en": "Operating mode changed to"
},
"titleFormatted": {
"en": "Operating mode changed to [[mode]]"
},
"args": [
{
"name": "mode",
"type": "autocomplete",
"title": {
"en": "Operating mode"
},
"placeholder": {
"en": "Select a mode"
},
"example": {
"en": "Home"
}
}
],
"hint": {
"en": "Use this to trigger flows when PELS switches to a different operating mode."
},
"id": "operating_mode_changed"
},
{
"title": {
"en": "Price level changed to"
},
"titleFormatted": {
"en": "Price level changed to [[level]]"
},
"args": [
{
"name": "level",
"type": "autocomplete",
"title": {
"en": "Price level"
},
"placeholder": {
"en": "Choose a price level"
},
"example": {
"en": "Cheap"
}
}
],
"id": "price_level_changed"
},
{
"id": "price_list_updated",
"title": {
"en": "PELS price list was updated"
},
"titleFormatted": {
"en": "PELS price list was updated"
},
"tokens": [
{
"name": "prices_json",
"type": "string",
"title": {
"en": "Price list JSON"
},
"example": "{\"today\":[],\"tomorrow\":[],\"unit\":\"øre/kWh\"}"
}
]
},
{
"title": {
"en": "Current price is one of the lowest before a time"
},
"titleFormatted": {
"en": "Current price is one of [[number]] lowest in the [[period]] hours before [[time]]:00"
},
"args": [
{
"name": "period",
"type": "number",
"title": {
"en": "Hours"
},
"placeholder": {
"en": "2 - 23"
},
"hint": {
"en": "Counted back from the end hour. The window can cross midnight — for example, 6 hours before 04:00 searches 22:00 the previous day through 03:59."
},
"min": 2,
"max": 23,
"step": 1
},
{
"name": "number",
"type": "number",
"title": {
"en": "Lowest count"
},
"placeholder": {
"en": "1 - 24"
},
"hint": {
"en": "Ties at the cutoff price are included."
},
"min": 1,
"max": 24,
"step": 1
},
{
"name": "time",
"type": "number",
"title": {
"en": "End hour"
},
"placeholder": {
"en": "1 - 24"
},
"hint": {
"en": "Hour the window ends at, in local time (use 24 for midnight)."
},
"min": 1,
"max": 24,
"step": 1
}
],
"tokens": [
{
"name": "current_price",
"type": "number",
"title": {
"en": "Current price"
},
"example": 24.5
}
],
"id": "price_lowest_before"
},
{
"title": {
"en": "Current price is one of today's lowest"
},
"titleFormatted": {
"en": "Current price is one of [[number]] lowest prices today"
},
"args": [
{
"name": "number",
"type": "number",
"title": {
"en": "Lowest count"
},
"placeholder": {
"en": "1 - 24"
},
"hint": {
"en": "Ties at the cutoff price are included."
},
"min": 1,
"max": 24,
"step": 1
}
],
"tokens": [
{
"name": "current_price",
"type": "number",
"title": {
"en": "Current price"
},
"example": 24.5
}
],
"id": "price_lowest_today"
},
{
"title": {
"en": "Smart task time is running low"
},
"titleFormatted": {
"en": "[[device]] smart task has [[hours]] hours or fewer remaining"
},
"hint": {
"en": "Fires once when the hours remaining until the smart task's Ready by drops to the chosen value or fewer. Re-arms when the Ready by is rescheduled. Use it to act a fixed lead-time before a deadline (e.g. 2 hours or fewer). The [[hours_remaining]] tag carries the whole hours remaining at the crossing."
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
},
"placeholder": {
"en": "Select device"
}
},
{
"name": "hours",
"type": "range",
"title": {
"en": "Hours remaining (or fewer)"
},
"min": 1,
"max": 24,
"step": 1
}
],
"tokens": [
{
"name": "device_name",
"type": "string",
"title": {
"en": "Device"
}
},
{
"name": "hours_remaining",
"type": "number",
"title": {
"en": "Hours remaining"
}
}
],
"id": "smart_task_hours_remaining"
}
],
"conditions": [
{
"title": {
"en": "Smart task status is"
},
"titleFormatted": {
"en": "[[device]] smart task !{{is|is not}} [[status]]"
},
"hint": {
"en": "True when the saved smart task status for this device matches the chosen status."
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
},
"placeholder": {
"en": "Select device"
}
},
{
"name": "status",
"type": "dropdown",
"title": {
"en": "Status"
},
"values": [
{
"id": "waiting",
"label": {
"en": "Waiting"
}
},
{
"id": "on_track",
"label": {
"en": "On track"
}
},
{
"id": "at_risk",
"label": {
"en": "At risk"
}
},
{
"id": "unachievable",
"label": {
"en": "Cannot finish"
}
},
{
"id": "satisfied",
"label": {
"en": "Satisfied"
}
}
]
}
],
"id": "deadline_status_is"
},
{
"title": {
"en": "Has smart task"
},
"titleFormatted": {
"en": "[[device]] !{{has|does not have}} a smart task"
},
"hint": {
"en": "True when this device has a smart task stored in PELS."
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
},
"placeholder": {
"en": "Select device"
}
}
],
"id": "has_active_deadline"
},
{
"title": {
"en": "Is there enough available power?"
},
"titleFormatted": {
"en": "Is there enough available power for [[required_kw]] kW?"
},
"args": [
{
"name": "required_kw",
"type": "number",
"title": {
"en": "Required power (kW)"
},
"min": 0,
"step": 0.1
}
],
"hint": {
"en": "Use this to check if the current available power is enough to add the requested load."
},
"id": "has_capacity_for"
},
{
"title": {
"en": "Is there available power for device?"
},
"titleFormatted": {
"en": "Does [[device]] have available power for [[required_kw]] kW?"
},
"args": [
{
"name": "device",
"type": "autocomplete",
"title": {
"en": "Device"
}
},
{
"name": "required_kw",
"type": "number",
"title": {
"en": "Required power (kW)"
},
"min": 0,
"step": 0.1
}
],
"hint": {
"en": "True when the house has room for this device to draw the requested kW. PELS waits about 60 seconds after limiting the device, and asks for extra room when recent attempts to bring it back already fell short — so flows do not flap the device on and off."
},
"id": "has_headroom_for_device"
},
{
"title": {
"en": "Operating mode is..."
},
"titleFormatted": {
"en": "Operating mode is [[mode]]"
},
"args": [
{
"name": "mode",
"type": "autocomplete",
"title": {
"en": "Mode"
},
"placeholder": {
"en": "Choose a mode"
},
"example": {
"en": "Home"
}
}
],
"hint": {
"en": "Use this to create flows that only run when PELS is in a specific mode (e.g., Home, Away, Night)."
},
"id": "is_capacity_mode"
},
{
"title": {
"en": "Does device have budget exemption?"
},
"titleFormatted": {
"en": "[[device]] has budget exemption"
},
"args": [
{
"name": "device",