Flood sensor, switch and push message

As a noob on Home assistan i need some help to get an automation up and running on Hassbian. So far all seems to be added correctly in my z wave network.
On z wave i have a FIBARO System FGFS101 Zwave+ Flood Sensor and a Aeotec ZW078 Heavy Duty Smart Switch Gen5. I would like to create an automation that switches the power off and send out a push notice to ios devices when flood sensor detects water.

Any help apreciated.

  1. Read up on automation flow.
  2. Find out your entity_id.
  3. Find out all the states of said entity.
  4. Build trigger based on said states.
  5. Add any conditions you may need. You’ll need to repeat steps 1 and 2 for other sensors and devices.
  6. Add your actions to perform and to nofity yourself.