mirror of
https://github.com/esphome/esphome.git
synced 2025-01-04 18:47:43 +01:00
Add some components to the new testing framework (F) (#6177)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
952ccf554b
commit
0948a3c306
3
tests/components/factory_reset/test.esp32-c3-idf.yaml
Normal file
3
tests/components/factory_reset/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
button:
|
||||||
|
- platform: factory_reset
|
||||||
|
name: Reset to Factory Default Settings
|
3
tests/components/factory_reset/test.esp32-c3.yaml
Normal file
3
tests/components/factory_reset/test.esp32-c3.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
button:
|
||||||
|
- platform: factory_reset
|
||||||
|
name: Reset to Factory Default Settings
|
3
tests/components/factory_reset/test.esp32-idf.yaml
Normal file
3
tests/components/factory_reset/test.esp32-idf.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
button:
|
||||||
|
- platform: factory_reset
|
||||||
|
name: Reset to Factory Default Settings
|
3
tests/components/factory_reset/test.esp32.yaml
Normal file
3
tests/components/factory_reset/test.esp32.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
button:
|
||||||
|
- platform: factory_reset
|
||||||
|
name: Reset to Factory Default Settings
|
3
tests/components/factory_reset/test.esp8266.yaml
Normal file
3
tests/components/factory_reset/test.esp8266.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
button:
|
||||||
|
- platform: factory_reset
|
||||||
|
name: Reset to Factory Default Settings
|
3
tests/components/factory_reset/test.rp2040.yaml
Normal file
3
tests/components/factory_reset/test.rp2040.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
button:
|
||||||
|
- platform: factory_reset
|
||||||
|
name: Reset to Factory Default Settings
|
71
tests/components/fastled_clockless/test.esp32.yaml
Normal file
71
tests/components/fastled_clockless/test.esp32.yaml
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
light:
|
||||||
|
- platform: fastled_clockless
|
||||||
|
id: addr1
|
||||||
|
chipset: WS2811
|
||||||
|
pin: 13
|
||||||
|
num_leds: 100
|
||||||
|
rgb_order: BRG
|
||||||
|
max_refresh_rate: 20ms
|
||||||
|
color_correct: [75%, 100%, 50%]
|
||||||
|
name: FastLED WS2811 Light
|
||||||
|
effects:
|
||||||
|
- addressable_color_wipe:
|
||||||
|
- addressable_color_wipe:
|
||||||
|
name: Color Wipe Effect With Custom Values
|
||||||
|
colors:
|
||||||
|
- red: 100%
|
||||||
|
green: 100%
|
||||||
|
blue: 100%
|
||||||
|
num_leds: 1
|
||||||
|
- red: 0%
|
||||||
|
green: 0%
|
||||||
|
blue: 0%
|
||||||
|
num_leds: 1
|
||||||
|
add_led_interval: 100ms
|
||||||
|
reverse: false
|
||||||
|
- addressable_scan:
|
||||||
|
- addressable_scan:
|
||||||
|
name: Scan Effect With Custom Values
|
||||||
|
move_interval: 100ms
|
||||||
|
- addressable_twinkle:
|
||||||
|
- addressable_twinkle:
|
||||||
|
name: Twinkle Effect With Custom Values
|
||||||
|
twinkle_probability: 5%
|
||||||
|
progress_interval: 4ms
|
||||||
|
- addressable_random_twinkle:
|
||||||
|
- addressable_random_twinkle:
|
||||||
|
name: Random Twinkle Effect With Custom Values
|
||||||
|
twinkle_probability: 5%
|
||||||
|
progress_interval: 32ms
|
||||||
|
- addressable_fireworks:
|
||||||
|
- addressable_fireworks:
|
||||||
|
name: Fireworks Effect With Custom Values
|
||||||
|
update_interval: 32ms
|
||||||
|
spark_probability: 10%
|
||||||
|
use_random_color: false
|
||||||
|
fade_out_rate: 120
|
||||||
|
- addressable_flicker:
|
||||||
|
- addressable_flicker:
|
||||||
|
name: Flicker Effect With Custom Values
|
||||||
|
update_interval: 16ms
|
||||||
|
intensity: 5%
|
||||||
|
- addressable_lambda:
|
||||||
|
name: Test For Custom Lambda Effect
|
||||||
|
lambda: |-
|
||||||
|
if (initial_run) {
|
||||||
|
it[0] = current_color;
|
||||||
|
}
|
||||||
|
- automation:
|
||||||
|
name: Custom Effect
|
||||||
|
sequence:
|
||||||
|
- light.addressable_set:
|
||||||
|
id: addr1
|
||||||
|
red: 100%
|
||||||
|
green: 100%
|
||||||
|
blue: 0%
|
||||||
|
- delay: 100ms
|
||||||
|
- light.addressable_set:
|
||||||
|
id: addr1
|
||||||
|
red: 0%
|
||||||
|
green: 100%
|
||||||
|
blue: 0%
|
71
tests/components/fastled_spi/test.esp32.yaml
Normal file
71
tests/components/fastled_spi/test.esp32.yaml
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
light:
|
||||||
|
- platform: fastled_spi
|
||||||
|
id: addr1
|
||||||
|
chipset: WS2801
|
||||||
|
clock_pin: 22
|
||||||
|
data_pin: 23
|
||||||
|
data_rate: 2MHz
|
||||||
|
num_leds: 60
|
||||||
|
rgb_order: BRG
|
||||||
|
name: FastLED SPI Light
|
||||||
|
effects:
|
||||||
|
- addressable_color_wipe:
|
||||||
|
- addressable_color_wipe:
|
||||||
|
name: Color Wipe Effect With Custom Values
|
||||||
|
colors:
|
||||||
|
- red: 100%
|
||||||
|
green: 100%
|
||||||
|
blue: 100%
|
||||||
|
num_leds: 1
|
||||||
|
- red: 0%
|
||||||
|
green: 0%
|
||||||
|
blue: 0%
|
||||||
|
num_leds: 1
|
||||||
|
add_led_interval: 100ms
|
||||||
|
reverse: false
|
||||||
|
- addressable_scan:
|
||||||
|
- addressable_scan:
|
||||||
|
name: Scan Effect With Custom Values
|
||||||
|
move_interval: 100ms
|
||||||
|
- addressable_twinkle:
|
||||||
|
- addressable_twinkle:
|
||||||
|
name: Twinkle Effect With Custom Values
|
||||||
|
twinkle_probability: 5%
|
||||||
|
progress_interval: 4ms
|
||||||
|
- addressable_random_twinkle:
|
||||||
|
- addressable_random_twinkle:
|
||||||
|
name: Random Twinkle Effect With Custom Values
|
||||||
|
twinkle_probability: 5%
|
||||||
|
progress_interval: 32ms
|
||||||
|
- addressable_fireworks:
|
||||||
|
- addressable_fireworks:
|
||||||
|
name: Fireworks Effect With Custom Values
|
||||||
|
update_interval: 32ms
|
||||||
|
spark_probability: 10%
|
||||||
|
use_random_color: false
|
||||||
|
fade_out_rate: 120
|
||||||
|
- addressable_flicker:
|
||||||
|
- addressable_flicker:
|
||||||
|
name: Flicker Effect With Custom Values
|
||||||
|
update_interval: 16ms
|
||||||
|
intensity: 5%
|
||||||
|
- addressable_lambda:
|
||||||
|
name: Test For Custom Lambda Effect
|
||||||
|
lambda: |-
|
||||||
|
if (initial_run) {
|
||||||
|
it[0] = current_color;
|
||||||
|
}
|
||||||
|
- automation:
|
||||||
|
name: Custom Effect
|
||||||
|
sequence:
|
||||||
|
- light.addressable_set:
|
||||||
|
id: addr1
|
||||||
|
red: 100%
|
||||||
|
green: 100%
|
||||||
|
blue: 0%
|
||||||
|
- delay: 100ms
|
||||||
|
- light.addressable_set:
|
||||||
|
id: addr1
|
||||||
|
red: 0%
|
||||||
|
green: 100%
|
||||||
|
blue: 0%
|
39
tests/components/feedback/test.esp32-c3-idf.yaml
Normal file
39
tests/components/feedback/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
id: open_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_obstacle_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_obstacle_sensor
|
||||||
|
|
||||||
|
cover:
|
||||||
|
- platform: feedback
|
||||||
|
name: Feedback Cover
|
||||||
|
id: gate
|
||||||
|
device_class: gate
|
||||||
|
infer_endstop_from_movement: false
|
||||||
|
has_built_in_endstop: false
|
||||||
|
max_duration: 30s
|
||||||
|
direction_change_wait_time: 300ms
|
||||||
|
acceleration_wait_time: 150ms
|
||||||
|
obstacle_rollback: 10%
|
||||||
|
open_duration: 22.1s
|
||||||
|
open_endstop: open_endstop_sensor
|
||||||
|
open_sensor: open_sensor
|
||||||
|
open_obstacle_sensor: open_obstacle_sensor
|
||||||
|
close_duration: 22.4s
|
||||||
|
close_endstop: close_endstop_sensor
|
||||||
|
close_sensor: close_sensor
|
||||||
|
close_obstacle_sensor: close_obstacle_sensor
|
||||||
|
open_action:
|
||||||
|
- logger.log: Open Action
|
||||||
|
close_action:
|
||||||
|
- logger.log: Close Action
|
||||||
|
stop_action:
|
||||||
|
- logger.log: Stop Action
|
39
tests/components/feedback/test.esp32-c3.yaml
Normal file
39
tests/components/feedback/test.esp32-c3.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
id: open_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_obstacle_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_obstacle_sensor
|
||||||
|
|
||||||
|
cover:
|
||||||
|
- platform: feedback
|
||||||
|
name: Feedback Cover
|
||||||
|
id: gate
|
||||||
|
device_class: gate
|
||||||
|
infer_endstop_from_movement: false
|
||||||
|
has_built_in_endstop: false
|
||||||
|
max_duration: 30s
|
||||||
|
direction_change_wait_time: 300ms
|
||||||
|
acceleration_wait_time: 150ms
|
||||||
|
obstacle_rollback: 10%
|
||||||
|
open_duration: 22.1s
|
||||||
|
open_endstop: open_endstop_sensor
|
||||||
|
open_sensor: open_sensor
|
||||||
|
open_obstacle_sensor: open_obstacle_sensor
|
||||||
|
close_duration: 22.4s
|
||||||
|
close_endstop: close_endstop_sensor
|
||||||
|
close_sensor: close_sensor
|
||||||
|
close_obstacle_sensor: close_obstacle_sensor
|
||||||
|
open_action:
|
||||||
|
- logger.log: Open Action
|
||||||
|
close_action:
|
||||||
|
- logger.log: Close Action
|
||||||
|
stop_action:
|
||||||
|
- logger.log: Stop Action
|
39
tests/components/feedback/test.esp32-idf.yaml
Normal file
39
tests/components/feedback/test.esp32-idf.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
id: open_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_obstacle_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_obstacle_sensor
|
||||||
|
|
||||||
|
cover:
|
||||||
|
- platform: feedback
|
||||||
|
name: Feedback Cover
|
||||||
|
id: gate
|
||||||
|
device_class: gate
|
||||||
|
infer_endstop_from_movement: false
|
||||||
|
has_built_in_endstop: false
|
||||||
|
max_duration: 30s
|
||||||
|
direction_change_wait_time: 300ms
|
||||||
|
acceleration_wait_time: 150ms
|
||||||
|
obstacle_rollback: 10%
|
||||||
|
open_duration: 22.1s
|
||||||
|
open_endstop: open_endstop_sensor
|
||||||
|
open_sensor: open_sensor
|
||||||
|
open_obstacle_sensor: open_obstacle_sensor
|
||||||
|
close_duration: 22.4s
|
||||||
|
close_endstop: close_endstop_sensor
|
||||||
|
close_sensor: close_sensor
|
||||||
|
close_obstacle_sensor: close_obstacle_sensor
|
||||||
|
open_action:
|
||||||
|
- logger.log: Open Action
|
||||||
|
close_action:
|
||||||
|
- logger.log: Close Action
|
||||||
|
stop_action:
|
||||||
|
- logger.log: Stop Action
|
39
tests/components/feedback/test.esp32.yaml
Normal file
39
tests/components/feedback/test.esp32.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
id: open_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_obstacle_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_obstacle_sensor
|
||||||
|
|
||||||
|
cover:
|
||||||
|
- platform: feedback
|
||||||
|
name: Feedback Cover
|
||||||
|
id: gate
|
||||||
|
device_class: gate
|
||||||
|
infer_endstop_from_movement: false
|
||||||
|
has_built_in_endstop: false
|
||||||
|
max_duration: 30s
|
||||||
|
direction_change_wait_time: 300ms
|
||||||
|
acceleration_wait_time: 150ms
|
||||||
|
obstacle_rollback: 10%
|
||||||
|
open_duration: 22.1s
|
||||||
|
open_endstop: open_endstop_sensor
|
||||||
|
open_sensor: open_sensor
|
||||||
|
open_obstacle_sensor: open_obstacle_sensor
|
||||||
|
close_duration: 22.4s
|
||||||
|
close_endstop: close_endstop_sensor
|
||||||
|
close_sensor: close_sensor
|
||||||
|
close_obstacle_sensor: close_obstacle_sensor
|
||||||
|
open_action:
|
||||||
|
- logger.log: Open Action
|
||||||
|
close_action:
|
||||||
|
- logger.log: Close Action
|
||||||
|
stop_action:
|
||||||
|
- logger.log: Stop Action
|
39
tests/components/feedback/test.esp8266.yaml
Normal file
39
tests/components/feedback/test.esp8266.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
id: open_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_obstacle_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_obstacle_sensor
|
||||||
|
|
||||||
|
cover:
|
||||||
|
- platform: feedback
|
||||||
|
name: Feedback Cover
|
||||||
|
id: gate
|
||||||
|
device_class: gate
|
||||||
|
infer_endstop_from_movement: false
|
||||||
|
has_built_in_endstop: false
|
||||||
|
max_duration: 30s
|
||||||
|
direction_change_wait_time: 300ms
|
||||||
|
acceleration_wait_time: 150ms
|
||||||
|
obstacle_rollback: 10%
|
||||||
|
open_duration: 22.1s
|
||||||
|
open_endstop: open_endstop_sensor
|
||||||
|
open_sensor: open_sensor
|
||||||
|
open_obstacle_sensor: open_obstacle_sensor
|
||||||
|
close_duration: 22.4s
|
||||||
|
close_endstop: close_endstop_sensor
|
||||||
|
close_sensor: close_sensor
|
||||||
|
close_obstacle_sensor: close_obstacle_sensor
|
||||||
|
open_action:
|
||||||
|
- logger.log: Open Action
|
||||||
|
close_action:
|
||||||
|
- logger.log: Close Action
|
||||||
|
stop_action:
|
||||||
|
- logger.log: Stop Action
|
39
tests/components/feedback/test.rp2040.yaml
Normal file
39
tests/components/feedback/test.rp2040.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
id: open_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_sensor
|
||||||
|
- platform: template
|
||||||
|
id: open_obstacle_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_endstop_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_sensor
|
||||||
|
- platform: template
|
||||||
|
id: close_obstacle_sensor
|
||||||
|
|
||||||
|
cover:
|
||||||
|
- platform: feedback
|
||||||
|
name: Feedback Cover
|
||||||
|
id: gate
|
||||||
|
device_class: gate
|
||||||
|
infer_endstop_from_movement: false
|
||||||
|
has_built_in_endstop: false
|
||||||
|
max_duration: 30s
|
||||||
|
direction_change_wait_time: 300ms
|
||||||
|
acceleration_wait_time: 150ms
|
||||||
|
obstacle_rollback: 10%
|
||||||
|
open_duration: 22.1s
|
||||||
|
open_endstop: open_endstop_sensor
|
||||||
|
open_sensor: open_sensor
|
||||||
|
open_obstacle_sensor: open_obstacle_sensor
|
||||||
|
close_duration: 22.4s
|
||||||
|
close_endstop: close_endstop_sensor
|
||||||
|
close_sensor: close_sensor
|
||||||
|
close_obstacle_sensor: close_obstacle_sensor
|
||||||
|
open_action:
|
||||||
|
- logger.log: Open Action
|
||||||
|
close_action:
|
||||||
|
- logger.log: Close Action
|
||||||
|
stop_action:
|
||||||
|
- logger.log: Stop Action
|
56
tests/components/fingerprint_grow/test.esp32-c3-idf.yaml
Normal file
56
tests/components/fingerprint_grow/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
then:
|
||||||
|
- fingerprint_grow.enroll:
|
||||||
|
finger_id: 2
|
||||||
|
num_scans: 2
|
||||||
|
- fingerprint_grow.cancel_enroll:
|
||||||
|
- fingerprint_grow.delete:
|
||||||
|
finger_id: 2
|
||||||
|
- fingerprint_grow.delete_all:
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_fingerprint_grow
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 57600
|
||||||
|
|
||||||
|
fingerprint_grow:
|
||||||
|
sensing_pin: 6
|
||||||
|
password: 0x12FE37DC
|
||||||
|
new_password: 0xA65B9840
|
||||||
|
on_finger_scan_start:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_start
|
||||||
|
on_finger_scan_invalid:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_invalid
|
||||||
|
on_finger_scan_matched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_matched
|
||||||
|
on_finger_scan_unmatched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_unmatched
|
||||||
|
on_finger_scan_misplaced:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_misplaced
|
||||||
|
on_enrollment_scan:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_scan
|
||||||
|
on_enrollment_done:
|
||||||
|
- logger.log: test_fingerprint_grow_node_enrollment_done
|
||||||
|
on_enrollment_failed:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_failed
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
name: Fingerprint Enrolling
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
fingerprint_count:
|
||||||
|
name: Fingerprint Count
|
||||||
|
status:
|
||||||
|
name: Fingerprint Status
|
||||||
|
capacity:
|
||||||
|
name: Fingerprint Capacity
|
||||||
|
security_level:
|
||||||
|
name: Fingerprint Security Level
|
||||||
|
last_finger_id:
|
||||||
|
name: Fingerprint Last Finger ID
|
||||||
|
last_confidence:
|
||||||
|
name: Fingerprint Last Confidence
|
56
tests/components/fingerprint_grow/test.esp32-c3.yaml
Normal file
56
tests/components/fingerprint_grow/test.esp32-c3.yaml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
then:
|
||||||
|
- fingerprint_grow.enroll:
|
||||||
|
finger_id: 2
|
||||||
|
num_scans: 2
|
||||||
|
- fingerprint_grow.cancel_enroll:
|
||||||
|
- fingerprint_grow.delete:
|
||||||
|
finger_id: 2
|
||||||
|
- fingerprint_grow.delete_all:
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_fingerprint_grow
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 57600
|
||||||
|
|
||||||
|
fingerprint_grow:
|
||||||
|
sensing_pin: 6
|
||||||
|
password: 0x12FE37DC
|
||||||
|
new_password: 0xA65B9840
|
||||||
|
on_finger_scan_start:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_start
|
||||||
|
on_finger_scan_invalid:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_invalid
|
||||||
|
on_finger_scan_matched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_matched
|
||||||
|
on_finger_scan_unmatched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_unmatched
|
||||||
|
on_finger_scan_misplaced:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_misplaced
|
||||||
|
on_enrollment_scan:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_scan
|
||||||
|
on_enrollment_done:
|
||||||
|
- logger.log: test_fingerprint_grow_node_enrollment_done
|
||||||
|
on_enrollment_failed:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_failed
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
name: Fingerprint Enrolling
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
fingerprint_count:
|
||||||
|
name: Fingerprint Count
|
||||||
|
status:
|
||||||
|
name: Fingerprint Status
|
||||||
|
capacity:
|
||||||
|
name: Fingerprint Capacity
|
||||||
|
security_level:
|
||||||
|
name: Fingerprint Security Level
|
||||||
|
last_finger_id:
|
||||||
|
name: Fingerprint Last Finger ID
|
||||||
|
last_confidence:
|
||||||
|
name: Fingerprint Last Confidence
|
56
tests/components/fingerprint_grow/test.esp32-idf.yaml
Normal file
56
tests/components/fingerprint_grow/test.esp32-idf.yaml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
then:
|
||||||
|
- fingerprint_grow.enroll:
|
||||||
|
finger_id: 2
|
||||||
|
num_scans: 2
|
||||||
|
- fingerprint_grow.cancel_enroll:
|
||||||
|
- fingerprint_grow.delete:
|
||||||
|
finger_id: 2
|
||||||
|
- fingerprint_grow.delete_all:
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_fingerprint_grow
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 57600
|
||||||
|
|
||||||
|
fingerprint_grow:
|
||||||
|
sensing_pin: 18
|
||||||
|
password: 0x12FE37DC
|
||||||
|
new_password: 0xA65B9840
|
||||||
|
on_finger_scan_start:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_start
|
||||||
|
on_finger_scan_invalid:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_invalid
|
||||||
|
on_finger_scan_matched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_matched
|
||||||
|
on_finger_scan_unmatched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_unmatched
|
||||||
|
on_finger_scan_misplaced:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_misplaced
|
||||||
|
on_enrollment_scan:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_scan
|
||||||
|
on_enrollment_done:
|
||||||
|
- logger.log: test_fingerprint_grow_node_enrollment_done
|
||||||
|
on_enrollment_failed:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_failed
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
name: Fingerprint Enrolling
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
fingerprint_count:
|
||||||
|
name: Fingerprint Count
|
||||||
|
status:
|
||||||
|
name: Fingerprint Status
|
||||||
|
capacity:
|
||||||
|
name: Fingerprint Capacity
|
||||||
|
security_level:
|
||||||
|
name: Fingerprint Security Level
|
||||||
|
last_finger_id:
|
||||||
|
name: Fingerprint Last Finger ID
|
||||||
|
last_confidence:
|
||||||
|
name: Fingerprint Last Confidence
|
56
tests/components/fingerprint_grow/test.esp32.yaml
Normal file
56
tests/components/fingerprint_grow/test.esp32.yaml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
then:
|
||||||
|
- fingerprint_grow.enroll:
|
||||||
|
finger_id: 2
|
||||||
|
num_scans: 2
|
||||||
|
- fingerprint_grow.cancel_enroll:
|
||||||
|
- fingerprint_grow.delete:
|
||||||
|
finger_id: 2
|
||||||
|
- fingerprint_grow.delete_all:
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_fingerprint_grow
|
||||||
|
tx_pin: 17
|
||||||
|
rx_pin: 16
|
||||||
|
baud_rate: 57600
|
||||||
|
|
||||||
|
fingerprint_grow:
|
||||||
|
sensing_pin: 18
|
||||||
|
password: 0x12FE37DC
|
||||||
|
new_password: 0xA65B9840
|
||||||
|
on_finger_scan_start:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_start
|
||||||
|
on_finger_scan_invalid:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_invalid
|
||||||
|
on_finger_scan_matched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_matched
|
||||||
|
on_finger_scan_unmatched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_unmatched
|
||||||
|
on_finger_scan_misplaced:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_misplaced
|
||||||
|
on_enrollment_scan:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_scan
|
||||||
|
on_enrollment_done:
|
||||||
|
- logger.log: test_fingerprint_grow_node_enrollment_done
|
||||||
|
on_enrollment_failed:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_failed
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
name: Fingerprint Enrolling
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
fingerprint_count:
|
||||||
|
name: Fingerprint Count
|
||||||
|
status:
|
||||||
|
name: Fingerprint Status
|
||||||
|
capacity:
|
||||||
|
name: Fingerprint Capacity
|
||||||
|
security_level:
|
||||||
|
name: Fingerprint Security Level
|
||||||
|
last_finger_id:
|
||||||
|
name: Fingerprint Last Finger ID
|
||||||
|
last_confidence:
|
||||||
|
name: Fingerprint Last Confidence
|
56
tests/components/fingerprint_grow/test.esp8266.yaml
Normal file
56
tests/components/fingerprint_grow/test.esp8266.yaml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
then:
|
||||||
|
- fingerprint_grow.enroll:
|
||||||
|
finger_id: 2
|
||||||
|
num_scans: 2
|
||||||
|
- fingerprint_grow.cancel_enroll:
|
||||||
|
- fingerprint_grow.delete:
|
||||||
|
finger_id: 2
|
||||||
|
- fingerprint_grow.delete_all:
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_fingerprint_grow
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 57600
|
||||||
|
|
||||||
|
fingerprint_grow:
|
||||||
|
sensing_pin: 16
|
||||||
|
password: 0x12FE37DC
|
||||||
|
new_password: 0xA65B9840
|
||||||
|
on_finger_scan_start:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_start
|
||||||
|
on_finger_scan_invalid:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_invalid
|
||||||
|
on_finger_scan_matched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_matched
|
||||||
|
on_finger_scan_unmatched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_unmatched
|
||||||
|
on_finger_scan_misplaced:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_misplaced
|
||||||
|
on_enrollment_scan:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_scan
|
||||||
|
on_enrollment_done:
|
||||||
|
- logger.log: test_fingerprint_grow_node_enrollment_done
|
||||||
|
on_enrollment_failed:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_failed
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
name: Fingerprint Enrolling
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
fingerprint_count:
|
||||||
|
name: Fingerprint Count
|
||||||
|
status:
|
||||||
|
name: Fingerprint Status
|
||||||
|
capacity:
|
||||||
|
name: Fingerprint Capacity
|
||||||
|
security_level:
|
||||||
|
name: Fingerprint Security Level
|
||||||
|
last_finger_id:
|
||||||
|
name: Fingerprint Last Finger ID
|
||||||
|
last_confidence:
|
||||||
|
name: Fingerprint Last Confidence
|
56
tests/components/fingerprint_grow/test.rp2040.yaml
Normal file
56
tests/components/fingerprint_grow/test.rp2040.yaml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
esphome:
|
||||||
|
on_boot:
|
||||||
|
then:
|
||||||
|
- fingerprint_grow.enroll:
|
||||||
|
finger_id: 2
|
||||||
|
num_scans: 2
|
||||||
|
- fingerprint_grow.cancel_enroll:
|
||||||
|
- fingerprint_grow.delete:
|
||||||
|
finger_id: 2
|
||||||
|
- fingerprint_grow.delete_all:
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_fingerprint_grow
|
||||||
|
tx_pin: 4
|
||||||
|
rx_pin: 5
|
||||||
|
baud_rate: 57600
|
||||||
|
|
||||||
|
fingerprint_grow:
|
||||||
|
sensing_pin: 6
|
||||||
|
password: 0x12FE37DC
|
||||||
|
new_password: 0xA65B9840
|
||||||
|
on_finger_scan_start:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_start
|
||||||
|
on_finger_scan_invalid:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_invalid
|
||||||
|
on_finger_scan_matched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_matched
|
||||||
|
on_finger_scan_unmatched:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_unmatched
|
||||||
|
on_finger_scan_misplaced:
|
||||||
|
- logger.log: test_fingerprint_grow_finger_scan_misplaced
|
||||||
|
on_enrollment_scan:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_scan
|
||||||
|
on_enrollment_done:
|
||||||
|
- logger.log: test_fingerprint_grow_node_enrollment_done
|
||||||
|
on_enrollment_failed:
|
||||||
|
- logger.log: test_fingerprint_grow_enrollment_failed
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
name: Fingerprint Enrolling
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fingerprint_grow
|
||||||
|
fingerprint_count:
|
||||||
|
name: Fingerprint Count
|
||||||
|
status:
|
||||||
|
name: Fingerprint Status
|
||||||
|
capacity:
|
||||||
|
name: Fingerprint Capacity
|
||||||
|
security_level:
|
||||||
|
name: Fingerprint Security Level
|
||||||
|
last_finger_id:
|
||||||
|
name: Fingerprint Last Finger ID
|
||||||
|
last_confidence:
|
||||||
|
name: Fingerprint Last Confidence
|
19
tests/components/font/test.esp32-c3-idf.yaml
Normal file
19
tests/components/font/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_font
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
font:
|
||||||
|
- file: "gfonts://Roboto"
|
||||||
|
id: roboto
|
||||||
|
size: 20
|
19
tests/components/font/test.esp32-c3.yaml
Normal file
19
tests/components/font/test.esp32-c3.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_font
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
font:
|
||||||
|
- file: "gfonts://Roboto"
|
||||||
|
id: roboto
|
||||||
|
size: 20
|
19
tests/components/font/test.esp32-idf.yaml
Normal file
19
tests/components/font/test.esp32-idf.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_font
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 13
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
font:
|
||||||
|
- file: "gfonts://Roboto"
|
||||||
|
id: roboto
|
||||||
|
size: 20
|
19
tests/components/font/test.esp8266.yaml
Normal file
19
tests/components/font/test.esp8266.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_font
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
font:
|
||||||
|
- file: "gfonts://Roboto"
|
||||||
|
id: roboto
|
||||||
|
size: 20
|
19
tests/components/font/test.rp2040.yaml
Normal file
19
tests/components/font/test.rp2040.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_font
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
font:
|
||||||
|
- file: "gfonts://Roboto"
|
||||||
|
id: roboto
|
||||||
|
size: 20
|
10
tests/components/fs3000/test.esp32-c3-idf.yaml
Normal file
10
tests/components/fs3000/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_fs3000
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fs3000
|
||||||
|
name: Air Velocity
|
||||||
|
model: 1005
|
||||||
|
update_interval: 60s
|
10
tests/components/fs3000/test.esp32-c3.yaml
Normal file
10
tests/components/fs3000/test.esp32-c3.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_fs3000
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fs3000
|
||||||
|
name: Air Velocity
|
||||||
|
model: 1005
|
||||||
|
update_interval: 60s
|
10
tests/components/fs3000/test.esp32-idf.yaml
Normal file
10
tests/components/fs3000/test.esp32-idf.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_fs3000
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fs3000
|
||||||
|
name: Air Velocity
|
||||||
|
model: 1005
|
||||||
|
update_interval: 60s
|
10
tests/components/fs3000/test.esp32.yaml
Normal file
10
tests/components/fs3000/test.esp32.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_fs3000
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fs3000
|
||||||
|
name: Air Velocity
|
||||||
|
model: 1005
|
||||||
|
update_interval: 60s
|
10
tests/components/fs3000/test.esp8266.yaml
Normal file
10
tests/components/fs3000/test.esp8266.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_fs3000
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fs3000
|
||||||
|
name: Air Velocity
|
||||||
|
model: 1005
|
||||||
|
update_interval: 60s
|
10
tests/components/fs3000/test.rp2040.yaml
Normal file
10
tests/components/fs3000/test.rp2040.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_fs3000
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: fs3000
|
||||||
|
name: Air Velocity
|
||||||
|
model: 1005
|
||||||
|
update_interval: 60s
|
21
tests/components/ft5x06/test.esp32-c3-idf.yaml
Normal file
21
tests/components/ft5x06/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft5x06
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft5x06
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft5x06/test.esp32-c3.yaml
Normal file
21
tests/components/ft5x06/test.esp32-c3.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft5x06
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft5x06
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft5x06/test.esp32-idf.yaml
Normal file
21
tests/components/ft5x06/test.esp32-idf.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft5x06
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 18
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft5x06
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft5x06/test.esp32.yaml
Normal file
21
tests/components/ft5x06/test.esp32.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft5x06
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 18
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft5x06
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft5x06/test.esp8266.yaml
Normal file
21
tests/components/ft5x06/test.esp8266.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft5x06
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft5x06
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft5x06/test.rp2040.yaml
Normal file
21
tests/components/ft5x06/test.rp2040.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft5x06
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft5x06
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft63x6/test.esp32-c3-idf.yaml
Normal file
21
tests/components/ft63x6/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft63x6
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft63x6
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft63x6/test.esp32-c3.yaml
Normal file
21
tests/components/ft63x6/test.esp32-c3.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft63x6
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft63x6
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft63x6/test.esp32-idf.yaml
Normal file
21
tests/components/ft63x6/test.esp32-idf.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft63x6
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 18
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft63x6
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft63x6/test.esp8266.yaml
Normal file
21
tests/components/ft63x6/test.esp8266.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft63x6
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft63x6
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
21
tests/components/ft63x6/test.rp2040.yaml
Normal file
21
tests/components/ft63x6/test.rp2040.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_ft63x6
|
||||||
|
scl: 5
|
||||||
|
sda: 4
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
id: ssd1306_display
|
||||||
|
model: SSD1306_128X64
|
||||||
|
reset_pin: 3
|
||||||
|
pages:
|
||||||
|
- id: page1
|
||||||
|
lambda: |-
|
||||||
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||||
|
|
||||||
|
touchscreen:
|
||||||
|
- platform: ft63x6
|
||||||
|
on_touch:
|
||||||
|
- logger.log:
|
||||||
|
format: Touch at (%d, %d)
|
||||||
|
args: [touch.x, touch.y]
|
7
tests/components/fujitsu_general/test.esp32-c3-idf.yaml
Normal file
7
tests/components/fujitsu_general/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
remote_transmitter:
|
||||||
|
pin: 2
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: fujitsu_general
|
||||||
|
name: Fujitsu General Climate
|
7
tests/components/fujitsu_general/test.esp32-c3.yaml
Normal file
7
tests/components/fujitsu_general/test.esp32-c3.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
remote_transmitter:
|
||||||
|
pin: 2
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: fujitsu_general
|
||||||
|
name: Fujitsu General Climate
|
7
tests/components/fujitsu_general/test.esp32-idf.yaml
Normal file
7
tests/components/fujitsu_general/test.esp32-idf.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
remote_transmitter:
|
||||||
|
pin: 2
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: fujitsu_general
|
||||||
|
name: Fujitsu General Climate
|
7
tests/components/fujitsu_general/test.esp32.yaml
Normal file
7
tests/components/fujitsu_general/test.esp32.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
remote_transmitter:
|
||||||
|
pin: 2
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: fujitsu_general
|
||||||
|
name: Fujitsu General Climate
|
7
tests/components/fujitsu_general/test.esp8266.yaml
Normal file
7
tests/components/fujitsu_general/test.esp8266.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
remote_transmitter:
|
||||||
|
pin: 5
|
||||||
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
|
climate:
|
||||||
|
- platform: fujitsu_general
|
||||||
|
name: Fujitsu General Climate
|
Loading…
Reference in New Issue
Block a user