Skip to content

input_datetime timestamp is off by 18 minutes #44227

Closed
@coolguymatt

Description

The problem

If I take the timestamp attribute of an input_datetime, and use a unix time converter, the time is off by 18 minutes.

For example:
image

6:00 EST is 11:00 UTC, but 11:18 UTC appears.
image

I spun up a fresh HA instance in docker to see if the same thing happens there, and it does:

image
image

Environment

Problem-relevant configuration.yaml

input_datetime:
  both_date_and_time:
    name: Input with both date and time
    has_date: true
    has_time: true

Traceback/Error logs

Additional information

I think I was having this issue when #43337 was resolved but no one else said anything at that time, so I thought it was just something I was doing wrong. I am using America/Toronto time zone.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions