Good day all,
I have a motion sensor, which has a .state attribute, but this also has a .temperature attribute
How do I set up the SVG and YAML to be able to read this?
I’ve tried a few things, this was my last attempt, and running out of ideas:
- name: text_temperatures
entities:
- sensor.front_door_motion_sensor.temperature
text_template: '${entity ? entity : "undefined"}'
- name: motion_sensors
entities:
- sensor.front_door_motion_sensor
states:
- state: 'on'
class: 'motion-on'
- state: 'off'
class: 'motion-off'