mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-27 16:28:27 +02:00
Add some components to the new testing framework (S part 1) (#6224)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- servo.write:
|
||||
id: test_servo
|
||||
level: -100.0%
|
||||
- servo.detach: test_servo
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: servo_output_1
|
||||
pin: 1
|
||||
|
||||
servo:
|
||||
id: test_servo
|
||||
output: servo_output_1
|
||||
restore: true
|
||||
min_level: 4%
|
||||
max_level: 8%
|
||||
@@ -0,0 +1,19 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- servo.write:
|
||||
id: test_servo
|
||||
level: -100.0%
|
||||
- servo.detach: test_servo
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: servo_output_1
|
||||
pin: 1
|
||||
|
||||
servo:
|
||||
id: test_servo
|
||||
output: servo_output_1
|
||||
restore: true
|
||||
min_level: 4%
|
||||
max_level: 8%
|
||||
@@ -0,0 +1,19 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- servo.write:
|
||||
id: test_servo
|
||||
level: -100.0%
|
||||
- servo.detach: test_servo
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: servo_output_1
|
||||
pin: 12
|
||||
|
||||
servo:
|
||||
id: test_servo
|
||||
output: servo_output_1
|
||||
restore: true
|
||||
min_level: 4%
|
||||
max_level: 8%
|
||||
@@ -0,0 +1,19 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- servo.write:
|
||||
id: test_servo
|
||||
level: -100.0%
|
||||
- servo.detach: test_servo
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: servo_output_1
|
||||
pin: 12
|
||||
|
||||
servo:
|
||||
id: test_servo
|
||||
output: servo_output_1
|
||||
restore: true
|
||||
min_level: 4%
|
||||
max_level: 8%
|
||||
@@ -0,0 +1,19 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- servo.write:
|
||||
id: test_servo
|
||||
level: -100.0%
|
||||
- servo.detach: test_servo
|
||||
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
id: servo_output_1
|
||||
pin: 12
|
||||
|
||||
servo:
|
||||
id: test_servo
|
||||
output: servo_output_1
|
||||
restore: true
|
||||
min_level: 4%
|
||||
max_level: 8%
|
||||
@@ -0,0 +1,19 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- servo.write:
|
||||
id: test_servo
|
||||
level: -100.0%
|
||||
- servo.detach: test_servo
|
||||
|
||||
output:
|
||||
- platform: rp2040_pwm
|
||||
id: servo_output_1
|
||||
pin: 12
|
||||
|
||||
servo:
|
||||
id: test_servo
|
||||
output: servo_output_1
|
||||
restore: true
|
||||
min_level: 4%
|
||||
max_level: 8%
|
||||
Reference in New Issue
Block a user