Updated Scheduler and Maintainance Apps
This commit is contained in:
+44
-9
@@ -704,11 +704,11 @@
|
||||
the cycle to finish: it requires a minimum of 4 minutes to pass AND the power
|
||||
to drop back to the TV baseline.'
|
||||
triggers:
|
||||
- trigger: numeric_state
|
||||
- trigger: state
|
||||
entity_id: sensor.coffee_maker_power
|
||||
above: 1000
|
||||
id: coffee_started
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: '{{ states(''sensor.coffee_maker_power'') | float(0) > 1000 }}'
|
||||
- condition: state
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
state: 'off'
|
||||
@@ -907,12 +907,12 @@
|
||||
target:
|
||||
entity_id: camera.backyard_shed
|
||||
data:
|
||||
filename: /media/blink.jpg
|
||||
filename: /media/blink_shed.jpg
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.backyard_shed
|
||||
data:
|
||||
filename: /config/www/blink.jpg
|
||||
filename: /config/www/blink_shed.jpg
|
||||
- delay: 00:00:02
|
||||
- action: ai_task.generate_data
|
||||
continue_on_error: true
|
||||
@@ -922,7 +922,7 @@
|
||||
instructions: Describe what you see in this image in brief. Focus on any people,
|
||||
objects, animals or activities. Text needs to be max 240 characters.
|
||||
attachments:
|
||||
- media_content_id: media-source://media_source/local/blink.jpg
|
||||
- media_content_id: media-source://media_source/local/blink_shed.jpg
|
||||
media_content_type: image/jpeg
|
||||
response_variable: ai_profile
|
||||
- action: notify.notify
|
||||
@@ -939,7 +939,7 @@
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}
|
||||
|
||||
'
|
||||
'
|
||||
data:
|
||||
notification_id: backyard_shed_motion
|
||||
mode: queued
|
||||
@@ -1125,10 +1125,45 @@
|
||||
event_type: state_changed
|
||||
event_data:
|
||||
entity_id: event.front_door_front_door_motion
|
||||
enabled: false
|
||||
- trigger: state
|
||||
entity_id: event.living_room_living_room_camera_motion
|
||||
enabled: false
|
||||
- trigger: state
|
||||
entity_id: event.front_door_front_door_motion
|
||||
enabled: false
|
||||
- trigger: event.received
|
||||
target:
|
||||
entity_id: event.entryway_entryway_camera_motion
|
||||
options:
|
||||
event_type:
|
||||
- camera_motion
|
||||
- camera_person
|
||||
- camera_sound
|
||||
enabled: false
|
||||
- trigger: event.received
|
||||
target:
|
||||
device_id: 290f56e5a655e3af82cbf3cf9fd22406
|
||||
options:
|
||||
event_type:
|
||||
- camera_motion
|
||||
- camera_person
|
||||
- camera_sound
|
||||
- ring
|
||||
- trigger: event.received
|
||||
target:
|
||||
device_id: 679d52e0d16cf48648d11dd024b961f8
|
||||
options:
|
||||
event_type:
|
||||
- camera_motion
|
||||
- camera_sound
|
||||
- camera_person
|
||||
enabled: false
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.event.data.new_state.attributes.event_type in [''motion'',
|
||||
''person'', ''animal'', ''chime''] }}'
|
||||
enabled: false
|
||||
actions:
|
||||
- action: blink.trigger_camera
|
||||
target:
|
||||
@@ -1160,13 +1195,13 @@
|
||||
- action: notify.notify
|
||||
continue_on_error: true
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
title: Motion Detected - Front Door
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}'
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
title: Motion Detected - Front Door
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user