Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106404

Time between now and value of input_datetime

$
0
0

Hey all,

I have been trying to get this going now for way too long. What I would like is a sensor that holds a value like “1 day, 10 minutes” (or similar) which is populated by the time difference between now and what an “input_datetime” sensor has for its value.

In other words, If the “input_datetime” sensor has 2022-08-17 14:19:37, and now is 2022-08-17 15:19:37, my new sensor should say 1 hour.

Any input most appreciated. :slight_smile:

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 106404

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>