Time condition broken?

I’m using the last hass.io version and I have this automation:

- id: '1588082223528'
  alias: Mattina lollo
  description: ''
  trigger:
  - entity_id: switch.stop_tapparella_lollo
    from: 'off'
    platform: state
    to: 'on'
  condition:
    condition: and
    conditions:
    - condition: state
      entity_id: device_tracker.telefono_lollo
      state: home
    - condition: time
      after: '6:55:00'
      before: '9:00:00'
  action:
  - data: {}
    entity_id: cover.tapparella_lorenzo
    service: cover.open_cover
  - data: {}
    entity_id: cover.tapparella_bagno_ragazzi
    service: cover.open_cover
  - data: {}
    entity_id: cover.tapparella_studio_lorenzo
    service: cover.open_cover
  - data: {}
    entity_id: cover.tapparella_finestra_cucina
    service: cover.open_cover

This automation doesn’t work. As soon as I remove the time condition it starts working correctly. How can I fix it?

Thank you for your support.

try adding a zero to the front of your time values:

- condition: time
  after: '06:55:00'
  before: '09:00:00'
1 Like

Thank you! It works. I think that this should be more clear in the documentations.

Well, to be fair, all of the time condition examples that I saw show the hours, minutes and seconds with two digit numbers.

but I’m glad it’s working now.