Sid
6587ee20db
Enable Ruff TRY300 ( #114437 )
...
* Enable Ruff TRY300
* Update validation.py
* Address review comments
2024-03-30 10:37:59 +01:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Erik Montnemery
6fe28d3764
Migrate integrations a-d to generic flowhandler ( #111861 )
2024-02-29 20:07:14 +01:00
Marc Mueller
7023ac7366
Enable strict typing for cert_expiry ( #107860 )
2024-01-12 12:32:17 +01:00
Aidan Timson
1204b4f700
Add typings to Certificate Expiry integration ( #75945 )
2022-07-31 13:26:16 +02:00
Erik Montnemery
8b436c43f7
Enable basic type checking for cert_expiry ( #55335 )
2021-08-29 10:57:18 -06:00
Franck Nijhof
d4d0b93d3b
Clean up connection classes in integrations A-C ( #49888 )
2021-04-30 21:01:52 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler ( #46462 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
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
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