HS-FLS100+ help with the motion sensor activating another Z-Wave device

I just migrated my Z-Wave network to Home Assistant, and I have a HS-FLS100+ Flood Light Motion Sensor. On my old Hub, I had it programmed where when the motion activated, it turned on the Flood Light and 2 other Z-Wave Switch controlled devices.

Is anyone familiar with how to make that happen in Home Assistant? I have tried many different Automations and I can’t make it work.

Any and all help is greatly appreciated.

That would be an automation using the Flood Light Motion sensor as the trigger
something like, changing the appropriate devices to your set up

automation:
  - alias: "Floodlight Motion Automation"
    trigger:
      platform: state
      entity_id: binary_sensor.floodlight_motion_sensor
      to: "on"
    action:
      - service: homeassistant.turn_on
        entity_id:
          - switch.floodlight
          - switch.device_1
          - switch.device_2
      - delay: "00:05:00"
      - service: homeassistant.turn_off
        entity_id:
          - switch.floodlight
          - switch.device_1
          - switch.device_2

Thanks for the help. Here is what I did based on your reply to me. I will have to wait for it to get darker and after 5:00pm Central Time to test this out. Fingers crossed.

you can “run” it from the editor to test all is well