ha-core/requirements_test_all.txt

280 lines
6.0 KiB
Plaintext
Raw Normal View History

# Home Assistant test
# linters such as flake8 and pylint should be pinned, as new releases
# make new things fail. Manually update these pins when pulling in a
# new version
2018-08-07 16:11:47 +02:00
asynctest==0.12.2
2018-03-12 22:00:10 +01:00
coveralls==1.2.0
flake8-docstrings==1.3.0
flake8==3.6.0
2018-03-12 22:00:10 +01:00
mock-open==1.3.1
mypy==0.650
2018-12-15 20:11:28 +01:00
pydocstyle==3.0.0
pylint==2.2.2
pytest-aiohttp==0.3.0
pytest-cov==2.6.0
pytest-sugar==0.9.2
pytest-timeout==1.3.3
2018-12-15 20:10:55 +01:00
pytest==4.0.2
requests_mock==1.5.2
# homeassistant.components.homekit
HAP-python==2.4.1
# homeassistant.components.sensor.rmvtransport
PyRMVtransport==0.1.3
# homeassistant.components.sensor.transport_nsw
PyTransportNSW==0.1.1
# homeassistant.components.notify.yessssms
YesssSMS==0.2.3
# homeassistant.components.device_tracker.automatic
aioautomatic==0.6.5
# homeassistant.components.emulated_hue
# homeassistant.components.http
2018-03-17 17:37:53 +01:00
aiohttp_cors==0.7.0
# homeassistant.components.hue
aiohue==1.5.0
# homeassistant.components.unifi
aiounifi==3
# homeassistant.components.notify.apns
2017-11-09 06:09:19 +01:00
apns2==0.3.0
# homeassistant.components.calendar.caldav
caldav==0.5.0
# homeassistant.components.sensor.coinmarketcap
coinmarketcap==5.0.3
# homeassistant.components.device_tracker.upc_connect
defusedxml==0.5.0
# homeassistant.components.sensor.dsmr
2018-10-20 22:07:47 +02:00
dsmr_parser==0.12
# homeassistant.components.sensor.entur_public_transport
enturclient==0.1.3
# homeassistant.components.sensor.season
ephem==3.7.6.0
Add (EU-based) Honeywell evohome CH/DHW controller (#16427) * Add support for Honeywell evohome CH/DHW systems More flake8 corrections Passes Flake8 tests Almost passed flake8.pylint! Passed all tox tests Now it needs serious testing! Almost ready to submit BUGFIX: DHW state now functional More improvements to available() Solved the DHW temp units problem! Last minute bug squash to improve dicts merge Trying to rebase fixing more rbase errors revert to creating HTTP_error_code internally for now ready to submit PR Added support for Honeywell evohome CH/DHW systems * Updated requirements_test_all.txt * Fix: D401 First line should be in imperative mood * Remove _LOGGER.info (replace with _LOGGER.debug) * raise PlatformNotReady when RequestException during setup() * Revert some LOGGER.debug to LOGGER.warning * Improved logging levels, and removed some unwanted comments * Improvments to logging - additional self._status info * BUGFIX: DHW wrongly showing available = False (and some other tweaks) * Fix trailing whitespace * Remove state_attributes override and API_VER code * Removed heating zones, DHW and heuristics to reduce # lines of code * Removed some more lines of code * Removed unused configuration parameters * Remove some more un-needed lines * Removed more (uneeded) lines of code & fixed two minor typos * Improvements to debug logging of available() = False * Improvements to code, and code clean-up * Corrected a minor typo * A small tidy up * reduces precision of emulated temps floats to 0.1 * Some code improvements as suggested by JeardM * Rewrite of exception handler * Removed another unwanted logging in properties * Remove async_ version of various methods * moved available heuristics to update() * Cleanup of code, and re-work linter hints * fixed a minor documentation typo * scan_interval is now no longer a configurable option * Change from Master/Slave to Parent/Child * Removed the last of the slaves * Removed the last of the masters * Move -PARALLEL_UPDATES to .\climate\evohome.py' * main code moved to climate/evohome.py * merge EvoEntity into EvoController class * remove should_poll (for now) * woops! left a hint in * removed icon * only log a WARNING the first time available = False * cleanup dodgy exception handling * Tidy up exception handling * Many changes as suggested by @MartinHjelmare, thanks * remove hass from init, part 1 * use async_added_to_hass instead of dispatcher_connect * remove hass from init, part 2 (done) * add 1-2 arrays, and tidied up some comments * from dispatcher to async_added_to_hass * cleaned up some logging, and removed others * Many changes as request by @MartinHjelmare * Homage to the lint * Changed to the HA of doing operating_mode * Now using update_before_add=True * reduced logging further still... * fixed minor lint * fix a small logic error * Add device_state_attributes to track actual operating mode * Clean up doc quotes caused by previous changes * Woops! removed some debug lines that shoudln't have stayed in * Add a complete set of device_state_attributes * Cleanup some constants * Remove more legacy code * domain_data to evo_data & this else should be a finally * minor change for readability * Minor change for readability #2 * removed unused code * small tidy up - no code changes * fix minor lint * Correct URLs & descriptions in docstring * whoops - fixed a typo in docstrings * remove an unused line of cide & a small tidy-up
2018-09-27 13:29:44 +02:00
# homeassistant.components.evohome
# homeassistant.components.climate.honeywell
Add zones to evohome component (#18428) * Added Zones, and removed available() logic flesh out Zones tidy up init some more tidying up Nearly there - full functionality passed txo - ready to send PR Ready to PR, except to remove logging Add Zones and associated functionality to evohome component Add Zones to evohome (some more tidying up) Add Zones to evohome (Nearly there - full functionality) Add Zones to evohome (passed tox) Add Zones to evohome (except to remove logging) Add Zones and associated functionality to evohome component Revert _LOGGER.warn to .debug, as it should be Cleanup stupid REBASE * removed a duplicate/unwanted code block * tidy up comment * use async_added_to_hass instead of bus.listen * Pass evo_data instead of hass when instntiating * switch to async version of setup_platform/add_entities * Remove workaround for bug in client library - using github version for now, as awaiting new PyPi package * Avoid invalid-name lint - use 'zone_idx' instead of 'z' * Fix line too long error * remove commented-out line of code * fix a logic error, improve REDACTION of potentially-sensitive infomation * restore use of EVENT_HOMEASSISTANT_START to improve HA startup time * added a docstring to _flatten_json * Switch instantiation from component to platform * Use v0.2.8 of client api (resolves logging bug) * import rather than duplicate, and de-lint * We use evohomeclient v0.2.8 now * remove all the api logging * Changed scan_interal to Throttle * added a configurable scan_interval * small code tidy-up, removed sub-function * tidy up update() code * minimize use of self.hass.data[] * remove lint * remove unwanted logging * remove debug code * correct a small coding error * small tidyup of code * remove flatten_json * add @callback to _first_update() * switch back to load_platform * adhere to standards fro logging * use new format string formatting * minor change to comments * convert scan_interval to timedelta from int * restore rounding up of scan_interval * code tidy up * sync when in sync context * fix typo * remove raises not needed * tidy up typos, etc. * remove invalid-name lint * tidy up exception handling * de-lint/pretty-fy * move 'status' to a JSON node, so theirs room for 'config', 'schedule' in the future
2018-11-27 12:17:22 +01:00
evohomeclient==0.2.8
# homeassistant.components.feedreader
feedparser==5.2.1
# homeassistant.components.sensor.foobot
foobot_async==0.3.1
# homeassistant.components.tts.google
2018-11-30 11:18:24 +01:00
gTTS-token==1.1.3
# homeassistant.components.geo_location.geo_json_events
# homeassistant.components.geo_location.nsw_rural_fire_service_feed
# homeassistant.components.geo_location.usgs_earthquakes_feed
geojson_client==0.3
# homeassistant.components.sensor.geo_rss_events
2018-12-16 11:14:36 +01:00
georss_client==0.5
# homeassistant.components.ffmpeg
2017-10-19 10:35:45 +02:00
ha-ffmpeg==1.9
# homeassistant.components.hangouts
hangups==0.4.6
# homeassistant.components.mqtt.server
hbmqtt==0.9.4
# homeassistant.components.sensor.jewish_calendar
hdate==0.7.5
# homeassistant.components.binary_sensor.workday
2018-10-21 15:07:44 +02:00
holidays==0.9.8
# homeassistant.components.frontend
2018-12-19 14:44:34 +01:00
home-assistant-frontend==20181219.0
Add HomematicIP Cloud Config Flow and Entries loading (#14861) * Add HomematicIP Cloud to config flow * Inititial trial for config_flow * Integrations text files * Load and write config_flow and init homematicip_cloud * Split into dedicated files * Ceanup of text messages * Working config_flow * Move imports inside a function * Enable laoding even no accesspoints are defined * Revert unnecassary changes in CONFIG_SCHEMA * Better error handling * fix flask8 * Migration to async for token generation * A few fixes * Simplify config_flow * Bump version to 9.6 with renamed package * Requirements file * First fixes after review * Implement async_step_import * Cleanup for Config Flow * First tests for homematicip_cloud setup * Remove config_flow tests * Really remove all things * Fix comment * Update picture * Add support for async_setup_entry to switch and climate platform * Update path of the config_flow picture * Refactoring for better tesability * Further tests implemented * Move 3th party lib inside function * Fix lint * Update requirments_test_all.txt file * UPdate of requirments_test_all.txt did not work * Furder cleanup in websocket connection * Remove a test for the hap * Revert "Remove a test for the hap" This reverts commit 968d58cba108e0f371022c7ab540374aa2ab13f4. * First tests implemented for config_flow * Fix lint * Rework of client registration process * Implemented tests for config_flow 100% coverage * Cleanup * Cleanup comments and code * Try to fix import problem * Add homematicip to the test env requirements
2018-07-06 23:05:34 +02:00
# homeassistant.components.homematicip_cloud
homematicip==0.9.8
Add HomematicIP Cloud Config Flow and Entries loading (#14861) * Add HomematicIP Cloud to config flow * Inititial trial for config_flow * Integrations text files * Load and write config_flow and init homematicip_cloud * Split into dedicated files * Ceanup of text messages * Working config_flow * Move imports inside a function * Enable laoding even no accesspoints are defined * Revert unnecassary changes in CONFIG_SCHEMA * Better error handling * fix flask8 * Migration to async for token generation * A few fixes * Simplify config_flow * Bump version to 9.6 with renamed package * Requirements file * First fixes after review * Implement async_step_import * Cleanup for Config Flow * First tests for homematicip_cloud setup * Remove config_flow tests * Really remove all things * Fix comment * Update picture * Add support for async_setup_entry to switch and climate platform * Update path of the config_flow picture * Refactoring for better tesability * Further tests implemented * Move 3th party lib inside function * Fix lint * Update requirments_test_all.txt file * UPdate of requirments_test_all.txt did not work * Furder cleanup in websocket connection * Remove a test for the hap * Revert "Remove a test for the hap" This reverts commit 968d58cba108e0f371022c7ab540374aa2ab13f4. * First tests implemented for config_flow * Fix lint * Rework of client registration process * Implemented tests for config_flow 100% coverage * Cleanup * Cleanup comments and code * Try to fix import problem * Add homematicip to the test env requirements
2018-07-06 23:05:34 +02:00
# homeassistant.components.influxdb
# homeassistant.components.sensor.influxdb
influxdb==5.2.0
# homeassistant.components.verisure
jsonpath==0.75
# homeassistant.components.dyson
libpurecoollink==0.4.2
# homeassistant.components.media_player.soundtouch
libsoundtouch==0.7.2
# homeassistant.components.luftdaten
luftdaten==0.3.4
# homeassistant.components.mythicbeastsdns
mbddns==0.1.2
# homeassistant.components.sensor.mfi
# homeassistant.components.switch.mfi
mficlient==0.3.0
# homeassistant.components.binary_sensor.trend
# homeassistant.components.image_processing.opencv
# homeassistant.components.image_processing.tensorflow
# homeassistant.components.sensor.pollen
2018-11-16 14:14:40 +01:00
numpy==1.15.4
# homeassistant.components.mqtt
# homeassistant.components.shiftr
2018-09-18 14:59:39 +02:00
paho-mqtt==1.4.0
# homeassistant.components.device_tracker.aruba
# homeassistant.components.device_tracker.cisco_ios
# homeassistant.components.device_tracker.unifi_direct
# homeassistant.components.media_player.pandora
pexpect==4.6.0
# homeassistant.components.pilight
pilight==0.1.1
# homeassistant.components.sensor.mhz19
# homeassistant.components.sensor.serial_pm
pmsensor==0.4
# homeassistant.components.prometheus
prometheus_client==0.2.0
# homeassistant.components.notify.pushbullet
# homeassistant.components.sensor.pushbullet
pushbullet.py==0.11.0
# homeassistant.components.canary
py-canary==0.5.0
# homeassistant.components.media_player.blackbird
pyblackbird==0.5
# homeassistant.components.deconz
pydeconz==47
# homeassistant.components.zwave
pydispatcher==2.0.5
# homeassistant.components.homematic
2018-12-06 09:25:39 +01:00
pyhomematic==0.1.53
# homeassistant.components.litejet
pylitejet==0.1
# homeassistant.components.media_player.monoprice
pymonoprice==0.3
# homeassistant.components.alarm_control_panel.nx584
# homeassistant.components.binary_sensor.nx584
pynx584==0.4
# homeassistant.components.openuv
pyopenuv==1.0.4
# homeassistant.auth.mfa_modules.notify
# homeassistant.auth.mfa_modules.totp
# homeassistant.components.sensor.otp
pyotp==2.2.6
2018-04-08 21:59:19 +02:00
# homeassistant.components.qwikswitch
2018-04-21 08:34:42 +02:00
pyqwikswitch==0.8
2018-04-08 21:59:19 +02:00
# homeassistant.components.sonos
pysonos==0.0.5
# homeassistant.components.spc
pyspcwebgw==0.4.0
# homeassistant.components.sensor.darksky
# homeassistant.components.weather.darksky
python-forecastio==1.4.0
# homeassistant.components.nest
python-nest==4.0.5
Add Awair sensor platform (#18570) * Awair Sensor Platform This commit adds a sensor platform for Awair devices, by accessing their beta API. Awair heavily rate-limits this API, so we throttle updates based on the number of devices found. We also allow for the user to bypass API device listing entirely, because the device list endpoint is limited to only 6 calls per day. A crashing or restarting server would quickly hit that limit. This sensor platform uses the python_awair library (also written as part of this PR), which is available for async usage. * Disable pylint warning for broad try/catch It's true that this is generally not a great idea, but we really don't want to crash here. If we can't set up the platform, logging it and continuing is the right answer. * Add space to satisfy the linter * Awair platform PR feedback - Bump python_awair to 0.0.2, which has support for more granular exceptions - Ensure we have python_awair available in test - Raise PlatformNotReady if we can't set up Awair - Make the 'Awair score' its own sensor, rather than exposing it other ways - Set the platform up as polling, and set a sensible default - Pass in throttling parameters to the underlying data class, rather than use hacky global variable access to dynamically set the interval - Switch to dict access for required variables - Use pytest coroutines, set up components via async_setup_component, and test/modify/assert in generally better ways - Commit test data as fixtures * Awair PR feedback, volume 2 - Don't force updates in test, instead modify time itself and let homeassistant update things "normally". - Remove unneeded polling attribute - Rename timestamp attribute to 'last_api_update', to better reflect that it is the timestamp of the last time the Awair API servers received data from this device. - Use that attribute to flag the component as unavailable when data is stale. My own Awair device periodically goes offline and it really hardly indicates that at all. - Dynamically set fixture timestamps to the test run utcnow() value, so that we don't have to worry about ancient timestamps in tests blowing up down the line. - Don't assert on entities directly, for the most part. Find desired attributes in ... the attributes dict. * Patch an instance of utcnow I overlooked * Switch to using a context manager for timestream modification Honestly, it's just a lot easier to keep track of patches. Moreover, the ones I seem to have missed are now caught, and tests seem to consistently pass. Also, switch test_throttle_async_update to manipulating time more explicitly. * Missing blank line, thank you hound * Fix pydocstyle error I very much need to set up a script to do this quickly w/o tox, because running flake8 is not enough! * PR feedback * PR feedback
2018-11-25 09:01:19 +01:00
# homeassistant.components.sensor.awair
2018-11-30 08:47:05 +01:00
python_awair==0.0.3
Add Awair sensor platform (#18570) * Awair Sensor Platform This commit adds a sensor platform for Awair devices, by accessing their beta API. Awair heavily rate-limits this API, so we throttle updates based on the number of devices found. We also allow for the user to bypass API device listing entirely, because the device list endpoint is limited to only 6 calls per day. A crashing or restarting server would quickly hit that limit. This sensor platform uses the python_awair library (also written as part of this PR), which is available for async usage. * Disable pylint warning for broad try/catch It's true that this is generally not a great idea, but we really don't want to crash here. If we can't set up the platform, logging it and continuing is the right answer. * Add space to satisfy the linter * Awair platform PR feedback - Bump python_awair to 0.0.2, which has support for more granular exceptions - Ensure we have python_awair available in test - Raise PlatformNotReady if we can't set up Awair - Make the 'Awair score' its own sensor, rather than exposing it other ways - Set the platform up as polling, and set a sensible default - Pass in throttling parameters to the underlying data class, rather than use hacky global variable access to dynamically set the interval - Switch to dict access for required variables - Use pytest coroutines, set up components via async_setup_component, and test/modify/assert in generally better ways - Commit test data as fixtures * Awair PR feedback, volume 2 - Don't force updates in test, instead modify time itself and let homeassistant update things "normally". - Remove unneeded polling attribute - Rename timestamp attribute to 'last_api_update', to better reflect that it is the timestamp of the last time the Awair API servers received data from this device. - Use that attribute to flag the component as unavailable when data is stale. My own Awair device periodically goes offline and it really hardly indicates that at all. - Dynamically set fixture timestamps to the test run utcnow() value, so that we don't have to worry about ancient timestamps in tests blowing up down the line. - Don't assert on entities directly, for the most part. Find desired attributes in ... the attributes dict. * Patch an instance of utcnow I overlooked * Switch to using a context manager for timestream modification Honestly, it's just a lot easier to keep track of patches. Moreover, the ones I seem to have missed are now caught, and tests seem to consistently pass. Also, switch test_throttle_async_update to manipulating time more explicitly. * Missing blank line, thank you hound * Fix pydocstyle error I very much need to set up a script to do this quickly w/o tox, because running flake8 is not enough! * PR feedback * PR feedback
2018-11-25 09:01:19 +01:00
# homeassistant.components.sensor.whois
pythonwhois==2.4.3
# homeassistant.components.tradfri
pytradfri[async]==6.0.1
# homeassistant.components.device_tracker.unifi
pyunifi==2.13
# homeassistant.components.notify.html5
pywebpush==1.6.0
# homeassistant.components.rainmachine
regenmaschine==1.1.0
# homeassistant.components.python_script
2018-12-02 00:11:47 +01:00
restrictedpython==4.0b7
# homeassistant.components.rflink
2018-03-30 05:02:21 +02:00
rflink==0.0.37
# homeassistant.components.ring
ring_doorbell==0.2.2
# homeassistant.components.media_player.yamaha
rxv==0.5.1
# homeassistant.components.simplisafe
simplisafe-python==3.1.14
# homeassistant.components.sleepiq
sleepyq==0.6
# homeassistant.components.smhi
smhi-pkg==1.0.5
# homeassistant.components.climate.honeywell
2018-04-17 05:24:20 +02:00
somecomfort==0.5.2
# homeassistant.components.recorder
# homeassistant.components.sensor.sql
2018-12-18 15:48:06 +01:00
sqlalchemy==1.2.15
# homeassistant.components.sensor.srp_energy
srpenergy==1.0.5
# homeassistant.components.statsd
statsd==3.2.1
# homeassistant.components.camera.uvc
uvcclient==0.11.0
# homeassistant.components.verisure
vsure==1.5.2
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
# homeassistant.components.vultr
vultr==0.1.2
# homeassistant.components.wake_on_lan
# homeassistant.components.media_player.panasonic_viera
# homeassistant.components.media_player.samsungtv
# homeassistant.components.switch.wake_on_lan
2018-09-10 16:07:31 +02:00
wakeonlan==1.1.6
# homeassistant.components.cloud
warrant==0.6.1