#entity active duration sensor

4 messages · Page 1 of 1 (latest)

tropic arrow
#

Hi, is there a way to have a sensor the is the amount of time an entity was active for?

i have an input bool that i use to toggle "night mode" when im asleep and i want to have a sensor that, when that gets turned off, will record how long it was on for so i dont have to look in the input bool history to see how long i was asleep.

rugged lintelBOT
tropic arrow
#

yeah, that works. i looked at it before and got to the start/end time and thought it wouldent work but missed that they can be templates (so start at midday yesterday and end at midday today)

#

thanks