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
alias: '[Behaviour] Go to sleep'
mode: single
@ -44,11 +28,6 @@
data:
title: "Sleep notifier"
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'
- choose:
- conditions:
@ -79,17 +58,6 @@
- service: input_boolean.turn_off
target:
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
target:
entity_id: light.office_light_up
@ -120,11 +88,6 @@
- 0
target:
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
data:
rgb_color:

View File

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

View File

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

View File

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