HI,
I hope someone can help! What am I doing wrong with the code below? I keep getting unknown as result…
- platform: template
sensors:
evstatus:
friendly_name: 'evstatus'
unit_of_measurement: ''
value_template: "{{ state_attr('switch.palla_and_sunflower_evse', 'status') }}"
Thank you fior any help.