2962 Commits

Author SHA1 Message Date
Daniel
23db6e753f refactor rfxtrx code 2016-02-25 13:08:16 +01:00
Paulus Schoutsen
57ac6cd76f Merge branch 'extract-entity-picture' into dev
Conflicts:
	homeassistant/components/sensor/steam_online.py
2016-02-24 22:00:58 -08:00
Paulus Schoutsen
caa1b73035 Merge pull request #1394 from MartinHjelmare/use-get_component-mysensors
Use get_component instead of importing component for mysensors
2016-02-24 19:55:03 -08:00
MartinHjelmare
2790ee0b02 Use get_component instead of importing component 2016-02-25 00:24:31 +01:00
Paulus Schoutsen
eb681e721c Merge pull request #1387 from stefan-jonasson/z_wave_workaround_fix
Fixed the workaround for philio slim multi sensor.
2016-02-24 14:45:27 -08:00
Malte Deiseroth
b096004449 New deutsche_bahn component
Uses the (schiene)[https://pypi.python.org/pypi/schiene/0.14] API to communicate with the webserver of bahn.de
and pulls iformation about a specific connection from the (bahn.de)[http://www.bahn.de/p/view/index.shtml]
webpage. The departure time of the next train for the given connection is shown.
In case of delay, the delay is also shown. Additional `ATTRIBUTES` are used to
inform about e.g. the type of the train, price and if it is ontime.

Usage:

    sensor:
      platform: deutsche_bahn
        from: name_of_start_station
	  to: name_of_final_station

Problems:
I'm testing it for quite some time, but I have never seen the `ATTRIBUTES` in case
of a delayed train. The `ATTRIBUTES` are directly passed from the `schiene` API. So this
usecase has not been tested yet.

deutsche_bahn ist not supporting the `schiene` api unlike in the swiss_public_transport case.
It's not guaranteed that `schiene` will work forever, infact it can happen that Bahn AG will
intentionally brake the API at some point. In the past Bahn AG has not allways been very supportive
to the opensource community.
2016-02-24 17:35:00 +01:00
Fabian Affolter
5406028ace Modify docstrings to match PEP257 2016-02-24 10:47:35 +01:00
Fabian Affolter
4563c54a3e Add link to docs and modify docstrings to match PEP257 2016-02-24 10:38:06 +01:00
Stefan Jonasson
04b48e0683 Moved the workaround for philio slim multi sensor.
Changed the key matching to utilize integer values. It does not report always return the hex marker '0x' in the identifier strings. This Re closes issue #1349
2016-02-24 10:28:49 +01:00
Paulus Schoutsen
967a751da1 Add entity_picture property 2016-02-23 22:41:24 -08:00
Paulus Schoutsen
8dc6443d14 Merge pull request #1364 from GreenTurtwig/steam
Added a Steam sensor
2016-02-23 21:31:27 -08:00
Fabian Affolter
582394bc3b Modify import of template and PEP257 2016-02-23 21:19:22 +01:00
Rowan Hine
f8240a9cda Changed to use dictionary 2016-02-23 18:02:48 +00: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
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
7d9e882d52 Update docstrings to match PEP257 2016-02-22 14:42:11 +01: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
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
Paulus Schoutsen
92be572374 Merge pull request #1351 from tpatja/zwave_binary_sensor
ZWave binary sensor support
2016-02-21 13:57:06 -08:00
William Scanlon
3da554a198 Update wink version 2016-02-21 12:01:32 -05: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
Paulus Schoutsen
fb9d8c79b5 Bloomsky main component to load its platforms 2016-02-19 23:22:23 -08:00
Paulus Schoutsen
f5f52010d1 Extract bloomsky binary_sensor 2016-02-19 23:21:56 -08:00
MartinHjelmare
08aaea5444 Add mysensors binary sensor
* Add mysensors binary sensor.
* Add discovery platforms to binary_sensor base component.
* Replace device_state_attributes with state_attributes in
	binary_sensor base class.
* Fix docstrings.
* Add discovery of binary sensor to mysensors component.
* Add child.type as argument to mysensors device_class.
* Move binary sensor types from sensor to binary_sensor module.
* Fix binary_sensor attribute tests. Use state_attributes instead of
	device_state_attributes.
2016-02-20 04:28:17 +01:00
MartinHjelmare
52131a3335 Fix temperature unit
* Specify temperature unit according to gateway setting, to avoid
	converting to Fahrenheit when already Fahrenheit.
* Fix docstrings in wrapper class.
2016-02-20 02:11:15 +01:00
Flyte
4e6b755b26 Add tests for TCP component. 2016-02-19 17:41:51 +00:00
Paulus Schoutsen
f20ea41538 Merge pull request #1322 from w1ll1am23/nest_weather_component
Added support for nest current weather conditions
2016-02-19 08:24:07 -08:00
William Scanlon
14afd1e409 Removed debugging logging 2016-02-19 08:26:56 -05:00
Paulus Schoutsen
e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -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
Justyn Shull
9a740bff2a Return early from setup_platform when zwave NETWORK is not configured 2016-02-18 18:12:00 -06: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
Flyte
c1d39a2fce Remove unnecessary top-level TCP component. Fix order of inheritance on TCP BinarySensor. 2016-02-18 17:25:02 +00: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
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
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
pavoni
9a6c99264e Catch KeyError as well as ValueError when handling efergy errors. 2016-02-16 12:05:00 +00:00
infamy
16865b82d3 initial commit of the neurio_energy sensor 2016-02-15 15:54:07 -08:00
Flyte
3d83eea5f7 Add tcp component. 2016-02-15 16:04:14 +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
77b141a355 Update Wink to 0.6 2016-02-13 08:17:38 -08:00
Paulus Schoutsen
6d6cf886f3 Merge pull request #1222 from turbokongen/verisure-mouse
Support for Mousedetectors connected in Verisure systems
2016-02-13 00:22:34 -08:00
John Arild Berentsen
a29be5455c Fix unit and wrong errorhandling 2016-02-13 09:05:18 +01:00
Paulus Schoutsen
7dd51034cd Merge pull request #1213 from MartinHjelmare/mysensors-light
Add mysensors light platform
2016-02-12 19:01:41 -08:00
nkgilley@gmail.com
ba530e5a16 fix ecobee sensor unique id. 2016-02-12 17:24:00 -05:00
John Arild Berentsen
c584b6b28d Support for Mousedetectors connected in Verisure systems 2016-02-12 21:41:01 +01:00