mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-13 06:28:59 +00:00

There is no need in using as_timestamp as we can subtract datetimes and then use the resulting timedelta's total_seconds() I believe it's more intuitive and elegant