mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 16:47:57 +01:00
0948a3c306
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
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
|