diff --git a/tests/components/max7219digit/test.esp32-ard.yaml b/tests/components/max7219digit/test.esp32-ard.yaml index 7f3aed964a..6ea6e4b566 100644 --- a/tests/components/max7219digit/test.esp32-ard.yaml +++ b/tests/components/max7219digit/test.esp32-ard.yaml @@ -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 diff --git a/tests/components/max7219digit/test.esp32-c3-ard.yaml b/tests/components/max7219digit/test.esp32-c3-ard.yaml index 0c04784380..c369489038 100644 --- a/tests/components/max7219digit/test.esp32-c3-ard.yaml +++ b/tests/components/max7219digit/test.esp32-c3-ard.yaml @@ -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 diff --git a/tests/components/max7219digit/test.esp32-c3-idf.yaml b/tests/components/max7219digit/test.esp32-c3-idf.yaml index 0c04784380..c369489038 100644 --- a/tests/components/max7219digit/test.esp32-c3-idf.yaml +++ b/tests/components/max7219digit/test.esp32-c3-idf.yaml @@ -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 diff --git a/tests/components/max7219digit/test.esp32-idf.yaml b/tests/components/max7219digit/test.esp32-idf.yaml index 7f3aed964a..6ea6e4b566 100644 --- a/tests/components/max7219digit/test.esp32-idf.yaml +++ b/tests/components/max7219digit/test.esp32-idf.yaml @@ -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 diff --git a/tests/components/max7219digit/test.esp8266-ard.yaml b/tests/components/max7219digit/test.esp8266-ard.yaml index 52587e8b0e..f96efa4fd8 100644 --- a/tests/components/max7219digit/test.esp8266-ard.yaml +++ b/tests/components/max7219digit/test.esp8266-ard.yaml @@ -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 diff --git a/tests/components/max7219digit/test.rp2040-ard.yaml b/tests/components/max7219digit/test.rp2040-ard.yaml index f986483ec2..6777cf2103 100644 --- a/tests/components/max7219digit/test.rp2040-ard.yaml +++ b/tests/components/max7219digit/test.rp2040-ard.yaml @@ -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