Zwave condition on Automation

Dear,

I have this automation

#  - alias: "Close the water valve when flood is detected"
#    trigger:
#      - platform: event
#        event_type: state_changed
#        event_data:
#          entity_id: binary_sensor.fibaro_system_fgfs101_flood_sensor_flood
#          state: "on"
#      - platform: event
#        event_type: state_changed
#        event_data:
#          entity_id: binary_sensor.fibaro_system_fgfs101_flood_sensor_flood_2
#          state: "on"
#    action:
#      - service: switch.turn_off
#        entity_id: switch.zigate_ec1bbdfffe0e45a5_1
#      - service: notify.notify
#        data:
#          message: "Flood detected ! Closing the valve !"
#          data:
#            push:
#              sound:
#                name: default
#                critical: 1
#                volume: 1.0

It’s triggered each time i restart my HA instance because zwave network is not ready.
Can you help me to set zwave.network_ready condition ?

Thank you