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