Good day,
In ‘Picture Elements’ i always get the ‘Expected float for dictionary value @…’ error
When i want to increase brightness:
- type: icon
icon: mdi:chevron-up
tap_action:
action: call-service
service: light.turn_on
data:
brightness_pct: '{{states.light.a_wk_eettafel.attributes.brightness + 10}}'
target:
entity_id: light.a_wk_eettafel
style:
top: 15%
left: 50%
color: white
transform: translate(-50%, -50%) scale(1, 1)
or when i want to increase temperature:
- type: icon
icon: mdi:chevron-up
tap_action:
action: call-service
service: climate.set_temperature
data:
temperature: '{{ state_attr(''climate.a_woonkamer'' , ''temperature'')|int + 1 }}'
target:
entity_id: climate.a_woonkamer
style:
top: 15%
left: 5%
color: white
transform: translate(-50%, -50%) scale(1, 1)
What am i doing wrong?
When a put a static value for brightness or temperature, it works fine.
Thanks in advance for your time!!!
Rick