Commit graph

3109 commits

Author SHA1 Message Date
Fabian Affolter
4563c54a3e Add link to docs and modify docstrings to match PEP257 2016-02-24 10:38:06 +01:00
Fabian Affolter
3f82b9d6b0 Add link to docs and modify docstrings to match PEP257 2016-02-24 10:07:54 +01:00
Paulus Schoutsen
2b839de854 Merge pull request #1372 from balloob/rfxtrx_bug_fix
Fix issue #1301
2016-02-23 23:40:17 -08:00
Paulus Schoutsen
8dc6443d14 Merge pull request #1364 from GreenTurtwig/steam
Added a Steam sensor
2016-02-23 21:31:27 -08:00
Dan Smith
537808f9be Merge pull request #1382 from kk7ds/uvc-ignore-aircams
Filter out AirCam models in UVC camera platform
2016-02-23 15:39:58 -08:00
Fabian Affolter
582394bc3b Modify import of template and PEP257 2016-02-23 21:19:22 +01:00
Dan Smith
05a1e11db2 Filter out AirCam models in UVC camera platform
The older (unsupported AirCam) models behave differently and also apparently
suffer some under the last release of the NVR that supported them. Since they
are EOL and not supported by current software, filter them out so we don't
break while trying to extract an image from them.
2016-02-23 12:01:51 -08:00
Rowan Hine
f8240a9cda Changed to use dictionary 2016-02-23 18:02:48 +00:00
Jan Harkes
9b0b3c474e Fix dispatching of WeMo switch devices.
I only have WeMo Link and Insight devices and assumed model names of other
devices were fairly straightforward.

But it looks like the regular WeMo switch uses 'Socket' as the model name.
2016-02-23 10:05:14 -05:00
Rowan Hine
532d807771 Add Steam sensor 2016-02-23 09:35:27 +00:00
Fabian Affolter
60d579af84 Update/add docstrings (PEP257) 2016-02-23 06:23:04 +01:00
Dan Smith
590512916a Add tests for camera.uvc and fix bugs found in the process
This adds tests for the uvc camera module. It's a good thing too,
because I found a few bugs which are fixed here as well:

 - Graceful handling of non-integer port
 - Failure to take the first host that works when probing host,internalHost
 - Failure to detect if neither of them actually work

