1
0
Fork 0

Compare commits

..

No commits in common. "bce3f37b4700fb2f525a87b82a92acea15977f8c" and "d33ef15efc90040473101fc981e44bf023e3fdbd" have entirely different histories.

3 changed files with 9 additions and 21 deletions

View file

@ -2,15 +2,13 @@
alias: "[Calendar] Coffee machine" alias: "[Calendar] Coffee machine"
mode: single mode: single
trigger: trigger:
- platform: calendar
event: start
entity_id: calendar.automations_caffeine_free_time
- platform: calendar - platform: calendar
event: start event: start
entity_id: calendar.automations_sleep entity_id: calendar.automations_sleep
offset: '-8:00:0'
action: action:
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.coffee_machine_electrical_measurement
below: '4'
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.coffee_machine_on_off entity_id: switch.coffee_machine_on_off
@ -19,10 +17,16 @@
alias: "[Calendar] Coffee machine" alias: "[Calendar] Coffee machine"
mode: single mode: single
trigger: trigger:
- platform: calendar
event: end
entity_id: calendar.automations_caffeine_free_time
- platform: calendar - platform: calendar
event: end event: end
entity_id: calendar.automations_sleep entity_id: calendar.automations_sleep
condition: condition:
- condition: state
entity_id: calendar.automations_caffeine_free_time
state: 'off'
- condition: state - condition: state
entity_id: calendar.automations_sleep entity_id: calendar.automations_sleep
state: 'off' state: 'off'

View file

@ -469,19 +469,6 @@ sensor:
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
source: sensor.computer_outlet_electrical_measurement source: sensor.computer_outlet_electrical_measurement
# Powercalc
- platform: powercalc
create_group: Kitchen lights
include:
area: Kitchen
- platform: powercalc
create_group: Bedroom lights
entities:
- entity_id: light.bedroom_1
- entity_id: light.bedroom_2
- entity_id: light.bed_lamp_left
- entity_id: light.bed_lamp_right
- entity_id: light.bed_lightstrip
binary_sensor: binary_sensor:
- name: Hulk Ping - name: Hulk Ping

View file

@ -79,9 +79,6 @@ good_morning:
entity_id: switch.computer_outlet entity_id: switch.computer_outlet
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.mute_doorbell entity_id: switch.mute_doorbell
- service: switch.turn_on
target:
entity_id: switch.coffee_machine_on_off
mode: single mode: single
icon: mdi:weather-sunny icon: mdi:weather-sunny