Compare commits
5 Commits
eddbc3ed1d
...
bd5b56e75c
Author | SHA1 | Date | |
---|---|---|---|
bd5b56e75c | |||
348b525826 | |||
aa1f21d4fc | |||
7b76299fab | |||
4a4af5fe93 |
@ -15,7 +15,7 @@
|
|||||||
- thu
|
- thu
|
||||||
- sun
|
- sun
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
@ -31,7 +31,7 @@
|
|||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.pc_caffeine
|
entity_id: input_boolean.pc_caffeine
|
||||||
@ -41,7 +41,7 @@
|
|||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.pc_caffeine
|
entity_id: input_boolean.pc_caffeine
|
||||||
@ -70,7 +70,7 @@
|
|||||||
- thu
|
- thu
|
||||||
- fri
|
- fri
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
@ -86,7 +86,7 @@
|
|||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.pc_caffeine
|
entity_id: input_boolean.pc_caffeine
|
||||||
@ -96,7 +96,7 @@
|
|||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.pc_caffeine
|
entity_id: input_boolean.pc_caffeine
|
||||||
@ -125,7 +125,7 @@
|
|||||||
- thu
|
- thu
|
||||||
- fri
|
- fri
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
- service: cover.close_cover
|
- service: cover.close_cover
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- cover.office_blind
|
- cover.office_blinds
|
||||||
- cover.dining_blinds
|
- cover.dining_blinds
|
||||||
|
|
||||||
- id: brightness-ok
|
- id: brightness-ok
|
||||||
@ -32,7 +32,7 @@
|
|||||||
- service: cover.open_cover
|
- service: cover.open_cover
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- cover.office_blind
|
- cover.office_blinds
|
||||||
- cover.dining_blinds
|
- cover.dining_blinds
|
||||||
|
|
||||||
- id: brightness-bright
|
- id: brightness-bright
|
||||||
@ -50,5 +50,5 @@
|
|||||||
- service: cover.close_cover
|
- service: cover.close_cover
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- cover.office_blind
|
- cover.office_blinds
|
||||||
- cover.dining_blinds
|
- cover.dining_blinds
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
- id: button-office-table
|
- id: button-office-on
|
||||||
alias: '[Office] Button Light'
|
alias: '[Office] Button Light'
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 5b972523e427721ec88e095994f7cc16
|
- device_id: 5b972523e427721ec88e095994f7cc16
|
||||||
@ -43,13 +43,16 @@
|
|||||||
kelvin: 3200
|
kelvin: 3200
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: button-office-desk
|
- id: button-office-off
|
||||||
alias: '[Office] Button Desk'
|
alias: '[Office] Button WoL'
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 5b972523e427721ec88e095994f7cc16
|
- device_id: 5b972523e427721ec88e095994f7cc16
|
||||||
domain: zha
|
domain: zha
|
||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_off
|
subtype: turn_off
|
||||||
action: []
|
action:
|
||||||
|
- service: switch.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: switch.hulk_wol
|
||||||
mode: single
|
mode: single
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
description: ''
|
description: ''
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for:
|
for:
|
||||||
minutes: 5
|
minutes: 5
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
to: 'on'
|
to: 'on'
|
||||||
from: 'off'
|
from: 'off'
|
||||||
action:
|
action:
|
||||||
|
@ -12,26 +12,26 @@
|
|||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'closing'
|
state: 'closing'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'opening'
|
state: 'opening'
|
||||||
sequence:
|
sequence:
|
||||||
- service: cover.stop_cover
|
- service: cover.stop_cover
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'closed'
|
state: 'closed'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'open'
|
state: 'open'
|
||||||
sequence:
|
sequence:
|
||||||
- service: cover.close_cover
|
- service: cover.close_cover
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: office-blinds-button-down
|
- id: office-blinds-button-down
|
||||||
@ -48,24 +48,24 @@
|
|||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'closing'
|
state: 'closing'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'opening'
|
state: 'opening'
|
||||||
sequence:
|
sequence:
|
||||||
- service: cover.stop_cover
|
- service: cover.stop_cover
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'closed'
|
state: 'closed'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
state: 'open'
|
state: 'open'
|
||||||
sequence:
|
sequence:
|
||||||
- service: cover.open_cover
|
- service: cover.open_cover
|
||||||
entity_id: cover.office_blind
|
entity_id: cover.office_blinds
|
||||||
mode: single
|
mode: single
|
||||||
|
@ -6,6 +6,7 @@ counter:
|
|||||||
dhcp:
|
dhcp:
|
||||||
energy:
|
energy:
|
||||||
frontend:
|
frontend:
|
||||||
|
themes: !include_dir_merge_named themes
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize: !include customize.yaml
|
customize: !include customize.yaml
|
||||||
history:
|
history:
|
||||||
@ -113,7 +114,6 @@ sun:
|
|||||||
system_health:
|
system_health:
|
||||||
#tag:
|
#tag:
|
||||||
timer:
|
timer:
|
||||||
updater:
|
|
||||||
webhook:
|
webhook:
|
||||||
zeroconf:
|
zeroconf:
|
||||||
zone:
|
zone:
|
||||||
@ -476,3 +476,8 @@ cover:
|
|||||||
- cover.dining_blind_left
|
- cover.dining_blind_left
|
||||||
- cover.dining_blind_middle
|
- cover.dining_blind_middle
|
||||||
- cover.dining_blind_right
|
- cover.dining_blind_right
|
||||||
|
- platform: group
|
||||||
|
name: Office Blinds
|
||||||
|
entities:
|
||||||
|
- cover.office_blind_left
|
||||||
|
- cover.office_blind_right
|
||||||
|
@ -41,7 +41,7 @@ good_night:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- cover.bedroom_blinds
|
- cover.bedroom_blinds
|
||||||
- cover.dining_blinds
|
- cover.dining_blinds
|
||||||
- cover.office_blind
|
- cover.office_blinds
|
||||||
- service: lock.lock
|
- service: lock.lock
|
||||||
target:
|
target:
|
||||||
entity_id: lock.front_door_25f246fe_door_lock
|
entity_id: lock.front_door_25f246fe_door_lock
|
||||||
@ -68,7 +68,7 @@ good_morning:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- cover.bedroom_blinds
|
- cover.bedroom_blinds
|
||||||
- cover.dining_blinds
|
- cover.dining_blinds
|
||||||
- cover.office_blind
|
- cover.office_blinds
|
||||||
- service: alarm_control_panel.alarm_disarm
|
- service: alarm_control_panel.alarm_disarm
|
||||||
entity_id: alarm_control_panel.home_alarm
|
entity_id: alarm_control_panel.home_alarm
|
||||||
- service: input_select.select_option
|
- service: input_select.select_option
|
||||||
|
@ -4,7 +4,7 @@ pc_sleep:
|
|||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.pc_caffeine
|
entity_id: input_boolean.pc_caffeine
|
||||||
@ -16,7 +16,7 @@ pc_sleep:
|
|||||||
entity_id: input_boolean.pc_sleeping
|
entity_id: input_boolean.pc_sleeping
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'off'
|
state: 'off'
|
||||||
sequence: [ ]
|
sequence: [ ]
|
||||||
default:
|
default:
|
||||||
@ -28,13 +28,13 @@ pc_safe_off:
|
|||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
sequence:
|
sequence:
|
||||||
- service: shell_command.pc_poweroff
|
- service: shell_command.pc_poweroff
|
||||||
- wait_for_trigger:
|
- wait_for_trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.desktop
|
entity_id: binary_sensor.hulk_ping
|
||||||
to: 'off'
|
to: 'off'
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
|
Loading…
Reference in New Issue
Block a user