芯片型号
esp32c3
代码
sensor:
- platform: dht
pin: GPIO2
temperature:
name: "Temp"
humidity:
name: "Hum"
update_interval: 60s
model: DHT11
esp32c3
sensor:
- platform: dht
pin: GPIO2
temperature:
name: "Temp"
humidity:
name: "Hum"
update_interval: 60s
model: DHT11