1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00
Files
core/tests/components
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
..
2017-09-23 17:15:46 +02:00
2017-09-28 09:49:35 +02:00
2017-10-19 10:56:25 +02:00
2017-06-17 10:03:49 -07:00
2017-09-17 11:32:22 +02:00
2017-07-31 20:52:39 -07:00
2017-10-23 09:20:45 +02:00
2017-10-19 10:56:25 +02:00
2017-05-13 21:25:54 -07:00
2016-03-09 10:25:50 +01:00
2017-08-29 15:44:36 +02:00
2017-07-21 21:38:53 -07:00
2017-05-12 20:14:17 -07:00
2017-09-24 15:48:45 -07:00
2017-09-23 17:15:46 +02:00
2017-09-23 17:15:46 +02:00
2017-09-08 21:19:49 -07:00
2017-09-23 17:15:46 +02:00
2017-07-13 10:19:59 -07:00
2017-03-30 00:50:53 -07:00
2017-07-21 21:38:53 -07:00