Hello,
I already used the search function and also found the thread https://community.home-assistant.io/t/add-temp-offset-with-sensor-template/16114.
But I don’ t get it working.
How can I add a offset to my sensor data?
How can I hide the sensor DHT22 and only show the sensor value from the template?
From where do I get these entity_id, I found them in the database, is it the right way to get the names?
sensor:
- platform: dht
sensor: DHT22
pin: 4
monitored_conditions:
- temperature
- humidity
- platform: template
sensors:
dht_sensor_humidity:
value_template: '{{states.sensor.dht_sensor_humidity.state | float + 4}}'
friendly_name: 'Test'