Feature description
Presence cannot be used as a trigger or « continue only if ».
It is therefore not possible to create scenes in « lockdown » or « home lockdown in case of absence » mode.
Typically, I cannot use it as an alarm system with Gladys at the moment.
The ideal would be to modify the value of the device linked to the presence of a user (binary, either 0 or 1). This way, actions can be triggered if one or more users are absent.
We could also have a detection of the type « no one is at home ».
I don’t see the point in updating the sentence, it will make the sentences strange rather than anything else. « maison » in the sentence refers to the concept of a house, nothing more.
Small question, I have a dev instance put on hold because I made a small modification in the chat box view, to get what you did Pierre, do I do a git pull? And will I lose my file modifications?
If the PR changes do not affect any of the files you modified locally, then a simple git pull should work.
If that’s not the case or if you’re not sure, it’s better to commit your local changes, even if you have to merge them later.
Yes, I quite agree, in fact I think it’s the same for all triggers.
The temporal condition you added in the actions follows this reasoning, after all.
We have it in the triggers (scheduled triggering) and now in the actions (temporal condition).
It would also be very practical to do the same for sunset/sunrise (an internal variable in Gladys that would keep this in mind thanks to the weather module?).
In my use case, I’m always forced to keep my fake variables to have this condition, quite simply:
Trigger: if access badge presented at the barrier:
Action 1: Open barrier,
And: If fake Sunset,
Action 2: Turn on the barrier and exterior lights.
Sorry for the second part off-topic, just to emphasize that very often the triggers are interesting in the subsequent conditions.