Hi.
I wanted to use NodeRed for managing my heating of specific rooms through google calendar integrated in HomeAssistant. So I am using the Trigger:State node, connected with the calendar entity.
As there is no condition set, every trigger should go through.
It works fine as long as there is exactly one event. I get a trigger when it starts and a trigger when it ends, containing the needed date (e.g. location and description) But if there is a second event during that time, I get no further triggers when starting or ending at all.
Example:
- First event: 08:00-18:00 - heat office - correctly triggered
- Second event: 11:00-14:00 - heat kitchen - not triggered at all (seems because another event is already happening).
When activating “output on connect”, I always get only one event (as far as I can see only the first / longer one.
How can this be solved in NodeRed, I just want to start the climate unit when event started and turn it off when event ended. And there will always be multiple rooms to be heated, so these overlaps will happen.
Thanks for your advice
Edit: and I do not know why my post was moved to the NodeRed area from the mods, as this seems to be a problem based on a weird behavior from the Homeassistant trigger events…