various tidyups
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
#:########################################################################################:#
|
||||
# Jobs Tracker Appliance Completion Triggers Package #
|
||||
#:########################################################################################:#
|
||||
#
|
||||
# TITLE:
|
||||
# Jobs Tracker Appliance Completion Triggers
|
||||
#
|
||||
# FILE:
|
||||
# jobs_tracker_appliance_completion_triggers.yaml
|
||||
#
|
||||
# VERSION:
|
||||
# V1.0 2026-08-15
|
||||
#
|
||||
# PURPOSE:
|
||||
# Provides time-qualified appliance door and lid triggers for Jobs Tracker completion.
|
||||
#
|
||||
# DEPENDS ON:
|
||||
# packages/Job_Chore_Tracking/jobs_tracker_jobs.yaml V3.5 or newer.
|
||||
#
|
||||
# OPERATION:
|
||||
# Each contact must remain open for five seconds before its corresponding Jobs Tracker
|
||||
# completion route is called. The job registry owns the completion entity mappings.
|
||||
#
|
||||
# VERSION HISTORY:
|
||||
# V1.0 2026-08-15
|
||||
# - Added five-second door and lid open completion triggers for dryer and washer jobs.
|
||||
#
|
||||
#:########################################################################################:#
|
||||
|
||||
automation:
|
||||
- id: jobs_tracker_empty_dryer_door_open
|
||||
alias: "Jobs Tracker - Empty Dryer on Door Open"
|
||||
description: "Marks Empty the Dryer complete after the dryer door is open for five seconds."
|
||||
mode: single
|
||||
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.dryer_door_status_x34rs_contact
|
||||
to: "on"
|
||||
for:
|
||||
seconds: 5
|
||||
|
||||
actions:
|
||||
- action: script.jobs_tracker_route_completion
|
||||
data:
|
||||
completion_entity: binary_sensor.dryer_door_status_x34rs_contact
|
||||
completion_to_state: "on"
|
||||
|
||||
- id: jobs_tracker_empty_washing_machine_lid_open
|
||||
alias: "Jobs Tracker - Empty Washer on Lid Open"
|
||||
description: "Marks Empty the Washer complete after the washer lid is open for five seconds."
|
||||
mode: single
|
||||
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.washing_machine_lid_status_x39rs_contact
|
||||
to: "on"
|
||||
for:
|
||||
seconds: 5
|
||||
|
||||
actions:
|
||||
- action: script.jobs_tracker_route_completion
|
||||
data:
|
||||
completion_entity: binary_sensor.washing_machine_lid_status_x39rs_contact
|
||||
completion_to_state: "on"
|
||||
Reference in New Issue
Block a user