hass-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
..
__init__.py
test_api_streams.py
test_command_line.py Added possibilities to use template in the command_line sensor (#8505) 2017-08-10 18:52:52 +02:00
test_darksky.py
test_dsmr.py Fix attribute entity (#8066) 2017-06-17 10:03:49 -07:00
test_dte_energy_bridge.py Fix for DTE Energy Bridge returning the wrong units from time to time (#9246) 2017-09-15 23:12:06 -07:00
test_dyson.py Add support to Dyson 360 Eye robot vacuum using new vacuum platform (#8852) 2017-08-06 13:08:46 +02:00
test_efergy.py Change units from KW to W (#8761) 2017-07-31 20:41:45 -07:00
test_fail2ban.py Add fail2ban sensor (#9975) 2017-10-23 09:20:45 +02:00
test_file.py File sensor (#7569) 2017-05-15 14:25:46 +02:00
test_geo_rss_events.py GeoRSS sensor (#9331) 2017-09-24 08:12:38 +02:00
test_google_wifi.py Catch exception (fixes #8724) (#8731) 2017-08-01 19:30:26 +02:00
test_history_stats.py Optimize history_stats efficiency and database usage (#7858) 2017-06-01 22:52:55 -07:00
test_imap_email_content.py
test_kira.py Add Kira component to sensor and remote platforms (#7479) 2017-05-12 21:12:47 -07:00
test_london_air.py Adds London_air component (#9020) 2017-08-19 11:05:16 +02:00
test_london_underground.py Add london_underground (#8272) 2017-07-02 11:32:38 -07:00
test_mfi.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
test_mhz19.py
test_min_max.py
test_moldindicator.py
test_moon.py
test_mqtt.py
test_mqtt_room.py
test_openhardwaremonitor.py Openhardwaremonitor (#8056) 2017-06-25 13:48:05 -07:00
test_pilight.py
test_radarr.py Make 'monitored_conditions' optional (#8843) 2017-08-06 10:05:37 +02:00
test_random.py
test_rest.py Do not call update() in constructor (#8881) 2017-08-08 06:52:27 +02:00
test_rflink.py
test_rfxtrx.py
test_ring.py Introducing Ring Door Bell Camera (including StickUp cameras) and WiFi sensors (#9962) 2017-10-21 16:08:40 +02:00
test_season.py Support for season sensor (#8958) 2017-08-29 16:18:36 +02:00
test_sleepiq.py
test_sonarr.py Lint Sonarr tests 2017-08-29 08:10:38 -07:00
test_statistics.py Initializing statistics sensor with data from database (#9753) 2017-10-08 23:45:12 +02:00
test_tcp.py
test_template.py Fix async probs (#9924) 2017-10-19 10:56:25 +02:00
test_time_date.py Fix time_date sensor to update at predictable intervals (#7644) 2017-05-23 16:00:26 -07:00
test_uk_transport.py Add uk_transport component. (#8600) 2017-07-26 20:49:52 +01:00
test_uptime.py Uptime sensor (#9856) 2017-10-14 20:06:44 +02:00
test_version.py Add version sensor (#8912) 2017-08-12 08:52:56 +02:00
test_worldclock.py
test_wsdot.py
test_wunderground.py
test_yahoo_finance.py
test_yr.py Add 'forecast' ability to yr weather sensor (#8650) 2017-08-01 22:42:51 -07:00
test_zwave.py