Lighting automation for the 'Home Assistant' program (a solution to the problem of accidental light outage)
In this automation, I will try to show a solution to the problem of accidentally turning off the light in the bathroom (in the absence of movement, but the presence of a person in the room). We will also take into account option "B" of manual light control (for an extreme case - the fall of the Smart Home system).