This trigger is to activate an automation based on energy price changes. Usually it works as expected, but a significant amount of times it fails to trigger when the unit price drops below this rate. I suspect that this may be due to our occasionally patchy Internet connection - so if the price drops from 0.35 to 0.25 at 07:30 and we’re offline at that point, the trigger won’t activate. But at 08:30, with the price still below 0.33 and the Internet connection being up for at least 45 minutes, the trigger still hasn’t been activated.
How exactly does this trigger work, and what can I do to get it to re-evaluate in case of a bad connection? Does it only trigger when the price crosses a threshold (so if it misses that due to the connection being down, it won’t trigger again until that threshold is crossed again), or can it be set to keep checking what the value of that entity is and then trigger later even if it misses the initial threshold crossing?
Does there actually need to be a change in state? If the connection was down when it changed from 0.33 to 0.25 and then it stayed at 0.25 for several hours, would the automation trigger? Or if it kept changing but stayed below 0.33 would it trigger?
Trigger was actually set at 0.29 below, whne the automation didn’t work.