Smth is going wrong with this template

Hi everyone. Here is what I have got

I choose 22:00 on my inpute datetime and see + 3 hours when I try to use it
As you can check 79200 is 22, not 1, so smth is going wrong here

I just need to start an automation in choosed from UI time:

  trigger:
    platform: template
    value_template: "{{ states('sensor.time') == (states.input_datetime.alarm_morning.attributes.timestamp | int | timestamp_custom('%H:%M', 'False')) }}"

And yes, I am from Moscow (+3) and maybe thats the issue. But this automation was working earlyer (6 months ago)
I am on 105.5 now

Change your template to:

value_template: "{{ states('sensor.time') == (states.input_datetime.alarm_morning.attributes.timestamp | int | timestamp_custom('%H:%M', 'True')) }}"

I get the same thing

Remove the quotes around the True

Edit: also you have quotes around the false. Remove it in both instances and choose the one with the time you expect

Thank you! That worked. Really appriciate help in this community :slight_smile:

{{ states('sensor.time') == 
(states.input_datetime.alarm_morning.attributes.timestamp | int | 
timestamp_custom('%H:%M', False)) }}