Add some log messages
This commit is contained in:
parent
57ca8f542d
commit
4180f4da80
@ -48,6 +48,9 @@ script:
|
|||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: *cfe_switch
|
entity_id: *cfe_switch
|
||||||
|
- service: script.info_message
|
||||||
|
data_template:
|
||||||
|
message: "Slår av kaffebryggaren ({{ states('input_number.cfe_off') | int }} minuter)"
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: Coffee - Timer On
|
- alias: Coffee - Timer On
|
||||||
@ -67,6 +70,8 @@ automation:
|
|||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: *cfe_switch
|
entity_id: *cfe_switch
|
||||||
|
- service: script.info_message
|
||||||
|
data: {message: "Slår på kaffebryggaren (timer)"}
|
||||||
|
|
||||||
- alias: Coffee - Auto Off
|
- alias: Coffee - Auto Off
|
||||||
initial_state: True
|
initial_state: True
|
||||||
|
@ -18,3 +18,5 @@ automation:
|
|||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: *hvac_switch
|
entity_id: *hvac_switch
|
||||||
|
- service: script.info_message
|
||||||
|
data: { message: "Stänger av takfläkt"}
|
||||||
|
@ -46,3 +46,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "Fikadax!"
|
title: "Fikadax!"
|
||||||
message: "Kaffet är färdigt!"
|
message: "Kaffet är färdigt!"
|
||||||
|
- service: script.info_message
|
||||||
|
data:
|
||||||
|
message: "Kaffet är färdigt!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user