Commit Graph

4491 Commits (fd3ea95b8221ea95d67959e0787b434499923f48)

Author SHA1 Message Date
pavoni ee62120fe5 Revise race condition test. 2016-02-19 10:19:14 +00:00
pavoni 7bd4e58b9d Add tests for race condition. 2016-02-19 09:43:59 +00:00
Paulus Schoutsen 0417803b7c Merge pull request #1331 from balloob/tox-coveralls-pt2
Travis: only run coveralls on success
2016-02-18 23:30:38 -08:00
Paulus Schoutsen d65c1c2b0d Travis: only run coveralls on success 2016-02-18 23:23:05 -08:00
Paulus Schoutsen 1841f3994f Merge pull request #1250 from balloob/chore/remove-simple-alarm
Remove simple_alarm component
2016-02-18 22:26:58 -08:00
Paulus Schoutsen 5f3cb58d8e Remove simple_alarm component 2016-02-18 22:20:59 -08:00
Paulus Schoutsen e8da63db28 Merge pull request #1330 from balloob/isort-test
Fix imports (using isort)
2016-02-18 21:57:48 -08:00
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Paulus Schoutsen 233a2a2878 Merge pull request #1308 from kk7ds/binary-sensor-class
Add binary sensor class
2016-02-18 21:09:17 -08:00
Paulus Schoutsen e677fc876b Merge pull request #1319 from shaftoe/sonosconfig
Fix media_player/sonos configuration mismatch
2016-02-18 20:33:39 -08:00
Paulus Schoutsen 560173e13b Merge pull request #1327 from justyns/zwaveremote
Return early from setup_platform when zwave NETWORK is not configured
2016-02-18 20:27:43 -08:00
Dan Smith d57df2ddde Update the sensor classes in the demo binary_sensor
This updates the two demo sensors we have so they show contextual icons
in the UI.
2016-02-18 17:59:58 -08:00
Justyn Shull 9a740bff2a Return early from setup_platform when zwave NETWORK is not configured 2016-02-18 18:12:00 -06:00
Paulus Schoutsen acea32949b Merge pull request #1326 from balloob/bloomsky-tweak
Fix bloomsky component importing
2016-02-18 14:46:05 -08:00
Paulus Schoutsen 30e1569b21 Fix bloomsky component importing 2016-02-18 13:10:25 -08:00
William Scanlon d7c4b50e3e Added support for nest current weather conditions 2016-02-18 16:04:32 -05:00
Dan Smith d93883f153 Make nx584 expose zone types (sensor classes)
With this, plus https://github.com/balloob/home-assistant-polymer/pull/32,
I can have nx584 sensors use a proper icon in the UI.
2016-02-18 12:20:35 -08:00
Dan Smith 2d932f89fc Add sensor_class to binary_sensor
This adds a 'sensor_class' property and attribute, which should be either
None or one of several defined SENSOR_CLASSES to indicate contextual
information about what the sensor is measuring.
2016-02-18 12:20:35 -08:00
Greg Dowling 182fcb5f03 Merge pull request #1320 from balloob/bump-pywemo-version
Bump pywemo version.
2016-02-18 19:40:47 +00:00
pavoni 98d18c3060 Bump pywemo version. 2016-02-18 19:32:30 +00:00
Alexander Fortin 6578928e3c Fix media_player/sonos configuration mismatch
* From configuration.yaml is easy to provide iterable elements like lists,
  this adds the possibility to provide a list of Sonos hosts using a yaml
  and still supports the comma separated string version
* Remove superfluous host reassignment
2016-02-18 18:57:50 +01:00
Flyte c1d39a2fce Remove unnecessary top-level TCP component. Fix order of inheritance on TCP BinarySensor. 2016-02-18 17:25:02 +00:00
pavoni 9f7ce23e80 Fix suspect race condition in leave region.
Add safely check for double beacon entry. Remove battery for beacons.
Disable lint warning.
2016-02-18 12:52:40 +00:00
Paulus Schoutsen d39e1be388 Merge pull request #1312 from balloob/tox-coveralls
Fix coveralls
2016-02-17 23:37:17 -08:00
Paulus Schoutsen 61b0d02a88 Fix coveralls 2016-02-17 23:26:55 -08:00
Paulus Schoutsen 8eb396a435 Merge pull request #1309 from kk7ds/graphite-debug
More graphite hardening work
2016-02-17 20:30:04 -08:00
Paulus Schoutsen 70f05f30d5 Merge pull request #1243 from MartinHjelmare/refactor-mysensors-light
Refactor mysensors light
2016-02-17 20:27:52 -08:00
MartinHjelmare 9ac53b502f Clean up and fix
* Add check if V_LIGHT is in values before sending message in
	_turn_on_light.
* Replace super calls with self.
* Remove not needed init method in child classes.
* Remove turn_on method in parent class and add update_ha_state
	to _turn_on_light, _turn_on_dimmer and _turn_on_rgb_or_w.
2016-02-18 02:04:06 +01:00
MartinHjelmare 6e8c79d531 Change refactor structure
* Make a flatter one level inheritance, with MySensorsLight as parent
	with four children, one per light type.
