diff --git a/boneio-8x10A_gen2_lights-v0_1.yaml b/boneio-8x10A_gen2_lights-v0_1.yaml index 01eaa67..7ac2e15 100644 --- a/boneio-8x10A_gen2_lights-v0_1.yaml +++ b/boneio-8x10A_gen2_lights-v0_1.yaml @@ -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 \ No newline at end of file + inverted: true + on_press: + then: + - light.toggle: light_08 \ No newline at end of file