Changing all kinds of shit

This commit is contained in:
CeeWeasel
2025-07-17 20:30:11 -04:00
parent 51d35b46e9
commit 81cbed6e51
36 changed files with 199 additions and 540 deletions
+6
View File
@@ -21,6 +21,12 @@ trigger:
from: 'off'
to: 'on'
- platform: state
id: car_home
entity_id:
- device_tracker.chevrolet_traverse_location
to: 'home'
- platform: homeassistant
event: start
+1 -1
View File
@@ -22,7 +22,7 @@ condition:
entity_id: binary_sensor.morning
state: 'on'
- condition: state
entity_id: binary_sensor.work_day
entity_id: binary_sensor.is_workday
state: 'on'
action:
@@ -4,11 +4,11 @@ id: automation_set_clint_next_alarm
trigger:
- platform: state
entity_id: binary_sensor.work_day
entity_id: binary_sensor.is_workday
to: 'off'
- platform: state
entity_id: binary_sensor.work_day
entity_id: binary_sensor.is_workday
to: 'on'
- platform: time
@@ -21,18 +21,18 @@ action:
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.work_day
entity_id: binary_sensor.is_workday
state: 'off'
sequence:
- service: input_datetime.set_datetime
target:
entity_id: input_datetime.clint_next_alarm
data:
time: "09:00:00"
time: "07:00:00"
- conditions:
- condition: state
entity_id: binary_sensor.work_day
entity_id: binary_sensor.is_workday
state: 'on'
sequence:
- service: input_datetime.set_datetime
+1 -1
View File
@@ -8,7 +8,7 @@ trigger:
at: input_datetime.clint_next_alarm
# condition:
# - condition: state
# entity_id: binary_sensor.work_day
# entity_id: binary_sensor.is_workday
# state: 'on'
action:
- service: input_boolean.turn_off
@@ -24,7 +24,6 @@ action:
target:
entity_id:
- switch.black_bed_force_occupancy
- switch.white_bed_force_occupancy
- service: input_boolean.turn_off
data: {}
+7
View File
@@ -8,6 +8,10 @@ trigger:
- binary_sensor.gray_suv_west_side
to: 'on'
- platform: state
entity_id: device_tracker.chevrolet_traverse_location
to: 'home'
- platform: homeassistant
event: start
condition:
@@ -28,6 +32,9 @@ condition:
- condition: state
entity_id: binary_sensor.west_side_vehicle_occupancy
state: 'on'
- condition: state
entity_id: device_tracker.chevrolet_traverse_location
state: 'home'
action:
- service: input_boolean.turn_on
entity_id: input_boolean.car_home
+6 -2
View File
@@ -61,7 +61,7 @@ action:
- choose:
- conditions:
- "{{states('sensor.dreambox_audio_audio_sessions') | int(default=0) > 0 or is_state('binary_sensor.dreambox_recently_active','on') }}"
- "{{is_state('binary_sensor.dreambox_recently_active','on') }}"
sequence:
- service: notify.dreambox
@@ -70,7 +70,7 @@ action:
- choose:
- conditions:
- "{{states('sensor.dreamsurface_audio_audio_sessions') | int(default=0) > 0 or is_state('binary_sensor.dreamsurface_recently_active','on') }}"
- "{{is_state('binary_sensor.dreamsurface_recently_active','on') }}"
sequence:
- service: notify.dreamsurface
@@ -87,6 +87,10 @@ action:
- service: notify.mobile_app_pixel_7
data:
message: The dishwasher is done
data:
tag: "dishwasher-complete"
notification_icon: mdi:dishwasher-alert
channel: Appliance
- delay:
minutes: 30
-86
View File
@@ -1,86 +0,0 @@
alias: Doorbell
id: automation_doorbell
description: "Someone pushed the doorbell"
trigger:
- id: button_pressed
platform: webhook
webhook_id: "synology_doorbell_actionrule"
local_only: true
# - id: button_pressed
# platform: event
# event_type: "amcrest"
# event_data:
# camera: "Front Porch"
# event: "AlarmLocal"
- id: button_pressed
trigger: event
event_type: amcrest
event_data:
event: "CallNoAnswered"
payload:
action: "Start"
- id: door_opened
platform: state
entity_id:
- binary_sensor.front_door_contact
- binary_sensor.outer_garage_door
- binary_sensor.outer_garage_door_contact
from: "off"
to: "on"
- id: door_closed
platform: state
entity_id:
- binary_sensor.front_door_contact
- binary_sensor.outer_garage_door
- binary_sensor.outer_garage_door_contact
from: "on"
to: "off"
action:
- choose:
- conditions:
- condition: trigger
id: button_pressed
sequence:
- service: notify.mobile_app_pixel_7
data:
message: Someone is at the door
data:
image_url: "https://frigate.clintweaver.com/api/frigate_cam19/latest.jpg"
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.doorbell
- service: notify.dreamsurface
data:
title: Ding Dong
message: "Someone is at the door"
data:
image: "https://frigate.clintweaver.com/api/frigate_cam19/latest.jpg"
- service: notify.dreambox
data:
title: Ding Dong
message: "Someone is at the door"
data:
image: "https://frigate.clintweaver.com/api/frigate_cam19/latest.jpg"
- conditions:
- condition: trigger
id: door_opened
- condition: state
entity_id: input_boolean.doorbell
state: "on"
sequence:
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.doorbell
+6 -2
View File
@@ -70,7 +70,7 @@ action:
- choose:
- conditions:
- "{{states('sensor.dreambox_audio_audio_sessions') | int(default=0) > 0 or is_state('binary_sensor.dreambox_recently_active','on') }}"
- "{{ is_state('binary_sensor.dreambox_recently_active','on') }}"
sequence:
- service: notify.dreambox
@@ -79,7 +79,7 @@ action:
- choose:
- conditions:
- "{{states('sensor.dreamsurface_audio_audio_sessions') | int(default=0) > 0 or is_state('binary_sensor.dreamsurface_recently_active','on') }}"
- "{{ is_state('binary_sensor.dreamsurface_recently_active','on') }}"
sequence:
- service: notify.dreamsurface
@@ -96,6 +96,10 @@ action:
- service: notify.mobile_app_pixel_7
data:
message: The dryer is done
data:
tag: "dryer-complete"
notification_icon: mdi:tumble-dryer-alert
channel: Appliance
- delay:
minutes: 15
+6 -2
View File
@@ -70,7 +70,7 @@ action:
- choose:
- conditions:
- "{{states('sensor.dreambox_audio_audio_sessions') | int(default=0) > 0 or is_state('binary_sensor.dreambox_recently_active','on') }}"
- "{{is_state('binary_sensor.dreambox_recently_active','on') }}"
sequence:
- service: notify.dreambox
@@ -79,7 +79,7 @@ action:
- choose:
- conditions:
- "{{states('sensor.dreamsurface_audio_audio_sessions') | int(default=0) > 0 or is_state('binary_sensor.dreamsurface_recently_active','on') }}"
- "{{is_state('binary_sensor.dreamsurface_recently_active','on') }}"
sequence:
- service: notify.dreamsurface
@@ -96,6 +96,10 @@ action:
- service: notify.mobile_app_pixel_7
data:
message: The washing machine is done
data:
tag: "washing-machine-complete"
notification_icon: mdi:washing-machine-alert
channel: Appliance
- delay:
minutes: 15