diff --git a/configuration/automations/behaviour-goto-sleep.yaml b/configuration/automations/behaviour-goto-sleep.yaml index aac12e6..b168bd2 100644 --- a/configuration/automations/behaviour-goto-sleep.yaml +++ b/configuration/automations/behaviour-goto-sleep.yaml @@ -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: diff --git a/configuration/automations/front-door-doorbell.yaml b/configuration/automations/front-door-doorbell.yaml index 53fbaec..d63d897 100644 --- a/configuration/automations/front-door-doorbell.yaml +++ b/configuration/automations/front-door-doorbell.yaml @@ -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 diff --git a/configuration/automations/work.yaml b/configuration/automations/work.yaml index 66533e5..081656b 100644 --- a/configuration/automations/work.yaml +++ b/configuration/automations/work.yaml @@ -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' diff --git a/scripts/10.modes.yaml b/scripts/10.modes.yaml index 08262fc..c454b6f 100644 --- a/scripts/10.modes.yaml +++ b/scripts/10.modes.yaml @@ -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