mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add absolute humidity component (#4519)
* Import Absolute Humidity component https://PigLab.ReaperLegion.net/home-automation/hass/esphome/custom-components/absolute-humidity * Fix terminology, add some docstrings * Switch from double to float https://github.com/esphome/esphome/pull/4519#pullrequestreview-1327615169 The additional precision doesn't matter in practice. * Address code review suggestions * Lint code
This commit is contained in:
@@ -1229,6 +1229,10 @@ sensor:
|
||||
model: 1005
|
||||
update_interval: 60s
|
||||
i2c_id: i2c_bus
|
||||
- platform: absolute_humidity
|
||||
name: DHT Absolute Humidity
|
||||
temperature: dht_temperature
|
||||
humidity: dht_humidity
|
||||
|
||||
esp32_touch:
|
||||
setup_mode: false
|
||||
|
Reference in New Issue
Block a user