Input_datetime multiple sensors

Need a little help. I was running Home Assistant Core 0.104.3 (Hass.io) and had two input_datetime sensors which were working fine.

I decided to upgrade to 0.106.1. I ran the Check Home Assistant configuration add-in and it identified an issue with how my zone was configured. I fixed that, reran and it said no error found! :slight_smile:

I upgraded to 0.106.1 but keep getting errors saying input_datetime platform can’t be loaded.

I checked Developer Tools - States and it appears my first input_datetime is loading, but my second one isn’t. I compared my yaml to the docs but I don’t see the issue.

Here is my yaml:

input_datetime:
  backyard_floodlight_reset_time:
    name: Backyard Floodlights Reset Time
    has_date: false
    has_time: true
    initial: 00:30
  afternoon_lights_on_time:
    name: Afternoon Lights On Time
    has_date: false
    has_time: true
    initial: 13:00

Any ideas what I am doing wrong?

0.104.3 wanted quotes around the names, but 0.105.X and 0.106.X doesn’t like the quotes.

As always, thank you in advance.

1 Like

My bet is quotes around time (i.e initial)

That looks to be it. Thank you!

Such a simple fix. :flushed:

You need to be really careful with YAML. : is a separator so if you want it to be a part of your value you should preserve it by quoting.