mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-04-03 18:16:47 +02:00
Update Mirabella Genio red LED GPIO (#406)
Update 3.2 Mirabella Genio Wi-Fi 1 USB Adaptor to use red LED on GPIO4
This commit is contained in:
parent
08cc779dea
commit
289f9e8f52
@ -211,11 +211,24 @@ which these adaptions created by `@cryptelli <https://community.home-assistant.i
|
||||
name: Status
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: red_led
|
||||
pin:
|
||||
number: GPIO4
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: "Mirabella Genio Smart Plug"
|
||||
pin: GPIO12
|
||||
id: relay
|
||||
|
||||
# Turn on red LED
|
||||
on_turn_on:
|
||||
- switch.turn_on: red_led
|
||||
|
||||
# Turns off red LED
|
||||
on_turn_off:
|
||||
- switch.turn_off: red_led
|
||||
|
||||
3.3 Gosund SP1
|
||||
**************
|
||||
|
Loading…
Reference in New Issue
Block a user