Skip to content

Commit 2a64dc1

Browse files
authored
Merge branch 'main' into shelly_shbtn_2-New-Controller
2 parents d86d753 + cf1aa45 commit 2a64dc1

File tree

13 files changed

+589
-515
lines changed

13 files changed

+589
-515
lines changed

blueprints/controllers/ikea_e1812/ikea_e1812.yaml

+251-184
Large diffs are not rendered by default.

blueprints/controllers/osram_ac025xx00nj/osram_ac025xx00nj.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ blueprint:
1313
1414
## More Info
1515
16-
ℹ️ Version 2025.03.20
16+
ℹ️ Version 2025.04.06
1717
📝 [Changelog](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/osram_ac025xx00nj/#changelog)
1818
📕 Full documentation regarding this blueprint is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/osram_ac025xx00nj).
1919
@@ -411,13 +411,13 @@ actions:
411411
sequence:
412412
- choose:
413413
# if previous event was a short press
414-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
414+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
415415
sequence:
416416
# store the double press event in the last controller event helper
417417
- action: input_text.set_value
418418
data:
419419
entity_id: !input helper_last_controller_event
420-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
420+
value: '{{ {"a":"double_press_up","t":as_timestamp(now())} | to_json }}'
421421
# run the double press action
422422
# fire the event
423423
- event: ahb_controller_event
@@ -491,13 +491,13 @@ actions:
491491
sequence:
492492
- choose:
493493
# if previous event was a short press
494-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
494+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
495495
sequence:
496496
# store the double press event in the last controller event helper
497497
- action: input_text.set_value
498498
data:
499499
entity_id: !input helper_last_controller_event
500-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
500+
value: '{{ {"a":"double_press_center","t":as_timestamp(now())} | to_json }}'
501501
# run the double press action
502502
# fire the event
503503
- event: ahb_controller_event
@@ -571,13 +571,13 @@ actions:
571571
sequence:
572572
- choose:
573573
# if previous event was a short press
574-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
574+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
575575
sequence:
576576
# store the double press event in the last controller event helper
577577
- action: input_text.set_value
578578
data:
579579
entity_id: !input helper_last_controller_event
580-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
580+
value: '{{ {"a":"double_press_down","t":as_timestamp(now())} | to_json }}'
581581
# run the double press action
582582
# fire the event
583583
- event: ahb_controller_event

blueprints/controllers/philips_324131092621/philips_324131092621.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ blueprint:
1313
1414
## More Info
1515
16-
ℹ️ Version 2025.03.20
16+
ℹ️ Version 2025.04.06
1717
📝 [Changelog](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/philips_324131092621/#changelog)
1818
📕 Full documentation regarding this blueprint is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/philips_324131092621).
1919
@@ -484,13 +484,13 @@ actions:
484484
sequence:
485485
- choose:
486486
# if previous event was a short press
487-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
487+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
488488
sequence:
489489
# store the double press event in the last controller event helper
490490
- action: input_text.set_value
491491
data:
492492
entity_id: !input helper_last_controller_event
493-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
493+
value: '{{ {"a":"double_press_on","t":as_timestamp(now())} | to_json }}'
494494
# run the double press action
495495
# fire the event
496496
- event: ahb_controller_event
@@ -564,13 +564,13 @@ actions:
564564
sequence:
565565
- choose:
566566
# if previous event was a short press
567-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
567+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
568568
sequence:
569569
# store the double press event in the last controller event helper
570570
- action: input_text.set_value
571571
data:
572572
entity_id: !input helper_last_controller_event
573-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
573+
value: '{{ {"a":"double_press_off","t":as_timestamp(now())} | to_json }}'
574574
# run the double press action
575575
# fire the event
576576
- event: ahb_controller_event
@@ -644,13 +644,13 @@ actions:
644644
sequence:
645645
- choose:
646646
# if previous event was a short press
647-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
647+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
648648
sequence:
649649
# store the double press event in the last controller event helper
650650
- action: input_text.set_value
651651
data:
652652
entity_id: !input helper_last_controller_event
653-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
653+
value: '{{ {"a":"double_press_up","t":as_timestamp(now())} | to_json }}'
654654
# run the double press action
655655
# fire the event
656656
- event: ahb_controller_event
@@ -724,13 +724,13 @@ actions:
724724
sequence:
725725
- choose:
726726
# if previous event was a short press
727-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
727+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
728728
sequence:
729729
# store the double press event in the last controller event helper
730730
- action: input_text.set_value
731731
data:
732732
entity_id: !input helper_last_controller_event
733-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
733+
value: '{{ {"a":"double_press_down","t":as_timestamp(now())} | to_json }}'
734734
# run the double press action
735735
# fire the event
736736
- event: ahb_controller_event

