mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add some components to the new testing framework (T) (#6229)
This commit is contained in:
21
tests/components/tm1651/test.esp32-c3.yaml
Normal file
21
tests/components/tm1651/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
21
tests/components/tm1651/test.esp32.yaml
Normal file
21
tests/components/tm1651/test.esp32.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
21
tests/components/tm1651/test.esp8266.yaml
Normal file
21
tests/components/tm1651/test.esp8266.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
21
tests/components/tm1651/test.rp2040.yaml
Normal file
21
tests/components/tm1651/test.rp2040.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
tm1651:
|
||||
id: tm1651_battery
|
||||
clk_pin: 5
|
||||
dio_pin: 4
|
||||
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tm1651.set_level_percent:
|
||||
id: tm1651_battery
|
||||
level_percent: 50
|
||||
- tm1651.set_level:
|
||||
id: tm1651_battery
|
||||
level: 5
|
||||
- tm1651.set_brightness:
|
||||
id: tm1651_battery
|
||||
brightness: 2
|
||||
- tm1651.turn_on:
|
||||
id: tm1651_battery
|
||||
- tm1651.turn_off:
|
||||
id: tm1651_battery
|
Reference in New Issue
Block a user