Closed cuthulino closed 6 months ago
How can you tell it isn't working?
Adding or removing the filter does not alter the sensor value. I tried with a high, good recognizable offset value and the output value in esphome logs and homeassistant do not change.
Add an on_raw_value:
trigger to print the raw value and show the logs.
After adding the logger lines i got this output:
[E][main:101]: The temperature sensor reports raw_value 22.8
[E][main:095]: The temperature sensor reports value 23.5
So the offset is set.
Strange is the reported Temp in Homeassistant, it stepped up after I added the on_raw_value
line:
The problem
I am using the following config for reading an aht sensor. It needs a little offset but it is not working with this platform.
Testing it with a template sensor works without problems:
I already read that sometimes, after flashing via the cable, the offset works. I tried it but it doesnt work.
Which version of ESPHome has the issue?
2024.3.1
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32
Board
Espressif ESP-32 / ESP-WROOM-32
Component causing the issue
sensor/aht10
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response