mirror of
https://github.com/esphome/esphome.git
synced 2024-11-16 03:58:09 +01:00
39 lines
1 KiB
YAML
39 lines
1 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
|