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:
ankycooper 2019-11-08 08:36:08 +11:00 committed by Otto Winter
parent 08cc779dea
commit 289f9e8f52
1 changed files with 13 additions and 0 deletions

View File

@ -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
**************