ID Problem
#496
-
Beta Was this translation helpful? Give feedback.
Answered by
Trzinka
Dec 27, 2024
Replies: 2 comments 5 replies
-
Have you grouped that element with others? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Apparently the ID name in InkScape was really too long. Now that I shortened it, it works. fp.yaml - entity: sensor.p1_meter_power_phase_3
element: faza_c
state_action:
- service: floorplan.text_set
service_data: >-
${(entity.state !== undefined) ? Math.round(entity.state) + "W" : "unknown"}
- service: floorplan.class_set
service_data:
class: static-temp
tap_action: false
- entity: sensor.p1_meter_power_phase_2
element: faza_b
state_action:
- service: floorplan.text_set
service_data: >-
${(entity.state !== undefined) ? Math.round(entity.state) + "W" : "unknown"}
- service: floorplan.class_set
service_data:
class: static-temp
tap_action: false |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Trzinka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently the ID name in InkScape was really too long. Now that I shortened it, it works.
fp.yaml