Commit Graph

2819 Commits (8ace6566573df10aa35402ab424b70a19816a8bc)

Author SHA1 Message Date
Philip Lundrigan c23375a18b Add case for test message 2015-12-30 22:42:11 -07:00
MartinHjelmare 4c4e5d5f47 Fix to remove old unused variables. 2015-12-31 06:19:47 +01:00
MartinHjelmare 6ff24ed047 Merge branch 'dev' into mysensors-component-switch
Conflicts:
	homeassistant/components/sensor/__init__.py
	homeassistant/components/switch/__init__.py
2015-12-31 06:05:06 +01:00
MartinHjelmare 69ed6fe6e7 Add gateway wrapper, fix discovery and callbacks
* Add gateway wrapper by subclassing serial gateway.
* Fix platform setup with discovery service.
* Fix platform callback functions with callback factory.
2015-12-31 05:48:23 +01:00
Roy Hooper 4e2d75a8f4 fix style 2015-12-30 16:59:22 -05:00
pavoni ae0dbbcfa5 Added support for event subscriptions 2015-12-30 19:44:02 +00:00
Philip Lundrigan 25e1432403 Fix style issues 2015-12-30 12:30:49 -07:00
Philip Lundrigan adfcfad488 Update locative functionality 2015-12-30 12:26:03 -07:00
Roy Hooper b0734e613f Add support for deCONZ (Raspbee-GW hue-like API) - Doesn't support the none transition type, so don't send it 2015-12-30 13:54:18 -05:00
Richard Arends 913c5ab47c identing error... sorry 2015-12-30 13:26:42 +01:00
Richard Arends 429904c437 Returning None when name and title are both not available
Removed trailing whitespaces
2015-12-30 13:00:34 +01:00
pavoni 41a36df801 Update pywemo version 2015-12-30 11:54:21 +00:00
Richard Arends 56a2ffca1d Changed if else statements. The following situations are handled now:
- name and title can be None
  - name can be None
  - title can be None
  - name and title can contain data