blueprints/controllers/philips_8718699693985/philips_8718699693985.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ blueprint:
1313
1414
## More Info
1515
16-
ℹ️ Version 2025.03.20
16+
ℹ️ Version 2025.04.06
1717
📝 [Changelog](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/philips_8718699693985/#changelog)
1818
📕 Full documentation regarding this blueprint is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/philips_8718699693985).
1919
@@ -258,7 +258,7 @@ actions:
258258
sequence:
259259
- choose:
260260
# if previous event was a short press
261-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
261+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
262262
sequence:
263263
# store the double press event in the last controller event helper
264264
- action: input_text.set_value

blueprints/controllers/philips_929002398602/philips_929002398602.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ blueprint:
1313
1414
## More Info
1515
16-
ℹ️ Version 2025.04.02
16+
ℹ️ Version 2025.04.06
1717
📝 [Changelog](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/philips_929002398602/#changelog)
1818
📕 Full documentation regarding this blueprint is available [here](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/philips_929002398602).
1919
@@ -479,13 +479,13 @@ actions:
479479
sequence:
480480
- choose:
481481
# if previous event was a short press
482-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
482+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
483483
sequence:
484484
# store the double press event in the last controller event helper
485485
- action: input_text.set_value
486486
data:
487487
entity_id: !input helper_last_controller_event
488-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
488+
value: '{{ {"a":"double_press_on","t":as_timestamp(now())} | to_json }}'
489489
# run the double press action
490490
# fire the event
491491
- event: ahb_controller_event
@@ -559,13 +559,13 @@ actions:
559559
sequence:
560560
- choose:
561561
# if previous event was a short press
562-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
562+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
563563
sequence:
564564
# store the double press event in the last controller event helper
565565
- action: input_text.set_value
566566
data:
567567
entity_id: !input helper_last_controller_event
568-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
568+
value: '{{ {"a":"double_press_off","t":as_timestamp(now())} | to_json }}'
569569
# run the double press action
570570
# fire the event
571571
- event: ahb_controller_event
@@ -639,13 +639,13 @@ actions:
639639
sequence:
640640
- choose:
641641
# if previous event was a short press
642-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
642+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
643643
sequence:
644644
# store the double press event in the last controller event helper
645645
- action: input_text.set_value
646646
data:
647647
entity_id: !input helper_last_controller_event
648-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
648+
value: '{{ {"a":"double_press_up","t":as_timestamp(now())} | to_json }}'
649649
# run the double press action
650650
# fire the event
651651
- event: ahb_controller_event
@@ -719,13 +719,13 @@ actions:
719719
sequence:
720720
- choose:
721721
# if previous event was a short press
722-
- conditions: '{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}'
722+
- conditions: '{{ trigger_action | string == last_controller_event and trigger_delta | int <= helper_double_press_delay | int }}'
723723
sequence:
724724
# store the double press event in the last controller event helper
725725
- action: input_text.set_value
726726
data:
727727
entity_id: !input helper_last_controller_event
728-
value: '{{ {"a":"double_press","t":as_timestamp(now())} | to_json }}'
728+
value: '{{ {"a":"double_press_down","t":as_timestamp(now())} | to_json }}'
729729
# run the double press action
730730
# fire the event
731731
- event: ahb_controller_event

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"packageManager": "[email protected]",
1313
"devDependencies": {
1414
"husky": "^9.1.7",
15-
"lint-staged": "^15.5.0",
15+
"lint-staged": "^15.5.1",
1616
"prettier": "^3.5.0",
17-
"turbo": "^2.4.4"
17+
"turbo": "^2.5.0"
1818
}
1919
}

0 commit comments

Comments
 (0)