Update BETA_blueprint.yaml

This commit is contained in:
Blackymas
2022-10-24 21:17:08 +02:00
committed by GitHub
parent e9dfdbf2e7
commit a92537ce48

View File

@@ -1748,6 +1748,10 @@ action:
- condition: template
value_template: '{{ entity_long is match "cover." }}'
then:
- service: "{{ command_value }}"
data:
component: coversettings.coverslider
message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }}'
- service: "{{ command_printf }}"
data:
cmd: page coversettings
@@ -1763,10 +1767,6 @@ action:
data:
component: coversettings.battery_value
message: '{{ (state_attr(entity_long, "battery") | int ) |round(0) }} %'
- service: "{{ command_value }}"
data:
component: coversettings.coverslider
message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }}'
- if:
- condition: template
value_template: '{{ states(entity_long) == "open" }}'