It Looks Like Most of the meteorologist services have a temperature attribute. This is what I am looking for to overlay the outside temperature on my room temp Chart. I read somewhere attributes are not generally recorded and weather.
Domain also seems to not be recorded.
So the AI suggests me to add a Template to generate a new Sensor and add the entity to the recorded (not sure thats needed when it’s a new Sensor anyway?). In the template tester it correctly expands the desired temperature. But I am not sure where to add it in config?
I put it on top level, After restart I see no error, only a deprecation for the recorder.include. But I dont see a State or statistic Show up. Any idea?
template:
- sensor:
- name: "Outside Temperature"
state: "{{ state_attr('weather.m8', 'temperature') }}"
unit_of_measurement: "°C"
state_class: measurement
device_class: temperature
recorder:
include:
entities:
- sensor.outside_temperature
history:
include:
entities:
- sensor.outside_temperature