core/tests/components/binary_sensor
Adam Cooper 72ce9ec321 Add platform and sensors for Vultr VPS (#9928)
* Initial commit of Vultr components

Have a working Vultr hub and binary sensor which pulls down the
following attributes of your VPS:
 - Date created
 - Subscription id (server id)
 - Cost per month (in US$)
 - Operating System installed
 - IPv4 address
 - label (human readable name)
 - region
 - number of vcpus
 - which storage package chosen
 - IPV6 address (if applicable)
 - RAM amount

Working next on sensor and then testing / coverage.

* Added Vultr sensor for pending charges and current bandwidth. Refactored binary_sensor and hub too

* Corrected is_on bases

* Added basic tests for Vultr binary & platform

* Updated require files

* Changing test fixture to highlight different cases

* Written basic test for sensor.vultr

* Resolved linting errors and broken test

* Increase test coverage and corrected docs

* Resolved hound issues

* Revert back negative binary test

* Another hound resolve

* Refactoring and adding is switch, moving over to vultr branch

* Made Vultr components more resiliant to invalid configs

* Added negetive test for vultr binary sensor

* Added better testing of vultr sensor

* Resolved vultr platform test affecting subsequent vultr tests

* Moving VULTR components to single use design

* Added in sensor name config

* Added missing sensors var

* Resolved init data setting of sensors, added in name conf to switch

* Made the Vultr component more resiliant to startup failure with better alerting

* Various Vultr component changes

- Refactored sensor, binary_sensor, and switch to reference one subscription
- Renamed CURRENT_BANDWIDTH_GB monitored condition to CURRENT_BANDWIDTH_USED
- Improved test coverage

* Resolved local tox linting issue

* Added more testing for Vultr switch

* Improved test coverage for Vultr components

* Made PR comment changes to vultr binary sensor

* Made PR comment changes to Vultr sensor

* resolved PR comments for Vultr Switch

* Resolved vultr sensor name and improved tests

* Improved Vultr switch testing (default name formatting)

* Removed vultr hub failure checking
2017-11-05 14:10:14 +01:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_aurora.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
test_bayesian.py Allow multiple observations of same entity (#9391) 2017-09-12 18:52:09 +02:00
test_binary_sensor.py binary_sensor sensor_class to entity device_class (#5860) 2017-02-10 20:46:15 -08: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_ffmpeg.py Fix automations listening to HOMEASSISTANT_START (#6936) 2017-04-05 23:23:02 -07:00
test_mqtt.py MQTT Binary Sensor - Add availability_topic for online/offline status (#9507) 2017-09-21 17:02:11 +02:00
test_nx584.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_random.py Add Random binary sensor (#10164) 2017-10-29 11:15:57 +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_sleepiq.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_spc.py renamed add_devices to async_add_devices according to hass naming scheme (second try after failed #9485) (#9505) 2017-09-20 01:15:20 -04:00
test_tcp.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_template.py Fix async probs (#9924) 2017-10-19 10:56:25 +02:00
test_threshold.py Add hysteresis attribute to threshold binary sensor (#9596) 2017-10-02 17:15:19 +02:00
test_trend.py Binary sensor for detecting linear trends (#9808) 2017-10-25 17:33:17 +02:00
test_vultr.py Add platform and sensors for Vultr VPS (#9928) 2017-11-05 14:10:14 +01:00
test_workday.py Workday sensor offset (#8824) 2017-08-21 13:24:30 +02:00
test_zwave.py Fix off_delay for zwave trigger sensors (#8864) 2017-08-06 18:31:32 +03:00