On my hass page it will only show either the temperature or the humidity never both. After restarting hass it sometimes shows temp or some time humidity. it will only show the other if I restart hass.
sensor:
- platform: dht
sensor: DHT22
pin: 23
name : Lair
monitored_conditions:
- temperature
- humidity
binary_sensor:
- platform: rpi_gpio
ports:
21: Lair Door
20: Garage Door
invert_logic: true
switch:
- platform: rpi_gpio
ports:
14: Lair Light Electronics Bench
15: Lair Light Gun Bench