Hello.
I have that part of the yaml file
i2c:
sda: D2
scl: D1
scan: True
id: i2c_bus
pcf8574:
- id: pcf_expander
address: 0x38
light:
- platform: gpio
name: ${devicename} - left bulb
id: relay_1
pin:
pcf8574: pcf_expander
number: 4
# One of INPUT, INPUT_PULLUP or OUTPUT
mode: OUTPUT
inverted: True
unfortunately gets a mistake
Failed config
light.gpio: [source bathroom.yaml:48]
Platform not found: 'light.gpio'.
platform: gpio
name: wemos_bathroom - left bulb
id: relay_1
pin:
pcf8574: pcf_expander
number: 4
mode: OUTPUT
inverted: True
what I’m doing wrong