esphome/tests/components/npi19/common.yaml

17 lines
242 B
YAML
Raw Permalink Normal View History

i2c:
id: i2c_bus
scl: ${scl_pin}
sda: ${sda_pin}
frequency: 200kHz
sensor:
- platform: npi19
update_interval: 1s
i2c_id: i2c_bus
temperature:
name: water temperature
raw_pressure:
name: water pressure