core/tests/components/sensor
markferry 526405c83b Add a 'last' mode and attribute to min_max sensor (#11037)
* Add 'last' type to min/max sensor

Now supports types: min, max, mean, last
'last' is the most recently received value from all tracked entities.

* Min/max sensor 'last' type test

* Fix min/max sensor 'last' test
2018-01-18 23:03:41 +01:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_api_streams.py Fix up docstring for tests (#5090) 2016-12-28 20:04:59 +02:00
test_canary.py Fix canary flaky test (#11519) 2018-01-07 15:05:19 -08:00
test_coinmarketcap.py Add display currency setting to CoinMarketCap sensor (#10093) 2017-10-26 18:49:17 +02:00
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 aiohttp 2 (#6835) 2017-03-30 00:50:53 -07:00
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_fido.py Fido component use now asyncio (#11244) 2017-12-29 18:33:11 +01:00
test_file.py File sensor (#7569) 2017-05-15 14:25:46 +02:00
test_geo_rss_events.py Improved test runtime (#11553) 2018-01-09 16:00:49 -08:00
test_google_wifi.py Catch exception (fixes #8724) (#8731) 2017-08-01 19:30:26 +02:00
test_hddtemp.py Add hddtemp sensor device even if unreachable. (#10623) 2017-11-17 09:21:27 -05:00
test_history_stats.py Optimize history_stats efficiency and database usage (#7858) 2017-06-01 22:52:55 -07:00
test_hydroquebec.py Update hydroquebec component to use hass httpsession (#11412) 2018-01-05 10:22:40 +01:00
test_imap_email_content.py Move IMAP Email Content body to an attribute (#11096) 2018-01-01 18:09:40 -08:00
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 Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_min_max.py Add a 'last' mode and attribute to min_max sensor (#11037) 2018-01-18 23:03:41 +01:00
test_moldindicator.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_moon.py more moon states 2017-03-09 16:54:04 -05:00
test_mqtt.py MQTT json attributes (#11439) 2018-01-08 17:07:39 +01:00
test_mqtt_room.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_openhardwaremonitor.py Openhardwaremonitor (#8056) 2017-06-25 13:48:05 -07:00
test_pilight.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_radarr.py Make 'monitored_conditions' optional (#8843) 2017-08-06 10:05:37 +02:00
test_random.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_rest.py Added force_update for REST sensor (#11016) 2017-12-09 08:18:45 +01:00
test_rflink.py Add option to disable automatic add for lights and sensors. (#6852) 2017-03-30 08:02:03 -07:00
test_rfxtrx.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
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 Improve unit tests for season sensor component. (#10288) 2017-11-02 11:08:17 +01:00
test_sleepiq.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_sonarr.py Lint Sonarr tests 2017-08-29 08:10:38 -07:00
test_statistics.py Fix statistics sensor mean and median when only one sample is available. (#11180) 2017-12-18 21:21:27 +01:00
test_tcp.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_template.py Add entity_picture_template options to Template Cover, Template Light, Template Sensor, and Template Switch (#9854) 2017-10-30 09:28:37 -07:00
test_time_date.py Fix for time_date sensor (#10694) 2017-11-19 19:41:30 -08:00
test_uk_transport.py Add uk_transport component. (#8600) 2017-07-26 20:49:52 +01:00
test_uptime.py fixed typo (#10110) 2017-10-24 14:44:38 +02:00
test_version.py Add version sensor (#8912) 2017-08-12 08:52:56 +02:00
test_vultr.py Fix vultr tests (#11477) 2018-01-05 16:34:03 -08:00
test_worldclock.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_wsdot.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_wunderground.py Fix WUnderground error handling, rework entity methods (#10295) 2017-11-25 15:19:52 -05:00
test_yahoo_finance.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_yr.py Add 'forecast' ability to yr weather sensor (#8650) 2017-08-01 22:42:51 -07:00
test_yweather.py Temporarily fix yahoo weather API issue and add unit test. (#10737) 2017-11-23 12:45:56 -08:00
test_zwave.py Repair zwave sensor coverage (#6764) 2017-03-23 20:57:15 -07:00