Maintenance / Lock Mode

Context

This sketch below shows smart devices in the bathroom. (all sonoff devices :grinning_face_with_smiling_eyes:).

  • 2 basic rfr2: 1 for lamp and 1 for fan.
  • 2 sensors: 1 motion and 1 presence.
    • Motion sensor has scene setup to automatically turn on lamp and fan.
    • Presence sensor has scene setup to automatically turn those off if no occupant after several times.
  • Several wall switches (RF) placed outside and inside the bathroom.

Note: basic rfr2 used here can be replaced by newer device

(for example basic r4 and replace RF with ewelink-remote)

Usecase

One day, I need to clean up the bathroom exhaust fan. When I clean the fan, I need to make sure that the fan not get turn on, if not I may get injured. If I turn it off manually, some one or some scene / automation may trigger it on, while I clean the fan; so I need to disable scenes and other triggers. If I turn the breaker (MCB) off, the lamp also becomes off, room will get dark and I will need flashlight to clean the fan.

Feature Request & Reasoning

It will be more convenient if the basic rfr2 connected to the fan has a feature: “maintenance mode” or “lock mode” which can be switch on or off in the setting / configuration. The purpose of that feature is: if it mode turn on, is to make sure that device can not be turned on (manually or automatically). So that people can do something to the device around it safely without need to disabled scenes and trigger and without need to turn off the electricity (MCB).

Maintenance Mode: An operational state that temporarily disables automatic, remote, and user-triggered device actions to prevent unintended operation while the device is being inspected, cleaned, serviced, or repaired. The device can resume normal operation only after maintenance mode is explicitly cleared.

Hope that this request can get fullfilled. :folded_hands:
Thanks. :partying_face: