I have updated Home Assistant to version 2021.05.
Fo the AM2302 DTH Temperature and Humidity sensor connected to the Raspberry PI 4 GPIO I have updated the pin number with the “D”.
Now the integration not give data (unknown state).
The log for the component say : “[homeassistant.components.dht.sensor] Unexpected value from DHT sensor:”
The integration page ( DHT Sensor - Home Assistant (home-assistant.io))warn to install libgpiod2 before.
I have Home Assistant OS and I ask how I can install this library with command: sudo apt install libgpiod2
.
Otherwise I don’t know why with the latest version of Home Assistant the integration does not work.
Thanks in advance.