I think I have it setup correctly, but when the sensor says 255 which is what it takes for being in the “up” position, I don’t get an alert on my phone through the app
- id: '1589085567599'
alias: Garage Door Open
description: ''
trigger:
- entity_id: automation.garage_door_open
for: 00:00:30
platform: state
to: '255'
condition: []
action:
- data:
message: The garage door is up
title: Garage door is up
service: notify.notify
If you only have one battery powered device then try to restart with the sensor in close physical proximity to the zwave stick ( right beside it would be best) and see if it comes back OK…and make sure you give it a few minutes to re-initialize everything.
I think I got it working with a power down, not a restart.
How do I setup my automation to have it so the lights only come on 15 minutes before sunset? Currently they come on all the time except at sunset / night
Using the word “only” implies to me that you want the lights to come on “at 15 minutes before sunset” and at no other time. That sounds like a trigger not a condition.
Actually, the condition you have will allow the lights to come on all the time except between 15 minutes before sunset till midnight. So, if your binary sensor turns on any time from midnight till 15 minutes before sunset of that same day the lights will turn on. If the binary sensor turns on any time between 15 minutes before sunset until midnight of that same day then the lights won’t turn on.
Setting the trigger the way you have it will turn on the light at exactly 15 minutes before sunset but only if the binary sensor is on at exactly the same time. If the binary sensor comes on even 1 second later the lights won’t come on.
That is more like when I said this:
but the reply to that post you said that you were seeing the opposite of the second part of my post:
You said that’s what you were seeing and wanted the opposite:
What you have now won’t do that.
it will act like the scenario in my first sentence above.
However, that assumes all of the other syntax and entities are correct.
I don’t use the automation editor or use any device automations so I can’t really know for sure what the required syntax there is but from what I do know it looks OK.