Hi everybody,
just changed from openhab zu homeassistant and i think that was a good decision. Now it trie to
do all my automations new in HA and need some help with one:
i have stairs with a light and two motion sensors (one on the upper end and one on the lower end). the sensor is a homematic and after 15sec it turns off again (minimum time).
when i step in the motion sensor 1 it turns to “ON” and then turns on the light. after about 5 seconds i walk to the other end of the stairs and the motion sensor 2 turns to “ON”. after another 10 seconds the motion sensor 1 turns to “OFF” but the senor 2 still has 5 seconds to go till it turns to OFF. If i walk back to the stairs within those 5 seconds the automation cant be triggered, because the motion sensor 2 is still ON.
So i would like to turn OFF the motion sensor 2 when sensor 1 turns OFF. I found no way to do this.
another problem is, that even when a found a way to turn OFF the motion sensor, it would trigger any automation related.
Is there a way to change a state without start related automations ?
Sorry, i hope you could help me with one more question:
i would like to involve a “numeric state” within the action part, that if
the action is “on” it only starts, when the illumination is below 40.
if i do this “outside” the action it could happen, that it doesnt turn off again.
“inside” i would need the condition for illumination only if “on” is done.