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:
Keith Burzinski 2024-03-26 20:06:57 -05:00 committed by GitHub
parent 952ccf554b
commit 0948a3c306
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 1151 additions and 0 deletions

View file

@ -0,0 +1,3 @@
button:
- platform: factory_reset
name: Reset to Factory Default Settings

View file

@ -0,0 +1,3 @@
button:
- platform: factory_reset
name: Reset to Factory Default Settings

View file

@ -0,0 +1,3 @@
button:
- platform: factory_reset
name: Reset to Factory Default Settings

View file

@ -0,0 +1,3 @@
button:
- platform: factory_reset
name: Reset to Factory Default Settings

View file

@ -0,0 +1,3 @@
button:
- platform: factory_reset
name: Reset to Factory Default Settings

View file

@ -0,0 +1,3 @@
button:
- platform: factory_reset
name: Reset to Factory Default Settings

View 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%

View 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%

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_fs3000
scl: 5
sda: 4
sensor:
- platform: fs3000
name: Air Velocity
model: 1005
update_interval: 60s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_fs3000
scl: 5
sda: 4
sensor:
- platform: fs3000
name: Air Velocity
model: 1005
update_interval: 60s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_fs3000
scl: 16
sda: 17
sensor:
- platform: fs3000
name: Air Velocity
model: 1005
update_interval: 60s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_fs3000
scl: 16
sda: 17
sensor:
- platform: fs3000
name: Air Velocity
model: 1005
update_interval: 60s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_fs3000
scl: 5
sda: 4
sensor:
- platform: fs3000
name: Air Velocity
model: 1005
update_interval: 60s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_fs3000
scl: 5
sda: 4
sensor:
- platform: fs3000
name: Air Velocity
model: 1005
update_interval: 60s

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: fujitsu_general
name: Fujitsu General Climate

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: fujitsu_general
name: Fujitsu General Climate

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: fujitsu_general
name: Fujitsu General Climate

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: fujitsu_general
name: Fujitsu General Climate

View file

@ -0,0 +1,7 @@
remote_transmitter:
pin: 5
carrier_duty_percent: 50%
climate:
- platform: fujitsu_general
name: Fujitsu General Climate