mirror of
https://github.com/esphome/esphome.git
synced 2025-02-13 16:38:18 +00:00
17 lines
240 B
YAML
17 lines
240 B
YAML
|
i2c:
|
||
|
- id: i2c_hm3301
|
||
|
scl: ${scl_pin}
|
||
|
sda: ${sda_pin}
|
||
|
|
||
|
sensor:
|
||
|
- platform: hm3301
|
||
|
pm_1_0:
|
||
|
name: PM1.0
|
||
|
pm_2_5:
|
||
|
name: PM2.5
|
||
|
pm_10_0:
|
||
|
name: PM10.0
|
||
|
aqi:
|
||
|
name: AQI
|
||
|
calculation_type: CAQI
|