mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 07:24:54 +01:00
20 lines
292 B
YAML
20 lines
292 B
YAML
i2c:
|
|
sda: GPIO6
|
|
scl: GPIO7
|
|
scan: true
|
|
|
|
gp8211:
|
|
id: my_gp8211
|
|
voltage: 10V
|
|
|
|
output:
|
|
- platform: gp8211
|
|
id: dac_output
|
|
gp8211_id: my_gp8211
|
|
|
|
light:
|
|
- platform: monochromatic
|
|
name: "Light"
|
|
output: dac_output
|
|
default_transition_length: 0s
|
|
gamma_correct: 1.0
|