I wrote an “away mode” I can switch on using a button within the interface. When it’s enabled, Pimatic will switch on some lights in the house after sunset for a random time (I’m using it for when I’m not at home for several days). It’s working well, but I can’t manage to send the Pushbullet notification when the lights switch (I only get the notification right after sunset, but I want to receive notification at the moment the lights switch on).
This is one of my current rules I’m using:
if awaymode is on and it is after sunset and it is before 23:59 then switch Licht Wohnzimmer on after random(90, 60) minutes for random(180, 120) minutes and push title:“Awaymodus Wohnzimmer aktiv” message:“Abwesenheitsschaltung Wohnzimmer wurde aktiviert.”
So to receive the notification when the light switches on, I’m trying this to no avail:
if awaymode is on and it is after sunset and it is before 23:59 then [switch Licht Wohnzimmer on and push title:“Awaymodus Wohnzimmer aktiv” message:“Abwesenheitsschaltung Wohnzimmer wurde aktiviert.”] after random(90, 60) minutes for random(180, 120) minutes
…but this one doesn’t validate correctly (“Could not find an provider that provides the next action of…”)
Anyone having an idea what I’m doing wrong?