Add some log messages

This commit is contained in:
2019-03-07 15:38:23 +01:00
parent 57ca8f542d
commit 4180f4da80
3 changed files with 10 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ script:
- service: homeassistant.turn_off
data:
entity_id: *cfe_switch
- service: script.info_message
data_template:
message: "Slår av kaffebryggaren ({{ states('input_number.cfe_off') | int }} minuter)"
automation:
- alias: Coffee - Timer On
@@ -67,6 +70,8 @@ automation:
- service: homeassistant.turn_on
data:
entity_id: *cfe_switch
- service: script.info_message
data: {message: "Slår på kaffebryggaren (timer)"}
- alias: Coffee - Auto Off
initial_state: True