@akyjoe did you find a solution for this issue? I am trying to connect two sensors (BME280 and AM2320) to Home Assistant but haven´t got any luck with any of them yet.
You mentioned you were using one AM2302 and it was working fine, did you connect it using I2C or single bus?
Hey. Sorry, this topic is pretty old hence it would be hard to recall everything. But attaching 2 sensors that is BME280 and AM2320/DHT22 to Hassio on RPI3 never worked together. BME280 did work using default i2c address “0x76” after few reboots. Where AM2320 worked with GPIO 4, where I have DHT11 installed now.
Later on, I figured a better approach for connecting multiple sensors including AM2320, BME280 and MQ-135 using NodeMcu and fetching data in Hassio via MQTT protocol.
Like I mentioned above, I am now using DHT11 instead of AM2320 with a similar code snippet which you have attached above. And here are the screens below for temperature and humidity values logged.
You can see the fluctuations are very frequent in the case of temperature and very less in the case of humidity. But higher values in the graph are true, as I used an alternative temperature monitor to check accuracy. So, I guess this is common (problem/situation) in your case as well as mine.