Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
jjlawren
df3f7687d4
Refactor Certificate Expiry Sensor ( #32066 )
...
* Cert Expiry refactor
* Unused parameter
* Reduce delay
* Deprecate 'name' config
* Use config entry unique_id
* Fix logic bugs found with tests
* Rewrite tests to use config flow core interfaces, validate created sensors
* Update strings
* Minor consistency fix
* Review fixes, complete test coverage
* Move error handling to helper
* Subclass exceptions
* Better tests
* Use first object reference
* Fix docstring
2020-03-02 07:44:24 -06:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08:00
Bas Nijholt
cce3077df3
Sort imports according to PEP8 for cert_expiry ( #29705 )
2019-12-08 23:32:50 +01:00
jjlawren
44bf9e9ddc
Additional SSL validation checks for cert_expiry ( #28047 )
...
* Additional SSL validation checks
* Add validity attribute, log errors on import
* Don't log from sensor
2019-10-22 23:34:12 -07:00
Quentame
ac467d0b3f
Not slugify cert_expiry name ( #28055 )
2019-10-21 14:30:49 +02:00
Maikel Punie
9114ed36cd
Fix cert expiry config flow check and update ( #26638 )
...
* Fix typo in translations
* Work on bug #26619
* readd the homeassistant.start event
* Remove the callback
* Added the executor_job for _test_connection
* Update test_config_flow.py
2019-09-17 13:39:46 -07:00
Maikel Punie
33bd9c83fb
Enable cert_expiry config entries ( #25624 )
...
* Enable cert_expiry config entries
* add black
* lint fixes
* Rerun black
* Black on json files is a bad idea
* Work on comments
* Forgot the lint
* More comment work
* Correctly set defaults
* More comments
* Add codeowner
* Fix black
* More comments implemented
* Removed the catch
* Add helper.py from cert_expiry to .coveragerc
2019-08-28 19:35:09 +02:00