mirror of
https://github.com/Threnklyn/NSPanel_HA_Blueprint.git
synced 2026-05-18 12:43:28 +02:00
Update nspanel_blueprint.yaml
This commit is contained in:
@@ -4620,7 +4620,7 @@ action:
|
||||
component: "{{ repeat.item.row }}_state"
|
||||
message: >
|
||||
{% if is_number(states(repeat.item.entity)) %}
|
||||
{{ states(repeat.item.entity) | round(1) }}{{ state_attr(repeat.item.entity, "unit_of_measurement") if state_attr(repeat.item.entity, "unit_of_measurement") else '' }}
|
||||
{{ states(repeat.item.entity) | round(2) }}{{ state_attr(repeat.item.entity, "unit_of_measurement") if state_attr(repeat.item.entity, "unit_of_measurement") else '' }}
|
||||
{% else %}
|
||||
{{ states(repeat.item.entity) | default('unknown') }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user