SONOFF MQTT Switch with additional confirmation

Hi,
i’m using several MQTT (SONOFF) switches around the house, one to trigger a strong water pump in the garden.
So, this pump shouldn’t start by mistake, when my kids are playing outside. :wink:
Is there a way to attach an additional confirmation to a MQTT Switch, so that a “Switch-On” by mistake could be controlled?
I thought about a secondary (manual) switch, that must be “on” for the MQTT Switch to start the pump, anyone tried this?

Switch configuration

- platform: mqtt
  name: "sonoff2"
  command_topic: "cmnd/sonoff2/power"
  state_topic: "stat/sonoff2/POWER"
  qos: 1
  payload_on: "ON"
  payload_off: "OFF"
  retain: true
  optimistic: false

Have a look at the template switch method I have used in this post

You could use a template switch to combine two switches - requiring both to be on to allow the pump to work

1 Like

Hi phileep,
thanks a lot, will give your template switch method a try!
Regards,
Markus