my configuration.yaml file contains time_zone: Europe/Amsterdam
via ssh and use command date i get: 11:00 CET
I use a file notify and use the following code in the automation:
data_template:
message: '({{ now().strftime("%H:%M") }}) # {{states.sensor.dim_01.attributes.battery_level}}'
the output is:
2019-01-07T10:00:00.153014+00:00 (11:00) # 11
So why is the time from the timestamp 10:00 and not 11:00? Can this be corrected?
I can create my own message without the timestamp but still wonder why it is incorrect.