mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 19:18:09 +01:00
26 lines
428 B
YAML
26 lines
428 B
YAML
|
i2c:
|
||
|
- id: i2c_emc2101
|
||
|
scl: 5
|
||
|
sda: 4
|
||
|
|
||
|
emc2101:
|
||
|
pwm:
|
||
|
resolution: 8
|
||
|
|
||
|
output:
|
||
|
- platform: emc2101
|
||
|
id: fan_duty_cycle
|
||
|
|
||
|
sensor:
|
||
|
- platform: emc2101
|
||
|
internal_temperature:
|
||
|
id: internal_temperature_sensor
|
||
|
name: Internal Temperature Sensor
|
||
|
speed:
|
||
|
id: speed_sensor
|
||
|
name: Speed Sensor
|
||
|
duty_cycle:
|
||
|
id: duty_cycle_sensor
|
||
|
name: Duty Cycle Sensor
|
||
|
update_interval: 5s
|