I need to set up a DHT sensor. I have it connected to PIN 23, but when I try to start HA I get an error with the configuration.yam file.
Could you tell me how to configure it from scratch?
I’m just trying to do it with the instructions on the official website:
# Example configuration.yaml entry
sensor:
platform: dht
sensor: DHT22
pin: 23
monitored_conditions:
- temperature
- humidity
Thanks