Closed TCPMeta closed 3 years ago
The log entry is dht
component and the sensor filter has no effect on how the dht
components log values.
This is not an issue, it is working as designed. :)
If you are using Home Assistant this does not matter for the logs or even the sensor value is in Celsius. Home Assistant will automatically adjust temperature sensors from Celsius to Fahrenheit if configured to do so.
this answer is correct, closing
Operating environment/Installation (Hass.io/Docker/pip/etc.):
ESP8266MOD ESP (ESP32/ESP8266, Board/Sonoff):
Latest Production ESPHome version (latest production, beta, dev branch)
Affected component:
https://esphome.io/components/sensor/dht.html https://esphome.io/components/sensor/index.html#sensor-filters
Description of problem: Converted Celsius to Fahrenheit but still gives me a Celsius output. For a example it's around 68 Degrees Fahrenheit but the output says 20F but if I convert the so called 20F it says 68.
Problem-relevant YAML-configuration entries:
Logs (if applicable):
[11:12:24][C][logger:186]: Level: DEBUG [11:12:24][C][logger:187]: Log Baud Rate: 115200 [11:12:24][C][logger:188]: Hardware UART: UART0
[11:12:24][C][dht:018]: Pin: GPIO5 (Mode: INPUT) [11:12:24][C][dht:022]: Model: DHT11 [11:12:24][C][dht:027]: Update Interval: 60.0s
[11:12:24][C][dht:029]: Unit of Measurement: '°F' [11:12:24][C][dht:029]: Accuracy Decimals: 1
[11:12:24][C][dht:030]: Unit of Measurement: '%' [11:12:24][C][dht:030]: Accuracy Decimals: 0
[11:12:24][C][captive_portal:169]: Captive Portal: [11:12:24][C][ota:029]: Over-The-Air Updates: [11:12:24][C][ota:030]: Address: magicmirror.local:8266 [11:12:24][C][ota:032]: Using Password. [11:12:24][C][api:095]: API Server: [11:12:24][C][api:096]: Address: magicmirror.local:6053
Additional information and things you've tried: Replaced the Sensor, Tried different GPIO pins and tried a different ESP Module, Yelled at it, spit on it and hitting it.