1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-14 19:09:16 +00:00

3 Commits

Author SHA1 Message Date
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] () 2024-03-08 08:50:25 -05:00
Ville Skyttä
ced67e5800
Import util.dt as dt_util in components/[a-d]* () 2023-05-30 00:02:06 +03:00
jjlawren
e92e26b73a
Add expiration timestamp to cert_expiry sensors ()
* Add expiration timestamp to cert_expiry sensors

* Clear timestamp if cert becomes invalid

* Use timezone-aware timestamps

* Use DataUpdateCoordinator, split timestamp to separate sensor

* Use UTC, simpler add/remove handling

* Review fixes

* Fix incomplete mock that fails in 3.8

* Use static timestamps, improve helper method name
2020-06-18 18:29:46 +02:00