Formatting
This commit is contained in:
parent
c7f4142e51
commit
fa98b836fb
@ -18,8 +18,8 @@
|
|||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
data: { }
|
|
||||||
entity_id: switch.3d_printer_switch
|
entity_id: switch.3d_printer_switch
|
||||||
|
|
||||||
- id: 3dprinter-on
|
- id: 3dprinter-on
|
||||||
alias: '[3D Printer] Turn on'
|
alias: '[3D Printer] Turn on'
|
||||||
mode: single
|
mode: single
|
||||||
|
@ -5,21 +5,6 @@
|
|||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.alarm
|
at: input_datetime.alarm
|
||||||
action:
|
action:
|
||||||
# - service: light.turn_on
|
|
||||||
# data:
|
|
||||||
# kelvin: 2000
|
|
||||||
# brightness: 1
|
|
||||||
# entity_id:
|
|
||||||
# - light.bedroom_1
|
|
||||||
# - light.bedroom_2
|
|
||||||
# - service: light.turn_on
|
|
||||||
# data:
|
|
||||||
# kelvin: 5300
|
|
||||||
# transition: 1800
|
|
||||||
# brightness: 255
|
|
||||||
# entity_id:
|
|
||||||
# - light.bedroom_1
|
|
||||||
# - light.bedroom_2
|
|
||||||
- service: cover.open_cover
|
- service: cover.open_cover
|
||||||
target:
|
target:
|
||||||
entity_id: cover.bedroom_blind
|
entity_id: cover.bedroom_blind
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_on
|
subtype: turn_on
|
||||||
condition: []
|
|
||||||
action:
|
action:
|
||||||
- service: light.toggle
|
- service: light.toggle
|
||||||
data:
|
data:
|
||||||
|
@ -24,40 +24,3 @@
|
|||||||
data:
|
data:
|
||||||
entity_id: light.bathroom_mirror_lights
|
entity_id: light.bathroom_mirror_lights
|
||||||
mode: single
|
mode: single
|
||||||
#- id: button-bathroom-hold-on
|
|
||||||
# alias: Button Hold On computer cave
|
|
||||||
# trigger:
|
|
||||||
# - platform: event
|
|
||||||
# event_type: zha_event
|
|
||||||
# event_data:
|
|
||||||
# device_id: 4d5298037e93ba11438409bff01b5005
|
|
||||||
# command: move_with_on_off
|
|
||||||
# condition: []
|
|
||||||
# action:
|
|
||||||
# - service: light.turn_on
|
|
||||||
# data:
|
|
||||||
# entity_id:
|
|
||||||
# - light.tv_left
|
|
||||||
# - light.tv_middle
|
|
||||||
# - light.tv_right
|
|
||||||
# mode: single
|
|
||||||
#- id: button-bathroom-hold-off
|
|
||||||
# alias: Button Hold Off computer cave
|
|
||||||
# trigger:
|
|
||||||
# - platform: event
|
|
||||||
# event_type: zha_event
|
|
||||||
# event_data:
|
|
||||||
# device_id: 4d5298037e93ba11438409bff01b5005
|
|
||||||
# command: move
|
|
||||||
# args:
|
|
||||||
# - 1
|
|
||||||
# - 83
|
|
||||||
# condition: []
|
|
||||||
# action:
|
|
||||||
# - service: light.turn_off
|
|
||||||
# data:
|
|
||||||
# entity_id:
|
|
||||||
# - light.tv_left
|
|
||||||
# - light.tv_middle
|
|
||||||
# - light.tv_right
|
|
||||||
# mode: single
|
|
@ -44,6 +44,7 @@
|
|||||||
data:
|
data:
|
||||||
media_content_id: https://open.spotify.com/playlist/71mXIu6HcdVj3fAMduaHop
|
media_content_id: https://open.spotify.com/playlist/71mXIu6HcdVj3fAMduaHop
|
||||||
media_content_type: music
|
media_content_type: music
|
||||||
|
|
||||||
- id: bathroom-music-button-pause
|
- id: bathroom-music-button-pause
|
||||||
alias: '[Bathroom] Music button - play/pause'
|
alias: '[Bathroom] Music button - play/pause'
|
||||||
description: ''
|
description: ''
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.shower_lights
|
entity_id: light.shower_lights
|
||||||
|
|
||||||
- id: bathroom-shower-motion-off
|
- id: bathroom-shower-motion-off
|
||||||
alias: '[Bathroom] Shower Motion Off'
|
alias: '[Bathroom] Shower Motion Off'
|
||||||
mode: restart
|
mode: restart
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
data:
|
data:
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-turn-off
|
- id: bedroom-button-turn-off
|
||||||
alias: '[Bedroom] Button Turn Off'
|
alias: '[Bedroom] Button Turn Off'
|
||||||
trigger:
|
trigger:
|
||||||
@ -25,6 +26,7 @@
|
|||||||
data:
|
data:
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-dim-up
|
- id: bedroom-button-dim-up
|
||||||
alias: '[Bedroom] Button Dim Up'
|
alias: '[Bedroom] Button Dim Up'
|
||||||
trigger:
|
trigger:
|
||||||
@ -39,6 +41,7 @@
|
|||||||
brightness_step_pct: 10
|
brightness_step_pct: 10
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-dim-down
|
- id: bedroom-button-dim-down
|
||||||
alias: '[Bedroom] Button Dim Down'
|
alias: '[Bedroom] Button Dim Down'
|
||||||
trigger:
|
trigger:
|
||||||
@ -47,13 +50,13 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: dim_down
|
subtype: dim_down
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
brightness_step_pct: -10
|
brightness_step_pct: -10
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
# Double click
|
# Double click
|
||||||
- id: bedroom-button-dim-up-double
|
- id: bedroom-button-dim-up-double
|
||||||
alias: '[Bedroom] Button Dim Up Double'
|
alias: '[Bedroom] Button Dim Up Double'
|
||||||
@ -70,6 +73,7 @@
|
|||||||
kelvin: 3200
|
kelvin: 3200
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-dim-down-double
|
- id: bedroom-button-dim-down-double
|
||||||
alias: '[Bedroom] Button Dim Up'
|
alias: '[Bedroom] Button Dim Up'
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
data:
|
data:
|
||||||
brightness_pct: 60
|
brightness_pct: 60
|
||||||
kelvin: 2000
|
kelvin: 2000
|
||||||
|
|
||||||
- id: bedroom-motion-off
|
- id: bedroom-motion-off
|
||||||
alias: '[Bedroom] Motion Off'
|
alias: '[Bedroom] Motion Off'
|
||||||
mode: restart
|
mode: restart
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
data:
|
data:
|
||||||
entity_id: light.desk_lightbar
|
entity_id: light.desk_lightbar
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: button-computer-cave-off
|
- id: button-computer-cave-off
|
||||||
alias: '[Computer Cave] Button Off'
|
alias: '[Computer Cave] Button Off'
|
||||||
trigger:
|
trigger:
|
||||||
@ -24,6 +25,7 @@
|
|||||||
data:
|
data:
|
||||||
entity_id: light.desk_lightbar
|
entity_id: light.desk_lightbar
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: button-computer-cave-hold-on
|
- id: button-computer-cave-hold-on
|
||||||
alias: '[Computer Cave] Button Hold On'
|
alias: '[Computer Cave] Button Hold On'
|
||||||
trigger:
|
trigger:
|
||||||
@ -37,6 +39,7 @@
|
|||||||
data:
|
data:
|
||||||
entity_id: light.tv_lights
|
entity_id: light.tv_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: button-computer-cave-hold-off
|
- id: button-computer-cave-hold-off
|
||||||
alias: '[Computer Cave] Button Hold Off'
|
alias: '[Computer Cave] Button Hold Off'
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
data:
|
data:
|
||||||
brightness_pct: 100
|
brightness_pct: 100
|
||||||
kelvin: 3200
|
kelvin: 3200
|
||||||
|
|
||||||
- id: hallway-motion-night
|
- id: hallway-motion-night
|
||||||
alias: '[Hallway] Motion Night'
|
alias: '[Hallway] Motion Night'
|
||||||
mode: restart
|
mode: restart
|
||||||
@ -37,6 +38,7 @@
|
|||||||
- 255
|
- 255
|
||||||
- 0
|
- 0
|
||||||
- 0
|
- 0
|
||||||
|
|
||||||
- id: hallway-motion-off
|
- id: hallway-motion-off
|
||||||
alias: '[Hallway] Motion Off'
|
alias: '[Hallway] Motion Off'
|
||||||
mode: restart
|
mode: restart
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: light.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
- id: kitchen-button-2
|
|
||||||
# Upper right
|
- id: kitchen-button-2 # Upper right
|
||||||
alias: '[Kitchen] Button 2'
|
alias: '[Kitchen] Button 2'
|
||||||
description: ''
|
description: ''
|
||||||
mode: single
|
mode: single
|
||||||
@ -29,8 +29,8 @@
|
|||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: light.hallway_light
|
entity_id: light.hallway_light
|
||||||
- id: kitchen-button-3
|
|
||||||
# Lower left
|
- id: kitchen-button-3 # Lower left
|
||||||
alias: '[Kitchen] Button 3'
|
alias: '[Kitchen] Button 3'
|
||||||
description: ''
|
description: ''
|
||||||
mode: single
|
mode: single
|
||||||
@ -44,8 +44,8 @@
|
|||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: light.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
- id: kitchen-button-4
|
|
||||||
# Lower Right
|
- id: kitchen-button-4 # Lower Right
|
||||||
alias: '[Kitchen] Button 4'
|
alias: '[Kitchen] Button 4'
|
||||||
description: ''
|
description: ''
|
||||||
mode: single
|
mode: single
|
||||||
@ -59,8 +59,8 @@
|
|||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: light.hallway_light
|
entity_id: light.hallway_light
|
||||||
- id: kitchen-button-2-held
|
|
||||||
# Upper right
|
- id: kitchen-button-2-held # Upper right
|
||||||
alias: '[Kitchen] Button 2 Hold'
|
alias: '[Kitchen] Button 2 Hold'
|
||||||
description: ''
|
description: ''
|
||||||
mode: single
|
mode: single
|
||||||
@ -76,8 +76,8 @@
|
|||||||
entity_id: light.hallway_light
|
entity_id: light.hallway_light
|
||||||
data:
|
data:
|
||||||
brightness_step_pct: 10
|
brightness_step_pct: 10
|
||||||
- id: kitchen-button-4-held
|
|
||||||
# Upper right
|
- id: kitchen-button-4-held # Upper right
|
||||||
alias: '[Kitchen] Button 4 Hold'
|
alias: '[Kitchen] Button 4 Hold'
|
||||||
description: ''
|
description: ''
|
||||||
mode: single
|
mode: single
|
||||||
@ -103,12 +103,12 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_on
|
subtype: turn_on
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: light.kitchen_sink_lighstrip
|
entity_id: light.kitchen_sink_lighstrip
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: kitchen-sink-button-off
|
- id: kitchen-sink-button-off
|
||||||
alias: '[Kitchen] Sink Button Off'
|
alias: '[Kitchen] Sink Button Off'
|
||||||
trigger:
|
trigger:
|
||||||
@ -117,12 +117,12 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_off
|
subtype: turn_off
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: light.kitchen_sink_lighstrip
|
entity_id: light.kitchen_sink_lighstrip
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: kitchen-sink-button-hold-on
|
- id: kitchen-sink-button-hold-on
|
||||||
alias: '[Kitchen] Sink Button Hold On'
|
alias: '[Kitchen] Sink Button Hold On'
|
||||||
trigger:
|
trigger:
|
||||||
@ -131,12 +131,12 @@
|
|||||||
event_data:
|
event_data:
|
||||||
device_id: a47c928b108240ed8866f9f7a70bc844
|
device_id: a47c928b108240ed8866f9f7a70bc844
|
||||||
command: move_with_on_off
|
command: move_with_on_off
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: light.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: kitchen-sink-button-hold-off
|
- id: kitchen-sink-button-hold-off
|
||||||
alias: '[Kitchen] Sink Button Hold Off'
|
alias: '[Kitchen] Sink Button Hold Off'
|
||||||
trigger:
|
trigger:
|
||||||
@ -148,7 +148,6 @@
|
|||||||
args:
|
args:
|
||||||
- 1
|
- 1
|
||||||
- 83
|
- 83
|
||||||
condition: [ ]
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
data:
|
data:
|
||||||
brightness_pct: 90
|
brightness_pct: 90
|
||||||
kelvin: 2000
|
kelvin: 2000
|
||||||
|
|
||||||
- id: kitchen-motion-night
|
- id: kitchen-motion-night
|
||||||
alias: '[Kitchen] Motion night'
|
alias: '[Kitchen] Motion night'
|
||||||
mode: single
|
mode: single
|
||||||
@ -37,6 +38,7 @@
|
|||||||
data:
|
data:
|
||||||
brightness_pct: 5
|
brightness_pct: 5
|
||||||
kelvin: 2000
|
kelvin: 2000
|
||||||
|
|
||||||
- id: kitchen-motion-off
|
- id: kitchen-motion-off
|
||||||
alias: '[Kitchen] Motion Off'
|
alias: '[Kitchen] Motion Off'
|
||||||
mode: restart
|
mode: restart
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
entity_id: input_boolean.sleep_mode
|
entity_id: input_boolean.sleep_mode
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: sleep_off
|
- id: sleep_off
|
||||||
alias: Turn off sleep time
|
alias: Turn off sleep time
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
data:
|
data:
|
||||||
duration: 1
|
duration: 1
|
||||||
color: black
|
color: black
|
||||||
|
|
||||||
- id: tv-suspend-pc
|
- id: tv-suspend-pc
|
||||||
alias: '[TV] When turned on suspend PC'
|
alias: '[TV] When turned on suspend PC'
|
||||||
description: ''
|
description: ''
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
entity_id: device_tracker.sm_g965f
|
entity_id: device_tracker.sm_g965f
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
event: leave
|
event: leave
|
||||||
condition: []
|
|
||||||
action:
|
action:
|
||||||
- service: vacuum.start
|
- service: vacuum.start
|
||||||
entity_id: vacuum.robot_vacuum
|
entity_id: vacuum.robot_vacuum
|
||||||
@ -18,7 +17,6 @@
|
|||||||
entity_id: device_tracker.sm_g965f
|
entity_id: device_tracker.sm_g965f
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
event: enter
|
event: enter
|
||||||
condition: []
|
|
||||||
action:
|
action:
|
||||||
- service: vacuum.pause
|
- service: vacuum.pause
|
||||||
entity_id: vacuum.robot_vacuum
|
entity_id: vacuum.robot_vacuum
|
||||||
|
Loading…
Reference in New Issue
Block a user