* Break out helper methods. One per plain light, dimmer and RGB/RGBW
	children and per update, turn_on and turn_off, nine in total. Put
	these in the parent.
* Call the helper methods as needed from the child methods update,
	turn_on and turn_off.
* Change name of MySensorsLightLight to MySensorsLightPlain.
* Fix module docstrings according to pep257.
* Change name of color util method from rgb_hex_to_list to
	rgb_hex_to_rgb_list.
* Add unit tests for rgb_hex_to_rgb_list.
2016-02-18 02:04:06 +01:00
MartinHjelmare 03423cc3a9 Refactor mysensors light
* Add a light entity class per V_LIGHT, V_DIMMER, V_RGB and V_RGBW.
    Make these classes inherit each other up to MySensorsLight class.
* Map the entity classes to their S_TYPE in a dict.
* Check if an entity class map or just an entity class have been passed
    to pf_callback_factory before using the entity_class variable in
    homeassistant/components/mysensors.py.
* Add rgb_hex_to_list function in homeassistant/util/color.py.
2016-02-18 02:04:06 +01:00
Dan Smith cd6780baf4 More graphite hardening work
This adds verbose debugging which can be turned on to figure out what is
going on. It also adds a broad exception handler in the worker thread
to avoid dying. If you're running this such that stderr doesn't go to a
log, it can be easy to miss the thread's death.

I wrote all this to try to diagnose #1283, which seems to maybe have
healed itself. But since I have it, I figure we might as well keep it
in case we have trouble in the future.
2016-02-17 15:11:24 -08:00
Paulus Schoutsen bb37708716 Merge pull request #1296 from kk7ds/honeywell-no-fan
Fix #1287 for honeywell US systems with no fan
2016-02-17 12:18:10 -08:00
Per Sandström 0bacc7be07 Merge pull request #1300 from persandstrom/vsure0.5.1
update vsure to 0.5.1
2016-02-17 19:34:03 +01:00
Per Sandström 99ac4524b9 update vsure to 0.5.1 2016-02-17 19:28:26 +01:00
Flyte 348b7abe7d Change TCP component to use Jinja2 instead of regex 2016-02-17 18:12:36 +00:00
Flyte cf93644d54 Move generic tcp sensor entity to specific sensor component 2016-02-17 17:26:53 +00:00
Paulus Schoutsen 4d8487e7ba Merge pull request #1298 from kk7ds/fix-alarmdotcom-dep
Fix alarmdotcom requirement 0.0.7 removed
2016-02-17 08:52:10 -08:00
Dan Smith 96dde18ae3 Fix alarmdotcom requirement 0.0.7 removed
Looks like alarmdotcom just released 0.1.1 and deleted 0.0.7 which is
breaking our build.
2016-02-17 08:41:46 -08:00
Dan Smith 9aa4028718 Fix #1287 for honeywell US systems with no fan
This bumps the somecomfort requirement to 0.2.1 to pull in a change
that makes handling no-fan systems graceful. Adds a test that should
prove it gives us what we want.

If no fan, then fan is always idle and fanmode is None.
2016-02-17 08:16:02 -08:00
Paulus Schoutsen 966b83f648 Merge pull request #1293 from w1ll1am23/Wink_lock_fix
Fixed issue with Wink locks lock, and unlock methods
2016-02-17 08:00:51 -08:00
William Scanlon b2366ce68e Added optional parameter to lock and unlock methods 2016-02-17 05:50:36 -05:00
Paulus Schoutsen bd3f0c101d Merge pull request #1290 from balloob/cleanup-camera
Cleanup camera
2016-02-16 23:59:10 -08:00
Paulus Schoutsen ab9ac80ee0 Update frontend with new camera UI 2016-02-16 23:52:26 -08:00
Paulus Schoutsen aea0598805 Clean up camera component 2016-02-16 23:52:05 -08:00
Dan Smith b7c4370e2b Merge pull request #1271 from kk7ds/nx584-sensors
Add nx584 as a sensor platform
2016-02-16 20:40:15 -08:00
Dan Smith 22865e5d96 Add nx584 as a sensor platform
This allows you to get every door, window, smoke, etc zone from your security
panel into HA. This uses the live eventing feature of pynx584, which means you
get instantaneous signaling into HA when a door opens or something happens,
which is handy for automating lights on when doors open after dark, etc.

Requires update to pynx584 0.2
2016-02-16 20:24:32 -08:00
Paulus Schoutsen c66511e0cf Merge pull request #1275 from balloob/rfxtrxSignalRep
Rfxtrx signal rep
2016-02-16 20:23:55 -08:00
Paulus Schoutsen 79dbd14568 Merge pull request #1280 from molobrakos/tellduslive
added assumed_state property + improved error handling
2016-02-16 13:51:14 -08:00
Paulus Schoutsen 5756cff8a4 Merge pull request #1281 from molobrakos/eliqonline
improve error handling
2016-02-16 11:24:36 -08:00
Erik 44a39636b1 improve error handling 2016-02-16 18:23:08 +01:00