Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106607

Template wrong due to timezone?

$
0
0

Hi,

I’ve got an automation which should run at a specified time, saved in a input_datetime, as defined in this config:

input_datetime:
 robbie_start_time:
   name: Start time
   has_date: false
   has_time: true

This template generates a time which is 1 hour off…

"{{ state_attr('input_datetime.robbie_start_time', 'timestamp') | int | timestamp_custom('%H:%M', True) }}"

So probably this has something to do with the timezone, but I have set it like this:

homeassistant:
  time_zone: 'Europe/Brussels'

Anyone knows how to solve this?

Thanks
Cadish

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106607

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>