hass-core/tests/components/cert_expiry
jjlawren e92e26b73a
Add expiration timestamp to cert_expiry sensors (#36399)
* 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
..
__init__.py Enable cert_expiry config entries (#25624) 2019-08-28 19:35:09 +02:00
const.py Refactor Certificate Expiry Sensor (#32066) 2020-03-02 07:44:24 -06:00
helpers.py Add expiration timestamp to cert_expiry sensors (#36399) 2020-06-18 18:29:46 +02:00
test_config_flow.py Add expiration timestamp to cert_expiry sensors (#36399) 2020-06-18 18:29:46 +02:00
test_init.py Add expiration timestamp to cert_expiry sensors (#36399) 2020-06-18 18:29:46 +02:00
test_sensors.py Add expiration timestamp to cert_expiry sensors (#36399) 2020-06-18 18:29:46 +02:00