2015-12-29 22:10:09 +01:00
Richard Arends 6e2fb17f19 Fix KeyError on 'title' when title is empty 2015-12-29 17:52:05 +01:00
Paulus Schoutsen 586be7fad1 Prevent division by 0 xy->rgb color conversion 2015-12-29 00:09:38 -08:00
Paulus Schoutsen d9b30d1421 Pep257 fixes for core. 2015-12-27 21:14:35 -08:00
happyleaves e9059a3ed9 added test; addressed comments 2015-12-27 22:51:37 -05:00
Paulus Schoutsen c1eaf60461 VCR YR sensor test 2015-12-27 17:37:32 -08:00
Paulus Schoutsen 244fde880e Convert MQTT event to lowercase 2015-12-27 16:31:52 -08:00
Greg Dowling df99e4ef22 Merge pull request #794 from pavoni/wemo-subscription
Adds Wemo event support - so wemo devices update HA more quickly
2015-12-28 00:11:34 +00:00
pavoni 976d9f2d08 Fix style issue 2015-12-28 00:04:30 +00:00
pavoni f5dd146676 Fix bug in shutdown 2015-12-27 23:56:18 +00:00
Paulus Schoutsen 7b00b19223 Merge pull request #807 from andythigpen/scene-fix
Fix issue with scene component when using YAML aliases.
2015-12-27 15:39:19 -08:00
pavoni b114ba56ea Fix style issue 2015-12-27 23:31:48 +00:00
pavoni 0d32bd7a19 Simplify callback logging, add stop log 2015-12-27 23:26:35 +00:00
pavoni 4feef3dd0d Simplify update state call, shutdown properly. 2015-12-27 23:09:39 +00:00
Paulus Schoutsen 9c3b1b7a96 Fix sun import issue 2015-12-27 15:00:49 -08:00
Paulus Schoutsen a09d731058 Merge pull request #803 from molobrakos/tellduslive2
added rudimentary support for telldus live
2015-12-27 15:00:01 -08:00
Erik 27e35d5f34 don't poll (turns out a request for state immediately a state turn on/off request will not return the newly updated state. import constants from tellive, not tellcore 2015-12-27 21:49:45 +01:00
Erik c8fa6cc127 bug fix 2015-12-27 21:47:49 +01:00
Per Sandström 468087e6bc Merge pull request #806 from persandstrom/verisure-pypi
verisure module from pypi
2015-12-27 21:10:18 +01:00
Andrew Thigpen d4b6a7343f Fix issue with scene component when using YAML aliases.
YAML aliases/anchors can make repetitive configuration sections easier
to deal with.  However when dealing with dictionaries, care needs to be
taken to not modify the original anchor since PyYAML utilizes a
reference when encountering an alias instead of a copy of the
dictionary.
2015-12-27 13:24:34 -06:00
Paulus Schoutsen 87c88078c8 Update sun to use elevation util 2015-12-27 11:22:10 -08:00
Paulus Schoutsen ab5a3f9de3 Clean up YR sensor 2015-12-27 11:07:25 -08:00
Per Sandström eb3da8cb03 verisure component from pypi 2015-12-27 20:07:09 +01:00
Paulus Schoutsen 9e1ecd7124 Fix flaky history test 2015-12-27 10:38:27 -08:00
Erik efbaf47dc7 reference constants from tellive package 2015-12-27 18:49:11 +01:00
Erik f10ecb2a8d remove obsolete comment 2015-12-27 18:42:10 +01:00
Erik 6e81391711 no percentage sign 2015-12-27 18:37:34 +01:00
Paulus Schoutsen 0d64f4a2d5 Merge pull request #804 from molobrakos/systemmon-icons
Systemmon icons
2015-12-27 08:54:14 -08:00
Erik d63e5a60ae added rudimentary support for telldus live 2015-12-27 12:32:08 +01:00
Paulus Schoutsen 384f1344fd Merge branch 'pr/792' into dev 2015-12-26 17:48:29 -08:00
Paulus Schoutsen add24915a3 ps - clean up sun automation tests 2015-12-26 17:48:20 -08:00
Paulus Schoutsen 1944b6a335 Merge pull request #796 from persandstrom/verisure-update
Verisure update
2015-12-26 08:17:08 -08:00
Paulus Schoutsen b8cfe63fc6 Merge pull request #797 from molobrakos/eliq-icon
replace default icon
2015-12-26 08:15:01 -08:00
Paulus Schoutsen 9e091a2c92 Merge pull request #798 from R1chardTM/hue-random
Add random color effect for Philips Hue
2015-12-26 08:10:09 -08:00
Philip Lundrigan 40486676df Simplify error handling 2015-12-25 14:34:30 -07:00
Erik 6f2078cda3 bugfix 2015-12-25 22:02:10 +01:00
Erik b8d2f2ba37 moved into sensor types 2015-12-25 21:44:32 +01:00
Erik 03491fcc09 icons 2015-12-25 21:19:51 +01:00
Per Sandström 571073fe1f added docstring 2015-12-25 21:04:16 +01:00
Per Sandström a577d5c5fa revert accidental change 2015-12-25 20:57:30 +01:00
Per Sandström 160814f425 log texts 2015-12-25 20:42:03 +01:00
Per Sandström b83b36274a changed to python-verisure 0.4.1 2015-12-25 20:16:51 +01:00
Erik f3db4306c2 added icon 2015-12-25 18:50:35 +01:00
richard 5c7fb5d7ae Fix styling issues 2015-12-24 21:35:36 -06:00
richard 0dfc1c4e7a Add functionality set random color Philips Hue 2015-12-24 21:10:27 -06:00
pavoni 3f151428b7 Update pywemo version, use wildcard filter 2015-12-24 09:35:02 +00:00
Philip Lundrigan 2606e4d641 Simplify if statement 2015-12-24 00:38:49 -07:00
MartinHjelmare be25ea4f09 Fix avoid event bus for updates 2015-12-24 02:14:58 +01:00
MartinHjelmare 77959341a3 Merge branch 'dev' into mysensors-component-switch
Conflicts:
	homeassistant/components/sensor/mysensors.py
	requirements_all.txt
