Detecteur de mouvent et moment d'allumage

Mon problème

Bonjour tout le monde,

J’ai reçus mes détecteur de mouvement Sonoff ( SNZB-03 ) j’ai réussi a les intégré la n’est pas le problème j’ai essayer de faire une automatisation avec un allumage a partir d’une certaine heure mais c’est la que ça ne vas pas malgré l’utilisation d’un blueprint la lumière s’allume peut importe l’heure alors soit j’ai mal compris une chose soit le blueprint est pas bon.

Merci pour votre aide.

Tom

Le blueprint

blueprint:
  name: test
  description: Turn on a light when motion is detected.
  domain: automation
  input:
    motion_entity:
      name: Motion Sensor
      selector:
        entity:
          domain: binary_sensor
          device_class: motion
    light_target:
      name: Light
      selector:
        target:
          entity:
            domain: light
    no_motion_wait:
      name: Wait time
      description: Time to leave the light on after last motion is detected.
      default: 120
      selector:
        number:
          min: 0
          max: 3600
          unit_of_measurement: seconds
    start_time:
      name: Start Time
      description: Time action should start
      default: '17:00:00'
      selector:
        time: {}
    end_time:
      name: End Time
      default: 00:00:00
      description: Time action should stop
      selector:
        time: {}

# If motion is detected within the delay,
# we restart the script.
mode: restart
max_exceeded: silent

trigger:
  platform: state
  entity_id: !input motion_entity
  from: "off"
  to: "on"

action:
  - alias: "Turn on the light"
    service: light.turn_on
    target: !input light_target
  - alias: "Wait until there is no motion from device"
    wait_for_trigger:
      platform: state
      entity_id: !input motion_entity
      from: "on"
      to: "off"
  - alias: "Wait the number of seconds that has been set"
    delay: !input no_motion_wait
  - alias: "Turn off the light"
    service: light.turn_off
    target: !input light_target

L’automatisation

- id: '1662494882303'
  alias: 'Lumière cuisine '
  description: ''
  use_blueprint:
    path: homeassistant/test.yaml
    input:
      motion_entity: binary_sensor.mouvement_cuisine_iaszone
      end_time: 08:00:00
      light_target:
        entity_id:
        - scene.cuisine_matin
      start_time: 01:01:00
      no_motion_wait: 120
- id: '1662537470248'
  alias: Lumière cuisine  (Dupliquer)
  description: ''
  use_blueprint:
    path: homeassistant/test.yaml
    input:
      motion_entity: binary_sensor.mouvement_cuisine_iaszone
      end_time: '01:00:00'
      light_target:
        device_id: 6d8a02986c184ffa4d729c8338a128c7
      start_time: '17:00:00'
      no_motion_wait: 120

Ma configuration


Version de l’intégration: 1.27.1
Version de l’interface: 20220825160758
Dépôts: 1179
Dépôts téléchargés: 25
Home Assistant 2022.8.7 Supervisor 2022.08.5 Operating System 8.5 Interface utilisateur : 20220802.0 - latest

Juste comme ça il considère pas que 0h00 c’est le même jour que 17h00 (comme dans la vraie vie)
Essaye avec 23h59

Ça fonctionne et j’avais aussi oublié des ’ au niveau des heures a un endroit
Merci Pulpy