Add logging to temperature automation

This commit is contained in:
2020-05-16 14:01:00 +03:00
parent 788ca29e71
commit ccf5336fa4
@@ -49,3 +49,8 @@ automation:
- service: script.lighting_temperature_adjust
data:
entity_id: light.hallway_entrance
- service: logbook.log
data_template:
name: "💡 Lighting Module · "
message: "Adjusting temperature - sun changed from {{ trigger.from_state.state }} to {{ trigger.to_state.state }}"
domain: light