Hi all,
I have the following code:
- platform: template
switches:
computers:
turn_on:
service: switch.turn_on
data:
entity_id:
- switch.micropc
- switch.nas1
- switch.nas3
- switch.nas4
- switch.nas5
- switch.esxi1
- switch.esxi2
turn_off:
service: switch.turn_off
data:
entity_id:
- switch.micropc
- switch.nas1
- switch.nas2
- switch.nas3
- switch.nas5
- switch.esxi1
- switch.esxi2
I would like the esxi servers to fully shutdown prior to the storage devices. I could add delays into the code but I would prefer it being based on no ping response.
Any help would be greatly appreciated, thank you.
Boyd