2015-12-23 23:45:32 +01:00
MartinHjelmare 9f54bcc21b Fix comments for pull request
* Fix cleaner user config.
* Remove bad disabling of linting.
* Extract default mysensors version into constant.
* Clean up selection of mysensors.CONST from version.
* Update mysensors update decorator to add devices and update values
	in one go.
* Fix persistence update.
* Clean up setup of ports.
* Setup of mysensors platforms from main mysensors component.
* Clean up v_types selection in mysensors sensor platform.
* Fix s_types and v_types selection version dependency in platforms.
2015-12-23 23:20:39 +01:00
pavoni 6d236b8169 Force state update 2015-12-23 18:03:40 +00:00
pavoni 09b894a4aa Fix style issues 2015-12-23 15:57:51 +00:00
pavoni 1e2b5e6991 Add support for subscriptions 2015-12-23 15:46:18 +00:00
Philip Lundrigan 496ec4bcca Fix bug in rest sensor 2015-12-23 03:37:03 -07:00
Andrew Thigpen c31a291a9c Set the root logger to lowest level in logger component.
In combination with resetting the log level on the handlers, this
allows messages lower than the default INFO to be logged when using
the logger component.
2015-12-23 00:57:41 -06:00
Paulus Schoutsen 96938bb33c Merge pull request #786 from philipbl/locative
Rename geofancy to locative (fix #761)
2015-12-22 19:02:08 -08:00
Paulus Schoutsen e7b1682a4e Merge branch 'pr/780' into dev 2015-12-22 18:57:42 -08:00
Paulus Schoutsen d191635fd8 Merge branch 'yr_no' into dev 2015-12-22 18:53:27 -08:00
Paulus Schoutsen bdd945c1c4 Set default log level to INFO 2015-12-22 18:39:46 -08:00
Paulus Schoutsen 6ccf63dae2 Merge pull request #790 from andythigpen/logger-fix
Reset log handlers to lowest level.
2015-12-22 18:38:58 -08:00
Paulus Schoutsen 987282da78 Logbook entry events are now lower case 2015-12-22 18:35:05 -08:00
Fabian Affolter 56186232f3 Enable logging-too-many-args 2015-12-22 22:33:20 +01:00
Fabian Affolter fb2da6be9a Remove space 2015-12-22 22:02:55 +01:00
Fabian Affolter 8796187389 Equalize log messages 2015-12-22 22:02:55 +01:00
Andrew Thigpen edff53609f Reset log handlers to lowest level.
This is necessary to enable logging lower than INFO for the error log file.
2015-12-22 13:50:59 -06:00
Paulus Schoutsen 7ccb6b960c Merge branch 'release-101' into dev 2015-12-22 02:20:25 -08:00
Paulus Schoutsen 561a78bef3 Fix EntityComponent deadlock 2015-12-22 02:19:55 -08:00
Paulus Schoutsen 9876a2a081 Fix Alexa bug if no value for slots 2015-12-22 02:08:46 -08:00
happyleaves fba5becd90 warn->warning 2015-12-21 20:18:00 -05:00
happyleaves d5179b4bdc add statecmd to command_switch 2015-12-21 19:49:39 -05:00
Philip Lundrigan 8c010c8df4 Add ability to use sun as condition in automation 2015-12-21 16:09:27 -07:00
Philip Lundrigan 0ac1759395 Rename geofancy to locative (fix #761) 2015-12-21 11:05:20 -07:00
Paulus Schoutsen 07fb4ff243 Revert last fix. Will fix better. 2015-12-21 09:44:17 -08:00
Paulus Schoutsen 2650d235ea Fix: EntityComponent deadlock when adding new devices during update state 2015-12-21 08:56:27 -08:00
Daniel 9e89197284 small fix in yr sensor name 2015-12-21 10:42:42 +01:00
Daniel 8159d36114 small fix in yr sensor name 2015-12-21 10:36:25 +01:00
Daniel cf4f4ce8c7 changed to use requestes in stead of urllib for yr sensor 2015-12-21 10:33:19 +01:00
Daniel 9a1883bb49 changed to use requestes in stead of urllib for yr sensor 2015-12-21 10:29:12 +01:00
Paulus Schoutsen 35411cd57e Version bump to 0.11.dev0 2015-12-20 15:32:51 -08:00
Paulus Schoutsen 901f63be0c Version bump to 0.10 2015-12-20 15:30:51 -08:00
Paulus Schoutsen 70a5704887 Merge pull request #779 from happyleavesaoc/torque
torque support
2015-12-20 15:04:46 -08:00
happyleaves 04316d9723 http fixes 2015-12-20 11:20:40 -05:00
Paulus Schoutsen 177590fd65 Simplify MQTT light code 2015-12-19 19:45:28 -08:00
Paulus Schoutsen 90c705354a Add template support to MQTT lights 2015-12-19 19:15:05 -08:00
Fabian Affolter 55a236f912 Update docstrings 2015-12-19 09:38:23 +01:00
happyleaves f071e3b4ac torque support 2015-12-19 00:19:41 -05:00
Paulus Schoutsen 824dd60aef Upgrade PyChromecast version 2015-12-18 08:58:13 -08:00
Fabian Affolter 2efca59352 Remove print 2015-12-18 17:34:23 +01:00
Fabian Affolter 4a0ec36fea Update error message 2015-12-18 13:47:13 +01:00
Paulus Schoutsen 80d3552960 Add template editor 2015-12-17 23:33:09 -08:00
MartinHjelmare 845926236e Add config sample and fix requirements_all 2015-12-18 03:58:21 +01:00
MartinHjelmare eae07c070a Merge branch 'dev' into mysensors-component-switch 2015-12-18 03:39:41 +01:00
MartinHjelmare 659226886f Update .coveragerc and requirements 2015-12-18 03:37:49 +01:00
Philip Lundrigan a0ff8819a9 Make numeric_state error message more descriptive 2015-12-17 17:37:39 -07:00
Philip Lundrigan 4196d6a21c Merge pull request #770 from philipbl/fix_icloud
Small iCloud device tracker fix
2015-12-17 14:06:45 -07:00
Philip Lundrigan c564c73617 Return true when iCloud finishes setting up
Otherwise an error will be reported even though it set up correctly.
2015-12-17 13:31:33 -07:00
Fabian Affolter 5dabba3941 Move config to docs 2015-12-17 19:44:18 +01:00
Paulus Schoutsen 0369f5153e Disable pychromecast in requirements all because protobuf dep fails on CI 2015-12-17 09:16:36 -08:00
Paulus Schoutsen dbad01f73d Merge pull request #767 from fabaff/binary-rest-sensor
Binary REST sensor
2015-12-17 09:05:44 -08:00
Paulus Schoutsen 9087e6a0d0 Merge pull request #765 from philipbl/template_automation
Add template automation
2015-12-17 09:01:08 -08:00
Paulus Schoutsen faff14ac94 Merge pull request #755 from molobrakos/eliqonline
Added support for ELIQ Online energy monitoring device (http://eliq.se/en/)
2015-12-17 08:56:13 -08:00
Paulus Schoutsen f2aeb2a6f9 Merge pull request #748 from davidedmundson/fuzzy
Use fuzzy matching for conversation entity matching
2015-12-17 08:55:12 -08:00
Philip Lundrigan 56b38e64ae Change method of listening to state changes 2015-12-16 23:53:10 -07:00
William Scanlon 1747db1888 More spacing fixes 2015-12-16 22:45:58 -05:00
William Scanlon 5066e6a183 Fixed spacing in wink 2015-12-16 22:39:02 -05:00
William Scanlon 8eb73c8f17 Fixed style violations 2015-12-16 22:31:34 -05:00
William Scanlon cceb79a378 Pulled from dev to get up-to-date 2015-12-16 19:00:06 -05:00
Fabian Affolter f246508c9a Add binary rest sensor 2015-12-17 00:47:12 +01:00
William Scanlon eb6b4218fc Moved python-wink requirement to PyPI 2015-12-16 18:39:23 -05:00
Tom Duijf 4eec89b35e fixed my own cleanup 2015-12-16 22:36:40 +00:00
Philip Lundrigan 4c33eba378 Prevent triggering twice 2015-12-16 15:24:09 -07:00
Philip Lundrigan ab8ff42cdd Create template automation 2015-12-16 15:24:09 -07:00
Tom Duijf 687ce64551 small cleanup heatmiser 2015-12-16 22:21:32 +00:00
Tom Duijf 31b4c8eb4d Fixed imports 2015-12-16 21:52:49 +00:00
William Scanlon f6d16ba118 updated python-wink requirements for 3.0.1 2015-12-16 15:22:38 -05:00
William Scanlon afbf377b6d Update for style changes in python-wink 2015-12-16 13:32:38 -05:00
Erik 0075752c06 better error message 2015-12-16 18:11:44 +01:00
Paulus Schoutsen 0a44750441 Merge pull request #757 from fabaff/glances-name
Include name
2015-12-16 08:10:34 -08:00
William Scanlon c91cd9aa84 Updated python-wink requirements 2015-12-16 11:05:18 -05:00
Paulus Schoutsen c8234ffb8d Merge pull request #762 from bradsk88/pywink-0.3
Updating to python-wink 0.3.0
2015-12-16 07:50:35 -08:00
Erik 14056951c7 lint 2015-12-16 16:41:34 +01:00
Erik e76defe035 proper access_token check 2015-12-16 16:36:56 +01:00
Erik 3b8c5d6833 disable throttling for now 2015-12-16 16:36:04 +01:00
Erik 956a6418cc let the user supply the sensor name 2015-12-16 16:35:35 +01:00
Paulus Schoutsen 507145e954 Merge pull request #726 from happyleavesaoc/twitch
twitch sensor
2015-12-15 19:59:12 -08:00
bradsk88 58988787ea Updating to python-wink 0.3.0 2015-12-15 21:46:54 -06:00
kevinpanaro 4f6243fe0e changed pyicloud version to 0.7.2 2015-12-15 21:07:34 -05:00
happyleaves 0e9c51a479 twitch sensor 2015-12-15 20:43:14 -05:00
Paulus Schoutsen d6dad8c818 Merge pull request #756 from philipbl/arest_sensor
Template support for aRest sensor
2015-12-15 16:48:14 -08:00
Paulus Schoutsen 17940f36e8 Merge pull request #759 from happyleavesaoc/orvibo_version
bump orvibo dependency version
2015-12-15 16:44:38 -08:00
happyleaves 149449624e bump orvibo dependency version 2015-12-15 18:50:15 -05:00
Philip Lundrigan 574de3b1b6 Handle template error
To be more consistent with the other sensor implementations of templates
2015-12-15 15:47:35 -07:00
Fabian Affolter 85873390ee Include name (#654) 2015-12-15 23:12:43 +01:00
Philip Lundrigan 4e6b01b0b9 Use different render method 2015-12-15 14:47:25 -07:00
Philip Lundrigan 5ecdd06bd5 Template support for arest sensor 2015-12-15 14:16:52 -07:00
Erik a764817ee9 lint ok 2015-12-15 22:05:55 +01:00
Erik dade33187f added support for eliq online energy sensor 2015-12-15 21:48:42 +01:00
David Edmundson a3f805d88e Use fuzzy matching for conversation entity matching
Entity may not be picked up exactly by the speech recognition. Instead
of doing an exact string match, look for names which are phonetically
similar and choose the best match above a certain threshold.

This helps as entity names may often be pronoun's (Dave's bedroom) and
this allows for some minor mistakes i.e "the bedroom" will successfully
match against a switch called "bedroom"

It introduces a new library dependency, fuzzywuzzy for comparisons.
2015-12-15 20:44:35 +00:00