This also converts the code to only call add_devices once with a listcomp.
2016-02-22 14:37:57 -08:00
Dan Smith
d398832112 Make UVC cameras honor the local camera password store, if set
The NVR tells us the admin username, but not the password for the
camera. Right now, we assume the default password, which obviously
doesn't work for people that have changed it. The uvcclient library
provides a way to set the cached admin password for a camera, which
is stored in a client-specific location. We can utilize that to
grab the password, falling back to the default if it's unset. With
this, people just need to run a command per camera to set the
admin password on their systems, if it has changed.
2016-02-22 13:17:53 -08:00
Paulus Schoutsen
88dc7a08c4 Merge pull request #1346 from stefan-jonasson/add_for_to_conditions
Added the "for" param to the conditions as well
2016-02-22 07:49:35 -08:00
Paulus Schoutsen
7cc3b8d7b1 Merge pull request #1371 from davidedmundson/dev
Fix service documentation appearing for notifications
2016-02-22 07:37:08 -08:00
Paulus Schoutsen
09ff394abc Merge pull request #1369 from t30/test-command_rollershutter
Added command_rollershutter component
2016-02-22 07:36:14 -08:00
Paulus Schoutsen
b294383f20 Merge pull request #1368 from Gerto/dev
Don't set Bitcoin wallet if not setup in configuration
2016-02-22 07:35:24 -08:00
Fabian Affolter
5bd0b5ab99 Update docstring 2016-02-22 14:43:12 +01:00
Fabian Affolter
7d9e882d52 Update docstrings to match PEP257 2016-02-22 14:42:11 +01:00
Daniel
1f842140ef Fix issue #1301 2016-02-22 13:45:01 +01:00
David Edmundson
8d5a164346 Fix service documentation appearing for notifications
We want the descriptions for notify.notify regardless of the name of the
exact notify service being called.
2016-02-22 11:14:05 +00:00
Gert
cbe27d8f1a Don't set wallet if not setup in configuration
Because of problems with the Wallet part of python blockchain library (see #1242 ) , the entire Bitcoin module isn't working currently.
This change does not fix those problems but at least makes the sensor work again for people who don't need Wallet-related functionality.

It also just seems better practice to not set a wallet and call "wallet.get_balance()" when not wallet is set in configuration.
2016-02-22 11:44:00 +01:00
t30
066b569cfe Added command_rollershutter component 2016-02-22 10:43:29 +00:00
Fabian Affolter
fd3ea95b82 Add docstrings, fix typos, and update docsstring for PEP257 2016-02-22 10:11:46 +01:00
Stefan Jonasson
e4485dcf3d Updated structure, added more tests 2016-02-22 09:40:27 +01:00
Paulus Schoutsen
7a0c99a1d5 Update frontend 2016-02-21 23:14:36 -08:00
Paulus Schoutsen
7c15f6a4b3 Merge pull request #1332 from jaharkes/wemo_leds
Wemo leds
2016-02-21 20:52:55 -08:00
Jan Harkes
afe564fb3f Move WeMo discovery into a common component 2016-02-21 22:23:00 -05:00
Paulus Schoutsen
82e11e237e Merge pull request #1268 from flyte/tcp-component-pr
Add generic TCP socket component
2016-02-21 19:21:20 -08:00
Jan Harkes
4dad40fffb Add support for WeMo LED lights. 2016-02-21 21:57:53 -05:00
Jan Harkes
368ad93eb6 Only add discovered switches instead of any WeMo device. 2016-02-21 21:57:53 -05:00
Paulus Schoutsen
92be572374 Merge pull request #1351 from tpatja/zwave_binary_sensor
ZWave binary sensor support
2016-02-21 13:57:06 -08:00
Paulus Schoutsen
c77266c544 Merge pull request #1357 from w1ll1am23/update_wink_for_binary_switch_fix
Updated wink version for binary switch fix
2016-02-21 13:50:59 -08:00
Paulus Schoutsen
aa748e3e48 Merge pull request #1358 from andythigpen/script-improvements
Script improvements
2016-02-21 13:49:49 -08:00
Andrew Thigpen
7dd529356a Add toggle support for scripts. 2016-02-21 11:22:38 -06:00
Paulus Schoutsen
070cee48a8 Merge pull request #1353 from balloob/assume-state
Add assumed_state to Group, MQTT Switch, MQTT Light
2016-02-21 09:19:54 -08:00
Andrew Thigpen
b961b5037f Only turn on scripts that are not currently running.
Prevents an errant API call from advancing a currently executing delay
step before it should.
2016-02-21 11:11:35 -06:00
William Scanlon
3da554a198 Update wink version 2016-02-21 12:01:32 -05:00
Teemu Patja
d1a4dc77d1 Disable pylint warning 2016-02-21 10:01:03 +02:00
Paulus Schoutsen
ff9568ad26 Merge pull request #1348 from LinuxChristian/dev
Added support for d-link W215 smart plug
2016-02-20 23:49:57 -08:00
Christian Fredborg Braedstrup
2f66528595 Added support for d-link W215 smart plug 2016-02-21 08:34:07 +01:00
Paulus Schoutsen
7f81122af6 Update frontend with latest version 2016-02-20 20:46:40 -08:00
Paulus Schoutsen
1eae74be58 Add assumed_state to group 2016-02-20 19:11:02 -08:00
Paulus Schoutsen
443b39bccd MQTT Switch to expose assumed_state if optimistic 2016-02-20 17:17:30 -08:00
Paulus Schoutsen
8f70630790 MQTT Light to expose assumed_state if optimistic 2016-02-20 17:17:22 -08:00
Teemu Patja
5053c807c0 ZWave binary sensor support
Treat ZWave binary sensors as binary_sensor components instead of
regular sensors.
2016-02-20 23:57:59 +02:00
Stefan Jonasson
f3c95adaca Fixed now => utcnow
Fixed added time patch to unittest
2016-02-20 22:15:49 +01:00
Paulus Schoutsen
6532eae3d5 Merge pull request #1343 from balloob/random-cleanup
Random cleanup
2016-02-20 12:16:54 -08:00
Stefan Jonasson
ff6e071dff added the for param to the conditions as well 2016-02-20 12:52:42 +01:00
Paulus Schoutsen
22b47ce9c6 Merge pull request #1314 from balloob/fix_own_tracks_mobile_beacon
Fix own tracks mobile beacon race condition
2016-02-20 00:27:07 -08:00