1
0

Compare commits

..

5 Commits

9 changed files with 43 additions and 35 deletions

View File

@ -15,7 +15,7 @@
- thu
- sun
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
action:
- service: light.turn_on
@ -31,7 +31,7 @@
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
- condition: state
entity_id: input_boolean.pc_caffeine
@ -41,7 +41,7 @@
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
- condition: state
entity_id: input_boolean.pc_caffeine
@ -70,7 +70,7 @@
- thu
- fri
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
action:
- service: light.turn_on
@ -86,7 +86,7 @@
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
- condition: state
entity_id: input_boolean.pc_caffeine
@ -96,7 +96,7 @@
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
- condition: state
entity_id: input_boolean.pc_caffeine
@ -125,7 +125,7 @@
- thu
- fri
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
action:
- service: light.turn_on

View File

@ -13,7 +13,7 @@
- service: cover.close_cover
target:
entity_id:
- cover.office_blind
- cover.office_blinds
- cover.dining_blinds
- id: brightness-ok
@ -32,7 +32,7 @@
- service: cover.open_cover
target:
entity_id:
- cover.office_blind
- cover.office_blinds
- cover.dining_blinds
- id: brightness-bright
@ -50,5 +50,5 @@
- service: cover.close_cover
target:
entity_id:
- cover.office_blind
- cover.office_blinds
- cover.dining_blinds

View File

@ -1,4 +1,4 @@
- id: button-office-table
- id: button-office-on
alias: '[Office] Button Light'
trigger:
- device_id: 5b972523e427721ec88e095994f7cc16
@ -43,13 +43,16 @@
kelvin: 3200
mode: single
- id: button-office-desk
alias: '[Office] Button Desk'
- id: button-office-off
alias: '[Office] Button WoL'
trigger:
- device_id: 5b972523e427721ec88e095994f7cc16
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
action: []
action:
- service: switch.turn_on
target:
entity_id: switch.hulk_wol
mode: single

View File

@ -3,7 +3,7 @@
description: ''
trigger:
- platform: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
to: 'off'
for:
minutes: 5

View File

@ -3,7 +3,7 @@
mode: single
trigger:
- platform: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
to: 'on'
from: 'off'
action:

View File

@ -12,26 +12,26 @@
- condition: or
conditions:
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'closing'
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'opening'
sequence:
- service: cover.stop_cover
entity_id: cover.office_blind
entity_id: cover.office_blinds
- conditions:
- condition: or
conditions:
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'closed'
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'open'
sequence:
- service: cover.close_cover
entity_id: cover.office_blind
entity_id: cover.office_blinds
mode: single
- id: office-blinds-button-down
@ -48,24 +48,24 @@
- condition: or
conditions:
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'closing'
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'opening'
sequence:
- service: cover.stop_cover
entity_id: cover.office_blind
entity_id: cover.office_blinds
- conditions:
- condition: or
conditions:
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'closed'
- condition: state
entity_id: cover.office_blind
entity_id: cover.office_blinds
state: 'open'
sequence:
- service: cover.open_cover
entity_id: cover.office_blind
entity_id: cover.office_blinds
mode: single

View File

@ -6,6 +6,7 @@ counter:
dhcp:
energy:
frontend:
themes: !include_dir_merge_named themes
homeassistant:
customize: !include customize.yaml
history:
@ -113,7 +114,6 @@ sun:
system_health:
#tag:
timer:
updater:
webhook:
zeroconf:
zone:
@ -476,3 +476,8 @@ cover:
- cover.dining_blind_left
- cover.dining_blind_middle
- cover.dining_blind_right
- platform: group
name: Office Blinds
entities:
- cover.office_blind_left
- cover.office_blind_right

View File

@ -41,7 +41,7 @@ good_night:
entity_id:
- cover.bedroom_blinds
- cover.dining_blinds
- cover.office_blind
- cover.office_blinds
- service: lock.lock
target:
entity_id: lock.front_door_25f246fe_door_lock
@ -68,7 +68,7 @@ good_morning:
entity_id:
- cover.bedroom_blinds
- cover.dining_blinds
- cover.office_blind
- cover.office_blinds
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option

View File

@ -4,7 +4,7 @@ pc_sleep:
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
- condition: state
entity_id: input_boolean.pc_caffeine
@ -16,7 +16,7 @@ pc_sleep:
entity_id: input_boolean.pc_sleeping
- conditions:
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'off'
sequence: [ ]
default:
@ -28,13 +28,13 @@ pc_safe_off:
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
state: 'on'
sequence:
- service: shell_command.pc_poweroff
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.desktop
entity_id: binary_sensor.hulk_ping
to: 'off'
- service: switch.turn_off
target: