mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
adding weird untracked
This commit is contained in:
@@ -1,48 +1,48 @@
|
||||
alias: Handle DreamSurface Brightness
|
||||
id: handle_dreamsurface_brightness
|
||||
description: "Handle DreamSurface Brightness"
|
||||
trigger:
|
||||
- platform: state
|
||||
id: going_to_bed
|
||||
entity_id: input_boolean.clint_in_bed
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
- platform: state
|
||||
id: waking_up
|
||||
entity_id: input_boolean.clint_in_bed
|
||||
from: "on"
|
||||
to: "off"
|
||||
|
||||
# condition:
|
||||
# - alias: "The home is occupied"
|
||||
# condition: state
|
||||
# entity_id: input_boolean.home_occupied
|
||||
# state: "on"
|
||||
|
||||
# - alias: "Its not bedtime"
|
||||
# condition: state
|
||||
# entity_id: input_boolean.bedtime
|
||||
# state: "off"
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: going_to_bed
|
||||
|
||||
sequence:
|
||||
- service: button.press
|
||||
data: {}
|
||||
target:
|
||||
entity_id: button.dreamsurface_low_brightness
|
||||
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: waking_up
|
||||
|
||||
sequence:
|
||||
- service: button.press
|
||||
data: {}
|
||||
target:
|
||||
alias: Handle DreamSurface Brightness
|
||||
id: handle_dreamsurface_brightness
|
||||
description: "Handle DreamSurface Brightness"
|
||||
trigger:
|
||||
- platform: state
|
||||
id: going_to_bed
|
||||
entity_id: input_boolean.clint_in_bed
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
- platform: state
|
||||
id: waking_up
|
||||
entity_id: input_boolean.clint_in_bed
|
||||
from: "on"
|
||||
to: "off"
|
||||
|
||||
# condition:
|
||||
# - alias: "The home is occupied"
|
||||
# condition: state
|
||||
# entity_id: input_boolean.home_occupied
|
||||
# state: "on"
|
||||
|
||||
# - alias: "Its not bedtime"
|
||||
# condition: state
|
||||
# entity_id: input_boolean.bedtime
|
||||
# state: "off"
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: going_to_bed
|
||||
|
||||
sequence:
|
||||
- service: button.press
|
||||
data: {}
|
||||
target:
|
||||
entity_id: button.dreamsurface_low_brightness
|
||||
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: waking_up
|
||||
|
||||
sequence:
|
||||
- service: button.press
|
||||
data: {}
|
||||
target:
|
||||
entity_id: button.dreamsurface_normal_brightness
|
||||
Reference in New Issue
Block a user