I have a sonoff 5v (tasmota) relay that I use to open my front door. For security reasons, I decided to leave it out of my google home interface.
I heard there is a way to set it as a secure device and then Google Assistant will automatically ask for a password/PIN. I tried looking at documentation but I did not find any examples on how to do it.
I heard it is related to setting the device as a generic cover on configuration.yaml. Does anyone know how to do it?