1
0

Remove notification cube

This commit is contained in:
Przemek Grondek 2024-05-18 19:01:09 +02:00
parent 7b60427598
commit 5d128eda69
4 changed files with 120 additions and 162 deletions

View File

@ -1,19 +1,3 @@
- id: behaviour_pc_caffeine
alias: '[Behaviour] PC caffeine'
mode: single
trigger:
- platform: state
entity_id:
- input_boolean.pc_caffeine
to: "on"
condition: [ ]
action:
- service: light.turn_on
data:
color_name: green
target:
entity_id: light.notification_cube_light
- id: goto_sleep - id: goto_sleep
alias: '[Behaviour] Go to sleep' alias: '[Behaviour] Go to sleep'
mode: single mode: single
@ -44,11 +28,6 @@
data: data:
title: "Sleep notifier" title: "Sleep notifier"
message: "Go to sleep, computer will turn off in 5 minutes" message: "Go to sleep, computer will turn off in 5 minutes"
- service: light.turn_on
data:
color_name: orange
target:
entity_id: light.notification_cube_light
- delay: '0:05:00' - delay: '0:05:00'
- choose: - choose:
- conditions: - conditions:
@ -79,17 +58,6 @@
- service: input_boolean.turn_off - service: input_boolean.turn_off
target: target:
entity_id: input_boolean.pc_caffeine entity_id: input_boolean.pc_caffeine
- choose:
- conditions:
- condition: state
entity_id: input_boolean.pc_caffeine
state: 'off'
sequence:
- service: light.turn_on
data:
color_name: yellow
target:
entity_id: light.notification_cube_light
- service: light.turn_off - service: light.turn_off
target: target:
entity_id: light.office_light_up entity_id: light.office_light_up
@ -120,11 +88,6 @@
- 0 - 0
target: target:
entity_id: light.office_light_up entity_id: light.office_light_up
- service: light.turn_on
data:
color_name: red
target:
entity_id: light.notification_cube_light
- service: light.turn_on - service: light.turn_on
data: data:
rgb_color: rgb_color:

View File

@ -14,9 +14,6 @@
actions: actions:
- action: UNLOCK_DOOR - action: UNLOCK_DOOR
title: Unlock door title: Unlock door
- service: light.turn_on
target:
entity_id: light.notification_cube_light
- service: zha.issue_zigbee_cluster_command - service: zha.issue_zigbee_cluster_command
data: data:
cluster_type: in cluster_type: in

View File

@ -55,132 +55,132 @@
entity_id: light.bathroom_color_zha_group_0x0007 entity_id: light.bathroom_color_zha_group_0x0007
mode: single mode: single
- id: work_start #- id: work_start
alias: '[Work] Start' # alias: '[Work] Start'
trigger: # trigger:
- platform: time # - platform: time
at: '10:00' # at: '10:00'
condition: # condition:
- condition: time # - condition: time
weekday: # weekday:
- mon # - mon
- tue # - tue
- wed # - wed
- thu # - thu
- fri # - fri
action: # action:
- service: light.turn_on # - service: light.turn_on
data: # data:
color_name: green # color_name: green
target: # target:
entity_id: light.notification_cube_light # entity_id: light.notification_cube_light
mode: single # mode: single
- id: work_daily_minus_30m #- id: work_daily_minus_30m
alias: '[Work] Daily -30m' # alias: '[Work] Daily -30m'
trigger: # trigger:
- platform: calendar # - platform: calendar
event: start # event: start
offset: '-0:30:0' # offset: '-0:30:0'
entity_id: calendar.automations_daily # entity_id: calendar.automations_daily
action: # action:
- service: light.turn_on # - service: light.turn_on
data: # data:
color_name: yellow # color_name: yellow
transition: 2 # transition: 2
target: # target:
entity_id: light.notification_cube_light # entity_id: light.notification_cube_light
- id: work_daily_minus_15m #- id: work_daily_minus_15m
alias: '[Work] Daily -15m' # alias: '[Work] Daily -15m'
trigger: # trigger:
- platform: calendar # - platform: calendar
event: start # event: start
offset: '-0:15:0' # offset: '-0:15:0'
entity_id: calendar.automations_daily # entity_id: calendar.automations_daily
action: # action:
- service: light.turn_on # - service: light.turn_on
data: # data:
color_name: orange # color_name: orange
transition: 2 # transition: 2
target: # target:
entity_id: light.notification_cube_light # entity_id: light.notification_cube_light
- id: work_daily_minus_5m #- id: work_daily_minus_5m
alias: '[Work] Daily -5m' # alias: '[Work] Daily -5m'
trigger: # trigger:
- platform: calendar # - platform: calendar
event: start # event: start
offset: '-0:5:0' # offset: '-0:5:0'
entity_id: calendar.automations_daily # entity_id: calendar.automations_daily
action: # action:
- service: light.turn_on # - service: light.turn_on
data: # data:
color_name: purple # color_name: purple
target: # target:
entity_id: light.notification_cube_light # entity_id: light.notification_cube_light
- id: work_daily_start #- id: work_daily_start
alias: '[Work] Daily' # alias: '[Work] Daily'
trigger: # trigger:
- platform: calendar # - platform: calendar
event: start # event: start
entity_id: calendar.automations_daily # entity_id: calendar.automations_daily
condition: # condition:
- condition: time # - condition: time
weekday: # weekday:
- mon # - mon
- tue # - tue
- wed # - wed
- thu # - thu
- fri # - fri
action: # action:
- service: light.turn_on # - service: light.turn_on
data: # data:
color_name: red # color_name: red
target: # target:
entity_id: light.notification_cube_light # entity_id: light.notification_cube_light
- id: work_dailY_end #- id: work_dailY_end
alias: '[Work] Daily end' # alias: '[Work] Daily end'
trigger: # trigger:
- platform: calendar # - platform: calendar
event: end # event: end
entity_id: calendar.automations_daily # entity_id: calendar.automations_daily
condition: # condition:
- condition: time # - condition: time
weekday: # weekday:
- mon # - mon
- tue # - tue
- wed # - wed
- thu # - thu
- fri # - fri
action: # action:
- service: light.turn_on # - service: light.turn_on
data: # data:
color_name: green # color_name: green
target: # target:
entity_id: light.notification_cube_light # entity_id: light.notification_cube_light
mode: single # mode: single
- id: work_end #- id: work_end
alias: '[Work] End' # alias: '[Work] End'
trigger: # trigger:
- platform: time # - platform: time
at: '18:00' # at: '18:00'
condition: # condition:
- condition: time # - condition: time
weekday: # weekday:
- mon # - mon
- tue # - tue
- wed # - wed
- thu # - thu
- fri # - fri
action: # action:
- service: light.turn_off # - service: light.turn_off
target: # target:
entity_id: light.notification_cube_light # entity_id: light.notification_cube_light
mode: single # mode: single
- id: work_cool_down_home - id: work_cool_down_home
alias: '[Work] Cool down home after leaving work' alias: '[Work] Cool down home after leaving work'

View File

@ -88,7 +88,6 @@ good_night:
- light.balcony - light.balcony
- light.table_lamp_lights - light.table_lamp_lights
- light.lego_bookcase_light - light.lego_bookcase_light
- light.notification_cube_light
before_wakeup: before_wakeup:
alias: Before wakeup alias: Before wakeup
@ -240,7 +239,6 @@ leave_home:
- light.balcony - light.balcony
- light.table_lamp_lights - light.table_lamp_lights
- light.lego_bookcase_light - light.lego_bookcase_light
- light.notification_cube_light
arrive_home: arrive_home:
alias: Arrive Home alias: Arrive Home