Commit graph

4358 commits

Author SHA1 Message Date
Paulus Schoutsen
09ab3e95c0 Tests should all use test HA 2016-02-14 15:08:23 -08:00
Paulus Schoutsen
bade0e0d71 Make tests pass flake8 2016-02-14 13:07:21 -08:00
Paulus Schoutsen
dd2aec0a08 Restructure tests to ensure unique ports 2016-02-14 12:54:16 -08:00
Paulus Schoutsen
64430f26f3 Merge pull request from kk7ds/handle-uvc-errors-better
Misc UVC improvements
2016-02-14 12:27:25 -08:00
Paulus Schoutsen
4eecdbdab1 Merge pull request from kk7ds/exclude-venv
Exclude venv directories from linting
2016-02-14 12:25:25 -08:00
Dan Smith
92a11819b4 Exclude venv directories from linting
Exclude venv/ (a common virtualenv name) and bin/,lib/ if the local
directory is configured as a venv.
2016-02-14 20:20:12 +00:00
Paulus Schoutsen
dabb8d5bbc Merge pull request from balloob/feature/remove-state-fire-event
Have remove state fire state_changed event
2016-02-14 10:33:59 -08:00
Sean Dague
8c67a924bc Merge pull request from sdague/tox
add tox infrastructure for running tests locally and in travis
2016-02-14 13:13:13 -05:00
Sean Dague
97c0f5bb5a convert testing infrastructure to tox
This converts the testing infrastructure to tox for both locally
testing and travis. This is nearly equivalent to the previous testing
with the only exception that linting fails with the first tool to fail
and won't process all of them.

Slightly tricky thing is that tox resets *all* of the environment for
it's subprocess runs by default. A couple of the dependencies we have
will not install in non UTF8 locales: temper-python & XBee.
2016-02-14 13:04:42 -05:00
Paulus Schoutsen
aeb87b0245 Merge pull request from balloob/chore/reorg-frontend-api
Move bootstrap endpoint from api to frontend
2016-02-14 09:43:53 -08:00
Paulus Schoutsen
6be2ec7fea Merge pull request from balloob/chore/remove-usage-attr_friendly_name
Remove usage of ATTR_FRIENDLY_NAME within components/platforms
2016-02-14 09:43:39 -08:00
Dan Smith
885b61a750 Implement brand and model for UVC cameras 2016-02-14 17:27:29 +00:00
Dan Smith
0ba7fb40a4 Improve UVC performance by not logging in on each image fetch
This makes the UVC camera_image() method not log into the camera on
every single image fetch, which reduces load on hass and the camera,
and lowers the latency to get an actual image fetched.
2016-02-14 17:27:29 +00:00
Dan Smith
263839a336 Handle connection errors talking to UVC cameras during image fetch
This requires uvcclient==0.6 which breaks out exceptions for us.

Fixes 
2016-02-14 17:27:26 +00:00
Paulus Schoutsen
3ced457089 Merge pull request from miniconfig/splunk-fix-attributes
Converted state.attributes to dict in Splunk component
2016-02-14 07:51:48 -08:00
miniconfig
01df1f8458 Converted state.attributes to dict. Fixes Issue 2016-02-14 10:47:46 -05:00
Paulus Schoutsen
b29f2f6d6f Remove usage of ATTR_FRIENDLY_NAME within components/platforms 2016-02-14 00:21:20 -08:00
Paulus Schoutsen
cafa4043b3 Move bootstrap endpoint from api to frontend 2016-02-14 00:04:08 -08:00
Paulus Schoutsen
06de73ff80 Allow removing a state via API + remote StateMachine 2016-02-13 23:00:38 -08:00
Paulus Schoutsen
ada2fb4ec0 Fire event when we remove a state 2016-02-13 22:57:40 -08:00
Paulus Schoutsen
39bbfd14d9 Merge pull request from persandstrom/dict_size_change_during_iteration
Fixed intermittent error during setup
2016-02-13 22:28:46 -08:00
Per Sandström
9e816cfd3f lock _states to prevent size change during iteration 2016-02-14 06:34:00 +01:00
Paulus Schoutsen
e170484f16 Change helpers.extract_domain_configs from generator to list bc concurrency 2016-02-13 21:20:49 -08:00
Paulus Schoutsen
9204c44eec Merge pull request from kk7ds/update-honeywell-somecomfort
Update honeywell somecomfort
2016-02-13 19:44:58 -08:00
Dan Smith
0fbd947426 Test Honeywell Round thermostat
This includes two changes to the round code:
 - Return True on setup success
 - Break out the default away temp into a constant
