Found a workaround... You'll need a Tuya smart plug to do so.Create a
scene on Tuya app when door sensor is open it turns on smart plug.And
when door sensor is closed it turns off smart plug.Now in Google Home,
create a routine with the smart plug as...