mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-08 11:16:49 +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