Open robUx4 opened 3 years ago
The template for the sensor now looks like this
template:
- sensor:
- name: Temp Salon
unit_of_measurement: "°C"
state: "{{ state_attr('sensor.my_thermometer', 'temperature')|float }}"
device_class: temperature
unique_id: lywsd02.d109.temp
Thank for the tip that really helped!
Here is the log I get when I load it in 2021.5
Also it seems the format of the documentation for the configuration doesn't work. It gives an error on the line
- platform: template