mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
adding test for the new actions
This commit is contained in:
parent
ad2364e430
commit
3c2af89756
6 changed files with 114 additions and 0 deletions
|
@ -14,3 +14,22 @@ display:
|
|||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO00
|
||||
name: None
|
||||
on_press:
|
||||
then:
|
||||
- MAX7219.invert_off: my_matrix
|
||||
- MAX7219.invert_on: my_matrix
|
||||
|
||||
- MAX7219.turn_off: my_matrix
|
||||
- MAX7219.turn_on: my_matrix
|
||||
|
||||
- MAX7219.reverse_off: my_matrix
|
||||
- MAX7219.reverse_on: my_matrix
|
||||
|
||||
- MAX7219.intensity:
|
||||
id: my_matrix
|
||||
intensity: 4
|
||||
|
|
|
@ -14,3 +14,22 @@ display:
|
|||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO00
|
||||
name: None
|
||||
on_press:
|
||||
then:
|
||||
- MAX7219.invert_off: my_matrix
|
||||
- MAX7219.invert_on: my_matrix
|
||||
|
||||
- MAX7219.turn_off: my_matrix
|
||||
- MAX7219.turn_on: my_matrix
|
||||
|
||||
- MAX7219.reverse_off: my_matrix
|
||||
- MAX7219.reverse_on: my_matrix
|
||||
|
||||
- MAX7219.intensity:
|
||||
id: my_matrix
|
||||
intensity: 4
|
||||
|
|
|
@ -14,3 +14,22 @@ display:
|
|||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO00
|
||||
name: None
|
||||
on_press:
|
||||
then:
|
||||
- MAX7219.invert_off: my_matrix
|
||||
- MAX7219.invert_on: my_matrix
|
||||
|
||||
- MAX7219.turn_off: my_matrix
|
||||
- MAX7219.turn_on: my_matrix
|
||||
|
||||
- MAX7219.reverse_off: my_matrix
|
||||
- MAX7219.reverse_on: my_matrix
|
||||
|
||||
- MAX7219.intensity:
|
||||
id: my_matrix
|
||||
intensity: 4
|
||||
|
|
|
@ -14,3 +14,22 @@ display:
|
|||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO00
|
||||
name: None
|
||||
on_press:
|
||||
then:
|
||||
- MAX7219.invert_off: my_matrix
|
||||
- MAX7219.invert_on: my_matrix
|
||||
|
||||
- MAX7219.turn_off: my_matrix
|
||||
- MAX7219.turn_on: my_matrix
|
||||
|
||||
- MAX7219.reverse_off: my_matrix
|
||||
- MAX7219.reverse_on: my_matrix
|
||||
|
||||
- MAX7219.intensity:
|
||||
id: my_matrix
|
||||
intensity: 4
|
||||
|
|
|
@ -14,3 +14,22 @@ display:
|
|||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO00
|
||||
name: None
|
||||
on_press:
|
||||
then:
|
||||
- MAX7219.invert_off: my_matrix
|
||||
- MAX7219.invert_on: my_matrix
|
||||
|
||||
- MAX7219.turn_off: my_matrix
|
||||
- MAX7219.turn_on: my_matrix
|
||||
|
||||
- MAX7219.reverse_off: my_matrix
|
||||
- MAX7219.reverse_on: my_matrix
|
||||
|
||||
- MAX7219.intensity:
|
||||
id: my_matrix
|
||||
intensity: 4
|
||||
|
|
|
@ -14,3 +14,22 @@ display:
|
|||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO00
|
||||
name: None
|
||||
on_press:
|
||||
then:
|
||||
- MAX7219.invert_off: my_matrix
|
||||
- MAX7219.invert_on: my_matrix
|
||||
|
||||
- MAX7219.turn_off: my_matrix
|
||||
- MAX7219.turn_on: my_matrix
|
||||
|
||||
- MAX7219.reverse_off: my_matrix
|
||||
- MAX7219.reverse_on: my_matrix
|
||||
|
||||
- MAX7219.intensity:
|
||||
id: my_matrix
|
||||
intensity: 4
|
||||
|
|
Loading…
Reference in a new issue