Compare commits
2 Commits
61d24881c2
...
f6fdc3a677
Author | SHA1 | Date | |
---|---|---|---|
f6fdc3a677 | |||
6c11e307c0 |
@ -1,14 +0,0 @@
|
|||||||
- id: computer_off
|
|
||||||
alias: '[Computer Cave] Turning computer off automation'
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: binary_sensor.hulk_ping
|
|
||||||
to: 'off'
|
|
||||||
for:
|
|
||||||
minutes: 5
|
|
||||||
action:
|
|
||||||
- service: light.turn_off
|
|
||||||
entity_id:
|
|
||||||
- light.office
|
|
||||||
mode: single
|
|
12
configuration/automations/office-computer-off.yaml
Normal file
12
configuration/automations/office-computer-off.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- id: office_computer_auto_off
|
||||||
|
alias: '[Office] Turning computer off'
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: numeric_state
|
||||||
|
entity_id: sensor.computer_outlet_electrical_measurement
|
||||||
|
for:
|
||||||
|
minutes: 15
|
||||||
|
action:
|
||||||
|
- service: switch.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: switch.computer_outlet
|
@ -71,9 +71,6 @@ good_night:
|
|||||||
- climate.dining_thermostat
|
- climate.dining_thermostat
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
# Xmas lights
|
|
||||||
- light.twinkly_1
|
|
||||||
- light.twinkly_2
|
|
||||||
- light.wled_star
|
- light.wled_star
|
||||||
- light.couch_lights
|
- light.couch_lights
|
||||||
- light.tv_lights
|
- light.tv_lights
|
||||||
@ -130,12 +127,6 @@ good_morning:
|
|||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.computer_outlet
|
- switch.computer_outlet
|
||||||
- service: light.turn_on
|
|
||||||
entity_id:
|
|
||||||
# Xmas lights
|
|
||||||
- light.twinkly_1
|
|
||||||
- light.twinkly_2
|
|
||||||
- light.wled_star
|
|
||||||
- service: script.humidifier_on
|
- service: script.humidifier_on
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.mute_doorbell
|
entity_id: switch.mute_doorbell
|
||||||
@ -250,10 +241,6 @@ leave_home:
|
|||||||
- light.table_lamp_lights
|
- light.table_lamp_lights
|
||||||
- light.lego_bookcase_light
|
- light.lego_bookcase_light
|
||||||
- light.notification_cube_light
|
- light.notification_cube_light
|
||||||
# Xmas lights
|
|
||||||
- light.twinkly_1
|
|
||||||
- light.twinkly_2
|
|
||||||
- light.wled_star
|
|
||||||
|
|
||||||
arrive_home:
|
arrive_home:
|
||||||
alias: Arrive Home
|
alias: Arrive Home
|
||||||
@ -267,12 +254,6 @@ arrive_home:
|
|||||||
data:
|
data:
|
||||||
option: Day
|
option: Day
|
||||||
entity_id: input_select.home_mode
|
entity_id: input_select.home_mode
|
||||||
- service: light.turn_on
|
|
||||||
entity_id:
|
|
||||||
# Xmas lights
|
|
||||||
- light.twinkly_1
|
|
||||||
- light.twinkly_2
|
|
||||||
- light.wled_star
|
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.computer_outlet
|
- switch.computer_outlet
|
||||||
|
Loading…
Reference in New Issue
Block a user