mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 13:00:27 +02:00
update 8x10A on_press action
This commit is contained in:
@@ -210,6 +210,9 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_01
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_02'
|
||||
@@ -220,6 +223,9 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_02
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_03'
|
||||
@@ -230,6 +236,9 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_03
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_04'
|
||||
@@ -240,6 +249,9 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_04
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_05'
|
||||
@@ -250,6 +262,9 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_05
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_06'
|
||||
@@ -260,6 +275,9 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_06
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_07'
|
||||
@@ -270,6 +288,9 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_07
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_08'
|
||||
@@ -279,4 +300,7 @@ binary_sensor:
|
||||
number: 7
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- light.toggle: light_08
|
||||
Reference in New Issue
Block a user