periodic push
This commit is contained in:
26
esphome/sensors/dht.yaml
Executable file
26
esphome/sensors/dht.yaml
Executable file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
sensor:
|
||||
# DHT
|
||||
- platform: dht
|
||||
pin: 16
|
||||
model: dht11
|
||||
temperature:
|
||||
name: '${device_name} DHT Temperature'
|
||||
unit_of_measurement: '°C'
|
||||
icon: 'mdi:thermometer'
|
||||
device_class: 'temperature'
|
||||
state_class: 'measurement'
|
||||
accuracy_decimals: 1
|
||||
# filters: # uncomment after calibration
|
||||
# - offset: -2.3 # offset in °C for the measured temperature
|
||||
humidity:
|
||||
name: '${device_name} DHT Humidity'
|
||||
unit_of_measurement: '%'
|
||||
icon: 'mdi:cloud-percent'
|
||||
device_class: 'humidity'
|
||||
state_class: 'measurement'
|
||||
accuracy_decimals: 1
|
||||
# filters: # uncomment after calibration
|
||||
# - offset: -2.3 # offset in °C for the measured temperature
|
||||
setup_priority: -100
|
||||
update_interval: ${update_interval}
|
||||
Reference in New Issue
Block a user