Update BETA_blueprint.yaml
This commit is contained in:
@@ -1748,6 +1748,10 @@ action:
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ entity_long is match "cover." }}'
|
value_template: '{{ entity_long is match "cover." }}'
|
||||||
then:
|
then:
|
||||||
|
- service: "{{ command_value }}"
|
||||||
|
data:
|
||||||
|
component: coversettings.coverslider
|
||||||
|
message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }}'
|
||||||
- service: "{{ command_printf }}"
|
- service: "{{ command_printf }}"
|
||||||
data:
|
data:
|
||||||
cmd: page coversettings
|
cmd: page coversettings
|
||||||
@@ -1763,10 +1767,6 @@ action:
|
|||||||
data:
|
data:
|
||||||
component: coversettings.battery_value
|
component: coversettings.battery_value
|
||||||
message: '{{ (state_attr(entity_long, "battery") | int ) |round(0) }} %'
|
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:
|
- if:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states(entity_long) == "open" }}'
|
value_template: '{{ states(entity_long) == "open" }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user