Commit Graph

4682 Commits (7ff9aecd4e0b8772465b4054b7d0928f80f165ef)

Author SHA1 Message Date
Fabian Affolter f8f0ed860c Sync with template content 2016-02-27 12:53:06 +01:00
Fabian Affolter f99a536b98 Add initial templates 2016-02-27 10:03:55 +01:00
Karen Goode 02faefdab3 Update demo.py 2016-02-26 18:43:50 -08:00
Karen Goode 2a01b09d31 Update demo.py 2016-02-26 18:25:39 -08:00
Karen Goode 712ba65d26 Update demo.py 2016-02-26 18:12:03 -08:00
Alexander Fortin 124a9b7a81 ADD only_if_coordinator decorator to sonos
Currently we interact with players regardless of thir coordinator
role, hence soco.exceptions.SoCoSlaveException are thrown. The use
of the decorator for each interactive method should address this
2016-02-27 00:40:34 +01:00
Karen Goode cbd69583bd Update demo.py
Update to demo site to include input_selects, notify, inline camera and two views.
2016-02-26 15:23:44 -08:00
Paulus Schoutsen 2ec141b5d4 Merge pull request #1403 from stjohnjohnson/MQTTLightScale
Add scale support for MQTT Lights.
2016-02-26 15:19:08 -08:00
Fabian Affolter 2609852d6e Modify docstrings to match PEP257 2016-02-26 23:52:54 +01:00
St. John Johnson e525b6e0a5 Add brightness scale support for MQTT Lights.
Converts 0..255 values that HA expects into a device 0..SCALE value
Example:
  HA considers "hall light" at 25 brightness or 10% of 255
  Device considers "hall light" at 100 brightness or 10% of 1000

This allows our existing MQTT devices to not change their data format to be used in HA
2016-02-26 10:38:07 -08:00
Daniel Høyer Iversen 278fdc0983 Merge pull request #1385 from balloob/rfxtrx
improve rfxtrx sensor
2016-02-26 10:49:10 +01:00
Greg Dowling 6dc49df2df Merge pull request #1405 from balloob/wemo_insight_updates
Fix typo in Wemo state_detail attribute.
2016-02-26 08:46:54 +00:00
pavoni b2d32114c8 Fix typo. 2016-02-26 08:28:17 +00:00
Paulus Schoutsen 6512b7d701 Merge pull request #1380 from w1ll1am23/wink_binary_sensor
Moved Wink binary sensors to a binary sensor class
2016-02-25 18:19:38 -08:00
Paulus Schoutsen 782713ee4f Merge pull request #1398 from GreenTurtwig/steam
Update Steam sensor to show currently played game
2016-02-25 18:14:54 -08:00
Paulus Schoutsen dd45b5e0b1 Merge pull request #1402 from kk7ds/fix-mfi-connect-exception
Fix mFi error handling in setup_platform
2016-02-25 17:06:03 -08:00
Greg Dowling f92802fd5c Merge pull request #1401 from balloob/wemo_insight_updates
Wemo updates
2016-02-26 00:23:17 +00:00
pavoni ddbceebd65 Cast standby_state to int before testing. 2016-02-26 00:16:33 +00:00
Dan Smith 37e5b98919 Fix mFi error handling in setup_platform
The exception we were catching incorrectly referenced the client variable
in local scope instead of the module. Also, if we fail to connect we can
get a requests exception, so catch and handle that as well.
2016-02-25 15:52:13 -08:00
pavoni 86973226b1 Remove ghost comment. 2016-02-25 23:13:20 +00:00
pavoni bbf8897a51 Add LightSwitch to discovery, default unnown devices to switches for compatability. 2016-02-25 23:02:36 +00:00
pavoni 72144945b4 Move standby from state to attribute, add optimistic switch status. 2016-02-25 22:46:14 +00:00
William Scanlon 5a64ef2c98 Moved Wink binary sensors to a binary sensor class 2016-02-25 14:03:02 -05:00
Rowan Hine 393df2da49 Update steam_online.py 2016-02-25 17:46:51 +00:00
Rowan Hine a54986159c Update Steam sensor to show currently played game 2016-02-25 17:05:00 +00:00
Daniel 8ffa3684e3 rfxtrx refactor 2016-02-25 17:40:24 +01:00
Paulus Schoutsen dc02370b43 Merge pull request #1355 from deisi/deutsche_bahn
New deutsche_bahn component
2016-02-25 08:31:47 -08:00
Daniel 23db6e753f refactor rfxtrx code 2016-02-25 13:08:16 +01:00
Paulus Schoutsen 35aa9aa863 Merge pull request #1383 from kk7ds/virtual-binary-sensor
Template binary sensor
2016-02-24 22:15:01 -08: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
Dan Smith a7519bb38b Add a template binary_sensor platform 2016-02-24 20:09:13 -08:00
Dan Smith db4bf7319f Add float() operator to templates 2016-02-24 20:07:46 -08:00
Paulus Schoutsen 621a6e0ea0 Merge pull request #1395 from MartinHjelmare/fix-mysensors-switch-light
Fix mysensors switch & light types
2016-02-24 19:56:36 -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 9c538d11c2 Fix mysensors switch & light types
* Move S_LIGHT and V_LIGHT from light back to switch platform, to avoid
  double devices showing.
* Remove MySensorsLightPlain class from light platform, since it's not
  needed anymore.
* A light switch with only a switch, ie no dimmer or
  RGB controls, will show as a regular switch device.
2016-02-25 00:48:29 +01: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
Stefan Jonasson db06d5a03d Fixed the z-wave trigger sensor workaround 2016-02-24 22:44:49 +01:00
Dan Smith eb5f208a09 Add a few more sensor classes
This adds hot, cold, and moving sensor_class values for things that we
may want to support.
2016-02-24 10:38:21 -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
Paulus Schoutsen c2729211ad Merge pull request #1390 from flyte/tcp-component-tests
Bring TCP component test coverage to 100%
2016-02-24 07:33:34 -08:00
Flyte 8840461af3 Bring TCP component test coverage to 100% 2016-02-24 13:28:39 +00: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
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 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
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