2016-02-14 01:05:18 +00:00
Dan Smith
5921e65d83 Allow specifying location and/or thermostat for Honeywell US
This lets you optionally only add thermostats by location or
specific device id, instead of all the thermostats in your
account. This would be helpful if you have two devices in different
houses (i.e vacation home), etc.
2016-02-13 23:13:38 +00:00
Dan Smith
c51dd64bd8 Convert Honeywell platform to use somecomfort library 2016-02-13 23:13:33 +00:00
Paulus Schoutsen
278033cbf9 Merge pull request from flyte/docker-colorlog
Add colorlog to docker images
2016-02-13 14:55:07 -08:00
Flyte
9233449551 Add colorlog to Dockerfile 2016-02-13 20:53:15 +00:00
Paulus Schoutsen
680f450278 Merge pull request from kk7ds/ci-tweak
Make it easier to run cibuild locally
2016-02-13 11:18:40 -08:00
Dan Smith
66c2fa1270 Make it easier to run cibuild locally
Just treat lack of travis environment as "run everything"
2016-02-13 18:30:34 +00:00
Paulus Schoutsen
bf0b453677 Merge branch 'hotfix/state-as-number' into dev
Conflicts:
	homeassistant/const.py
	tests/helpers/test_state.py
2016-02-13 08:32:06 -08:00
Paulus Schoutsen
d2df485bea Version bump to 0.13.1 2016-02-13 08:17:47 -08:00
Paulus Schoutsen
77b141a355 Update Wink to 0.6 2016-02-13 08:17:38 -08:00
Fabian Affolter
00afaac54c Update for file header, docstrings, and PEP8/PEP257 2016-02-13 14:19:11 +01:00
Fabian Affolter
34b91cf6ce Remove config details (already covered in docs) 2016-02-13 09:38:56 +01:00
Fabian Affolter
9dc055e537 Add link to docs 2016-02-13 09:35:31 +01:00
Paulus Schoutsen
6d6cf886f3 Merge pull request from turbokongen/verisure-mouse
Support for Mousedetectors connected in Verisure systems
2016-02-13 00:22:34 -08:00
Paulus Schoutsen
1571b33e4a Fix: state_as_number always return float 2016-02-13 00:08:32 -08:00
John Arild Berentsen
a29be5455c Fix unit and wrong errorhandling 2016-02-13 09:05:18 +01:00
Paulus Schoutsen
4210291e5b Version bump to 0.14.dev0 2016-02-12 21:55:40 -08:00
Paulus Schoutsen
e9fa1f1f83 Merge pull request from balloob/dev
0.13
2016-02-12 21:55:24 -08:00
Paulus Schoutsen
724d5bfe9d Version bump to 0.13 2016-02-12 21:51:34 -08:00
Paulus Schoutsen
938c9888a6 Merge pull request from happyleavesaoc/snapcast
snapcast media player
2016-02-12 19:31:07 -08:00
Paulus Schoutsen
b91e4cfb4a Merge pull request from persandstrom/kodi_thumbnails
kodi thumbnails
2016-02-12 19:03:22 -08:00
Paulus Schoutsen
7dd51034cd Merge pull request from MartinHjelmare/mysensors-light
Add mysensors light platform
2016-02-12 19:01:41 -08:00
Paulus Schoutsen
2f60ff224f Merge pull request from MartinHjelmare/update-mysensors-version
Update pymysensors version to 0.5
2016-02-12 18:55:06 -08:00
Paulus Schoutsen
fc3a37cba2 Merge pull request from MartinHjelmare/fix-mysensors-version-error
Fix error in update method for V_STATUS
2016-02-12 18:54:12 -08:00
Paulus Schoutsen
223b7f85ee Merge pull request from nkgilley/ecobee-fix
fix ecobee sensor unique id.
2016-02-12 18:53:58 -08:00
happyleavesaoc
13b0beee31 snapcast 2016-02-12 18:35:32 -05:00