1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00
Files
core/tests/components/sensor
Kevin Fronczak f9d89a016e Add fail2ban sensor (#9975)
* Initial revision of fail2ban sensor

* Verified working, added tests

* Re-factored code so that log reading isn't called for each sensor

* Lint fixes

* Removed errant reset of last ban, added test to verify bans persist through update

* Removed for loop in read_log and replaced with regex per review request

* Refactored update to use current ban array for last ban state

- also was missing return False in timer for default behavior

* Removed CONF_SCAN_INTERVAL from PLATFORM_SCHEMA.extend

- renamed DEFAULT_SCAN_INTERVAL to SCAN_INTERVAL

* SCAN_INTERVAL changed to timedelta

* Force travis rebuild (last build timed out)

* Using compiled regex now
2017-10-23 09:20:45 +02:00
..
2016-03-09 10:25:50 +01:00
2017-03-30 00:50:53 -07:00
2017-06-17 10:03:49 -07:00
2017-10-23 09:20:45 +02:00
2017-05-15 14:25:46 +02:00
2017-09-24 08:12:38 +02:00
2017-09-23 17:15:46 +02:00
2017-03-09 16:54:04 -05:00
2017-08-29 08:10:38 -07:00
2017-10-19 10:56:25 +02:00
2017-10-14 20:06:44 +02:00
2017-08-12 08:52:56 +02:00