Commit Graph

773 Commits (e5feeec7a41636886f97f3be94f4364b52b11a67)

Author SHA1 Message Date
Christian Fredborg Braedstrup 2f66528595 Added support for d-link W215 smart plug 2016-02-21 08:34:07 +01:00
Paulus Schoutsen 443b39bccd MQTT Switch to expose assumed_state if optimistic 2016-02-20 17:17:30 -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
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Justyn Shull 9a740bff2a Return early from setup_platform when zwave NETWORK is not configured 2016-02-18 18:12:00 -06:00
pavoni 98d18c3060 Bump pywemo version. 2016-02-18 19:32:30 +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
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
Erik 008d65677b add assumed state property 2016-02-16 17:18:49 +01:00
Daniel b93ebe1936 Add signal repetition to rfxtrx 2016-02-15 19:45:33 +01:00
Daniel 0010cadd39 Add signal repetition to rfxtrx 2016-02-15 19:41:40 +01:00
John Arild Berentsen f429a6c4ff Add assumed_state for rfxtrx switch and light. 2016-02-15 18:59:11 +01:00
Paulus Schoutsen 8bea5c06de Add assumed_state property to entity 2016-02-13 23:42:11 -08:00
Paulus Schoutsen 77b141a355 Update Wink to 0.6 2016-02-13 08:17:38 -08:00
Paulus Schoutsen 7dd51034cd Merge pull request #1213 from MartinHjelmare/mysensors-light
Add mysensors light platform
2016-02-12 19:01:41 -08:00
MartinHjelmare 0492f0abd0 Fix error in update method for V_STATUS
* Remove check against V_STATUS to avoid error when using version 1.4
    of mysensors. V_LIGHT has the same integer value so V_STATUS is not
    needed.
2016-02-12 22:05:31 +01:00
Paulus Schoutsen 3c582d1e3c Merge pull request #1143 from balloob/rfxtrx
Rfxtrx
2016-02-11 23:30:34 -08:00
MartinHjelmare 2cf061c768 Add mysensors light platform
* Make light controllable independently with types V_LIGHT, V_DIMMER,
    V_RGB and V_RGBW. V_RGBW is not implemented in the frontend yet.
* Add discovery for light platform.
* Add optimistic mode config setting for switch and light
    to allow feedback state from actuator.
* Move S_LIGHT, V_LIGHT, V_STATUS types from switch to light platform.
* Change node update logging to debug from info level.
* Fix some inaccurate comments.
2016-02-12 01:22:35 +01:00
Dan Smith 4cfa14c29d Support manually-defined WeMo devices
This is extremely useful if you want to support wemos that are on
another subnet or across a VPN. It also lets you sidestep the discovery
process, which is problematic for a lot of people and situations.

In order for this to work, we need to bump the pywemo requirement to
0.3.10, which includes my changes to make this possible.

WeMo devices can be manually configured by adding a static section to
the config, like this:

  switch:
    platform: wemo
    static:
       - 192.168.100.5
       - 192.168.100.6
2016-02-11 17:23:20 +00:00
Daniel f938134069 updated rfxtrx lib 2016-02-11 14:15:51 +01:00
MartinHjelmare 75775a561b Use entity property available 2016-02-11 03:27:02 +01:00
Daniel cdf0e80773 Improve the robustness of the rfxtrx module, and solve issue #1116 2016-02-10 08:44:34 +01:00
Dan Smith 0a7db98b0e Round mFi sensor values to reasonable levels of precision
Most of the mFi sensors are able to reasonably provide accurate
readings to a tenth of a unit or so. This patch rounds them for
better display in the UI. Normally, I would expect this to be a view
action instead of altering the actual data emitted, but since these
values are reasonable for sensor precision, we're not really losing
anything. I followed the model from the openweathermap component, which
rounds for readability in the backend.
2016-02-07 20:51:00 +00:00
Dan Smith 951fa603ff Support mPort voltage output switch types
An mPort device has a voltage output port that, if configured,
we should support like a switch.
2016-02-07 20:48:57 +00:00
Dan Smith c113997609 Tweak mFi switch behavior to avoid false states
When we update the mFi server for the state of a switch, the new
state is not always reported immediately if we update right after
the action (the server is not RESTful).

This patch adds some internal target-state handling to report the
desired state on the next poll, allowing any subsequent polls to
override that state.

Also, bump the version requirement for mficlient to 0.2.2 to absorb
a bug fix.
2016-02-07 20:48:51 +00:00
Paulus Schoutsen 64611ab2be Merge pull request #1157 from balloob/device-state-attributes
Clean up state_attributes vs device_state_attributes
2016-02-07 10:16:34 -08:00
Fabian Affolter 757946293e Move configuration details to docs 2016-02-07 11:52:17 +01:00
Paulus Schoutsen f08b77dc4c Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
Paulus Schoutsen 428750eeda Merge pull request #1151 from kk7ds/add-mfi
Add support for Ubiquiti mFi sensors and switches
2016-02-06 20:11:53 -08:00
Dan Smith ffc4822f50 Add support for Ubiquiti mFi switchable devices
This adds support for mFi devices that are swichable,
such as the mFi Outlet device.
2016-02-07 03:02:49 +00:00
MartinHjelmare d773ad1ecb Fix mysensors version errors
* The application of the version check in unit_of_measurement was
	messed up after the last refactor. Fix that again.
* An error could occur in device_state_attributes if there was a
	mismatch between used value_type in the device and mysensors
	version in config. Add try... except to handle that.

Bump pyvera version.

Bump pywemo version.

Add unavailable status before properly initialised for maker and insight.
2016-02-07 00:28:12 +00:00
Paulus Schoutsen b3e966665a Merge pull request #1150 from bradsk88/master
Updating to python-wink 0.5.0
2016-02-06 13:04:42 -08:00
bradsk88 6e69737e88 Updating to python-wink 0.5.0
Major bugfix.  ``` get_bulbs ``` and similar methods were always returning empty lists.

Better unit tests have been added to https://github.com/bradsk88/python-wink to avoid this regression.
2016-02-06 14:22:46 -06:00
Paulus Schoutsen af0a44d976 Merge pull request #1144 from MartinHjelmare/fix-mysensors-errors
Fix mysensors version errors
2016-02-06 11:35:49 -08:00
Paulus Schoutsen dde80850a6 Merge pull request #1112 from balloob/switch-template
First cut of switch.template
2016-02-06 09:12:13 -08:00
MartinHjelmare b700ec4faa Fix mysensors version errors
* The application of the version check in unit_of_measurement was
	messed up after the last refactor. Fix that again.
* An error could occur in device_state_attributes if there was a
	mismatch between used value_type in the device and mysensors
	version in config. Add try... except to handle that.
2016-02-06 10:57:42 +01:00
pavoni 2622cf2e53 Use available, remove state, improve true,false tests. 2016-02-05 11:18:50 +00:00
Erik 50a9b3a7c0 reworked telldus live support 2016-02-05 00:07:12 +01:00
pavoni ced380f0cd Remove unneeded entity_id check and blank lines. 2016-02-04 17:24:38 +00:00
pavoni b20d3f8b3a Update docstrings. 2016-02-03 23:23:19 +00:00
pavoni 6e6c3c5cd5 Tidy. 2016-02-03 14:30:58 +00:00
pavoni 5521096c02 Add actions. 2016-02-03 14:29:25 +00:00
pavoni 9a9dbcfaea Refactor, support template logic values, add tests. 2016-02-03 13:16:13 +00:00
pavoni a955f3db08 WIP commit - template state working, on / off still to do. 2016-02-02 19:25:17 +00:00
Fabian Affolter 395743005a Add link to docs, new docstrings, and update docstrings 2016-02-01 11:47:09 +01:00
Flavio Castelli 8eef978241 Add support for the SCSGate device
Support the SCSGate device. This will allow home-assistant to interact
with BTicino/Legrand MyHome system.

Signed-off-by: Flavio Castelli <flavio@castelli.me>
2016-01-31 18:30:43 +01:00
Martin Hjelmare a8f7bc2324 Merge pull request #1034 from MartinHjelmare/refactor-s_v_types
Mysensors: Refactor s_types and v_types mapping
2016-01-30 01:04:06 +01:00
MartinHjelmare 9db0987e53 Refactor s_types and v_types mapping
To be able to handle new platforms with multiple used v_types but
single states, a new more strict mapping was required. Each s_type is
now mapped to its corresponding v_type(s) in a dict of lists.
2016-01-30 00:55:13 +01:00
Paulus Schoutsen f87c7d6732 Merge pull request #1023 from flyte/zigbee-pr
Add ZigBee integration and components.
2016-01-29 09:18:10 -08:00
Flyte c17a4fca80 ZigBee: Ensure correct entity types are used for each component. 2016-01-29 12:00:53 +00:00
Paulus Schoutsen cbc6323438 Fix imports 2016-01-28 21:45:26 -08:00
Flyte dda4f84150 Add zigbee components. 2016-01-28 13:18:29 +00:00
Paulus Schoutsen f3f592cdec Merge pull request #982 from stefan-jonasson/dev
Updated the entity names for all z-wave devices.
2016-01-26 22:51:34 -08:00
Stefan Jonasson 1d2cd0811b Updated Imports.
ZWave modules now import the domain from the base domain.
2016-01-27 07:37:41 +01:00
MartinHjelmare 1dae22a465 Fix device_state_attributes
* Return a dict with keys as the names of the enum members instead of
	the member values.
* This fixes a TypeError: unorderable types: int() < str()
2016-01-27 02:33:21 +01:00
Stefan Jonasson 1a422ecd5a Moved common z-wave node functionality to a common z-wave class 2016-01-26 22:11:27 +01:00
Martin Hjelmare b13e48bd71 Merge pull request #999 from MartinHjelmare/fix-not-adding-devices
Fix adding devices on the fly
2016-01-26 19:30:31 +01:00
MartinHjelmare 9117fa6eb8 Fix adding devices on the fly
Devices were not added without persistence enabled and restart of HA.
Node id was added to defaultdict(list) by mistake when checking if list
of defaultdict was empty.

* Fix adding devices in mysensors_callback.
* Change devices to regular dict.
2016-01-26 18:12:13 +01:00
Stefan Jonasson f4c9540a1b Updated teh entity_id generation
Entity ids will now look like this:
sensor.philio_technology_corporation_psm021_slim_multisensor_doorwindow_sensor_7
sensor.philio_technology_corporation_psm021_slim_multisensor_luminance_7
sensor.philio_technology_corporation_psm021_slim_multisensor_motion_sensor_7
sensor.philio_technology_corporation_psm021_slim_multisensor_tamper_sensor_7
sensor.philio_technology_corporation_psm021_slim_multisensor_temperature_7

sensor.philio_technology_corporation_psm021_slim_multisensor_doorwindow_sensor_8
sensor.philio_technology_corporation_psm021_slim_multisensor_luminance_8
sensor.philio_technology_corporation_psm021_slim_multisensor_motion_sensor_8
sensor.philio_technology_corporation_psm021_slim_multisensor_tamper_sensor_8
sensor.philio_technology_corporation_psm021_slim_multisensor_temperature_8

And if there is several values of the same type in a node the instance id will be appended like this (three switches in the same device):
switch.fibaro_system_unknown_type0202_id1002_switch_9
switch.fibaro_system_unknown_type0202_id1002_switch_9_2
switch.fibaro_system_unknown_type0202_id1002_switch_9_3
2016-01-26 09:33:26 +01:00
happyleavesaoc 80c6bf6744 bump orvibo version 2016-01-25 16:40:27 -05:00
William Scanlon c95b03f240 Fixed style 2016-01-21 18:32:10 -08:00
William Scanlon 56ce3e5f5a Wink siren support 2016-01-21 18:32:10 -08:00
pavoni d2d421ca8f Remove ghost debug code. 2016-01-20 20:02:03 +00:00
pavoni 7ad5b3a17b Fix bug related to maker_param types 2016-01-20 19:13:29 +00:00
pavoni 0de9229d75 More tidying. 2016-01-20 11:25:20 +00:00
pavoni f4c3ac2a62 Tidy 2016-01-20 11:19:00 +00:00
pavoni 6c5ceaf686 Remove sensor state from switch and wemo 2016-01-20 11:06:08 +00:00
Erik d43101f22a fix issue where sensors and switches were duplicated because of component getting initialized twice. closes #913 2016-01-18 19:41:41 +01:00
Ryan Kraus 342a819fd4 Added toggle service
Added a toggle service to the homeassistant, light, switch, and
media_player domains.
2016-01-16 10:45:05 -05:00
pavoni be23c6c86d Bump pywemo version. 2016-01-16 11:35:17 +00:00
Greg Dowling 3d27dd3ec4 Merge pull request #902 from balloob/fix_vera_sensor_subscriptions
Another Vera fix
2016-01-15 21:46:27 +00:00
pavoni c2f5eb3073 Missed change. 2016-01-15 21:42:51 +00:00
pavoni 541b268721 Update to use refactored pyvera, fixes subscription issues - esp sensors. 2016-01-15 21:30:58 +00:00
sfam 7c925ac295 update comments 2016-01-15 16:53:46 +00:00
sfam 8617b92d1b Update RPi.GPIO version and code refactoring 2016-01-15 16:53:45 +00:00
Paulus Schoutsen bb80e3a9fc Merge pull request #898 from balloob/vera_fixes
Vera fixes
2016-01-15 07:43:03 -08:00
pavoni 4fd79afa42 Bump pyvera version. 2016-01-15 11:45:17 +00:00
pavoni 4bc33d0352 Bump pyvera version. 2016-01-15 10:34:14 +00:00
Paulus Schoutsen bed9b038c8 Merge pull request #856 from w1ll1am23/Wink_power_strip_support
Wink power strip support
2016-01-14 19:23:41 -08:00
William Scanlon de5bee6359 Updated python-wink version 2016-01-14 08:56:59 -05:00
Paulus Schoutsen 3b7b12bbd5 Make Flake8 happy 2016-01-12 21:53:27 -08:00
Paulus Schoutsen a5b198e2b8 Merge pull request #771 from MartinHjelmare/mysensors-component-switch
Mysensors component switch
2016-01-11 19:04:35 -08:00
pavoni fca8ad5b0b Tidy. 2016-01-10 12:48:36 +00:00
pavoni 4b4fb038e3 Update for new library, slightly revise switch logic. 2016-01-10 12:30:47 +00:00
MartinHjelmare 0b3a66dd1a Merge branch 'dev' into mysensors-component-switch 2016-01-10 04:27:39 +01:00
MartinHjelmare 2d8cf7de44 Fix wrapper and S_BINARY and bump req. version
* Wrap existing SerialGateway instance instead of subclassing
	SerialGatewat class.
* Add S_BINARY in switch platform only in version 1.5 of mysenors api.
* Use version 0.4 of pymysensors.
* Show gateway port as state attribute.
2016-01-10 04:10:38 +01:00
pavoni af21f72d17 Update pyvera version. 2016-01-09 22:58:28 +00:00
pavoni b64680e4a8 Revise to depend on vera subscription data updates, rather than talking to device. 2016-01-09 21:13:34 +00:00
pavoni d61eb93c03 Remove throttle doesn't play well with subscriptions. 2016-01-09 16:16:41 +00:00
pavoni bb8af3a2d5 Bump pywemo version, turn off polling, tidy trace. 2016-01-08 16:00:26 +00:00
William Scanlon 2803631906 Updated python-wink to 0.4.0 2016-01-08 08:25:26 -05:00
William Scanlon 17dd8ddc9a Added wink power strip support 2016-01-06 12:22:50 -05:00
pavoni 5f8dd65acf Bump pyvera version 2016-01-04 11:24:24 +00:00
Greg Dowling 622a6deb04 Merge pull request #820 from balloob/vera-subscriptons
Add ability to respond to events from Vera hub
2016-01-02 10:15:14 +00:00
happyleavesaoc 9e83a80215 Merge pull request #788 from happyleavesaoc/command_switch_state
add statecmd to command_switch
2015-12-31 18:43:02 -05:00
happyleaves 9c85702c87 combine ifs 2015-12-31 18:39:40 -05:00
pavoni f8e5df237b Remove '#'' from requirements 2015-12-31 18:58:12 +00:00
pavoni 6773c35760 Bump pywemo version 2015-12-31 18:47:12 +00:00
pavoni 5f89b34831 Bump pyvera version 2015-12-31 16:09:05 +00:00
pavoni a8bb75d070 Update sensor with subscription code, change to use pyvera library 2015-12-31 12:16:03 +00:00
pavoni d82859b6ea Turn off poll 2015-12-31 10:57:54 +00: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
pavoni ae0dbbcfa5 Added support for event subscriptions 2015-12-30 19:44:02 +00:00
pavoni 41a36df801 Update pywemo version 2015-12-30 11:54:21 +00:00
happyleaves e9059a3ed9 added test; addressed comments 2015-12-27 22:51:37 -05: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
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
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 d63e5a60ae added rudimentary support for telldus live 2015-12-27 12:32:08 +01:00
Paulus Schoutsen 1944b6a335 Merge pull request #796 from persandstrom/verisure-update
Verisure update
2015-12-26 08:17:08 -08:00
Per Sandström b83b36274a changed to python-verisure 0.4.1 2015-12-25 20:16:51 +01:00
pavoni 3f151428b7 Update pywemo version, use wildcard filter 2015-12-24 09:35:02 +00: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
Fabian Affolter 8796187389 Equalize log messages 2015-12-22 22:02:55 +01: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
William Scanlon 1747db1888 More spacing fixes 2015-12-16 22:45:58 -05:00
William Scanlon cceb79a378 Pulled from dev to get up-to-date 2015-12-16 19:00:06 -05:00
William Scanlon eb6b4218fc Moved python-wink requirement to PyPI 2015-12-16 18:39:23 -05:00
William Scanlon f6d16ba118 updated python-wink requirements for 3.0.1 2015-12-16 15:22:38 -05: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
bradsk88 58988787ea Updating to python-wink 0.3.0 2015-12-15 21:46:54 -06: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
William Scanlon 94eb002b0a Updated python-wink requirements and URL 2015-12-15 10:32:20 -05:00
Paulus Schoutsen 9a9ecb5916 Migrate MQTT from jsonpath to templates 2015-12-10 21:39:01 -08:00
MartinHjelmare 1e52d5c7f2 Add S_TYPES to platform type and fix persistence
* Add S_TYPES to platform type.
* Fix persistence update on startup.
* Clean up code.
2015-12-09 04:43:18 +01:00
MartinHjelmare 9463c84603 Clean up 2015-12-08 02:47:15 +01:00
MartinHjelmare 7cc707f1ce Fix docstrings to conform to pep 2015-12-08 01:03:07 +01:00
MartinHjelmare 59524c7933 Add multiple gateways
* Add support for multiple serial gateways.
* Fix serialization of python objects by adding dict representation of
    classes.
* Add support for showing more than one child value type per entity.
    The entity state is always only one value type. This is defined by
    the platform value types. Value types that are not defined as the
    platform value type are shown as state_attributes.
* Add more unit of measurement types.
* Clean up code.
2015-12-06 00:29:03 +01:00
MartinHjelmare 1d141566bd Merge 'dev' into mysensors-component-switch 2015-12-05 23:55:36 +01:00
Paulus Schoutsen 343b5bd2b8 Merge pull request #682 from happyleavesaoc/s20-update
Orvibo updates
2015-11-29 14:13:31 -08:00
Paulus Schoutsen a301d869d7 PyLint 1.5 fixes 2015-11-29 13:49:05 -08:00
happyleaves 18ca7b4f9e bump requirement version; support multiple switches per platform 2015-11-29 15:52:16 -05:00
Paulus Schoutsen ad3f96fa25 Merge pull request #672 from balloob/some-cleanup
Make component dependencies optional
2015-11-27 15:08:22 -08:00
Paulus Schoutsen 93c86ca5a1 Merge pull request #670 from pavoni/bump_pywemo
Bump pywemo version
2015-11-27 13:08:12 -08:00
pavoni bbf73e0bae Bump pywemo version - fixed scan device = None bug 2015-11-27 19:05:15 +00:00
pavoni 7204bc018f Add exception handler for vera timeout 2015-11-27 11:43:43 +00:00
Paulus Schoutsen fabd0ced3f Make DEPENDENCIES optional for components 2015-11-26 13:11:59 -08:00
Paulus Schoutsen 4c3d6981a6 Merge pull request #661 from bachp/mqtt-retain
Allow setting the retain flag for mqtt switch.
2015-11-26 12:19:52 -08:00
Pascal Bach 69e9d39690 Allow setting the retain flag for mqtt switch.
Some devices can read the initial value on startup.
If the retain flag is set they always receive the value as last set by
home assistant.
2015-11-26 21:03:21 +01:00
Paulus Schoutsen 65f3e7ccf4 Merge pull request #652 from bachp/arest-function
Function support for aREST backend
2015-11-26 11:55:24 -08:00
Pascal Bach 067011af15 function support for aREST backend
The implementation sends /<name>?params=1 for turn_on and /<name>?params=0 for turn_off
It uses the return value of the function to determine the current state.
0=Off, 1=On
2015-11-26 20:45:07 +01:00
Paulus Schoutsen 271c2f6537 Merge pull request #664 from fabaff/mystrom-switch
myStrom switch
2015-11-26 09:43:55 -08:00
Fabian Affolter f2f598bd26 Use host as config var instead of resource 2015-11-26 16:37:00 +01:00
badele 128e3bb762 Move import module 2015-11-26 08:27:31 +01:00
badele a33220db7f Fix pylint style 2015-11-26 08:12:04 +01:00
badele 4bd0db30c9 Add should_fire_event in rfxtrx component 2015-11-26 07:52:37 +01:00
Fabian Affolter 1bebb17e9f Not need to raise exception 2015-11-25 18:14:19 +01:00
Fabian Affolter e45ef0013b Catch connection timeout 2015-11-25 18:07:29 +01:00
Fabian Affolter a8ddae9343 Add myStrom switch platform 2015-11-25 17:21:11 +01:00
Fabian Affolter 3e60c4801c Update docstrings 2015-11-25 08:56:50 +01:00
Paulus Schoutsen 901b9075dc Merge pull request #658 from bachp/arest-logargs
Fix order of log arguments for arest switch
2015-11-23 20:53:39 -08:00
Pascal Bach 0d3a099926 arest: fix order argument order of log messages 2015-11-23 21:46:47 +01:00
Paulus Schoutsen 7f1254d750 Merge pull request #647 from mcdeck/dev
Support for json messages in mqtt switches and sensors
2015-11-22 11:22:56 -08:00
Paulus Schoutsen d6feb82f9b Merge branch 'pr/634' into dev
Conflicts:
	requirements_all.txt
2015-11-21 23:22:47 -08:00
Oliver van Porten 715abf241e Disable pylint warning for callable classes 2015-11-21 17:57:15 +01:00
Oliver van Porten 799043dc0a refactor format mqtt format parser 2015-11-20 22:45:09 +01:00
miniconfig 105dc2847e Changed locked method of lock support to "is_locked".
Added lock and unlock methods
Updated wink components to use the new version of the wink library.
2015-11-20 16:34:27 -05:00
Oliver van Porten b4cf0e874a Support parsing mqtt messages via jsonpath 2015-11-20 22:03:17 +01:00
Paulus Schoutsen 377d2c6e5a Allow generating requirements_all.txt 2015-11-17 00:21:49 -08:00
Fabian Affolter a98b1b0ebc Update link to docs 2015-11-15 18:50:06 +01:00
Paulus Schoutsen 511028612c Merge pull request #593 from leoc/feature-zwave-switches
Implement zwave switches
2015-11-15 09:30:06 -08:00
happyleaves 12bdc39274 don't update state in turn_on/off 2015-11-15 08:59:18 -05:00
Arthur Andersen 56c5d345a4 [Zwave] Update HA state on value change 2015-11-14 23:14:08 +01:00
happyleaves 86b9ae9566 addressed comments 2015-11-14 16:14:25 -05:00
happyleaves aabcad59d8 rename platform to orvibo 2015-11-14 15:05:22 -05:00
happyleaves 70fef3c5b5 fixed names 2015-11-14 14:25:53 -05:00
happyleaves cf8e23adbc s20 switch support 2015-11-14 14:14:02 -05:00
Arthur Andersen 877926cfee [Zwave] Fix docstring 2015-11-11 10:24:00 +01:00
Arthur Andersen 19649390d3 [Zwave] Add binary switch component 2015-11-11 10:24:00 +01:00
Fabian Affolter 97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Paulus Schoutsen 3a095f53a8 Merge pull request #596 from badele/dev
Minor change for logger component
2015-11-08 19:57:58 -08:00
Paulus Schoutsen 7f4c13c382 Upgrade Wink version to v0.1.1 2015-11-08 19:41:22 -08:00
badele e63d0c51e0 Change log severity 2015-11-08 19:02:51 +01:00
badele ebc95aca51 Add log info in the rfxtrx component 2015-11-08 11:15:03 +01:00
MartinHjelmare 45fe37a301 Add mysensors component and switch platform
* Add a general mysensors component. This sets up the serial comm
        with the gateway through pymysensors. The component also
        contains a decorator function for the callback function of
        mysensors platforms. Mysensors platforms should create a
        function that listens for the node update event fired by the
        mysensors component. This function should call another
        function, that uses the decorator, and returns a dict. The dict
        should contain a list of which mysensors V_TYPE values the
        platform handles, the platfrom class and the add_devices
        function (from setup_platform).
    * Change existing mysensors sensor platform to depend on the new
        mysensors component.
    * Add a mysensors switch platform. The switch platform takes
        advantage of new functionality from the the fork of pymysensors
        https://github.com/MartinHjelmare/pymysensors, that enables the
        gateway to send commands to change node child values.
    * Change const and is_metric to global constants, in the mysensors
        component and import const depending on the mysensors version
        used.
    * Change variables devices and gateway to global variables.
    * Add some debug logging at INFO log level.
2015-11-06 01:58:41 +01:00
Paulus Schoutsen 4d069323f4 Add icon support to entity 2015-11-03 00:20:48 -08:00
Paulus Schoutsen 6bb95f5c9b Merge pull request #560 from pavoni/add-vera-dimmer
Add vera dimmer
2015-10-30 21:47:02 -07:00
pavoni 0269be5813 Update pyvera version 2015-10-30 09:39:30 +00:00
pavoni 031d5ce255 Fix style issues, update pyvera version. 2015-10-30 09:37:16 +00:00
Fabian Affolter b3b2f2e326 Fix pylint and flake issues 2015-10-28 00:18:03 +01:00
pavoni dbc05450a0 Bump requirements_all.txt version, remove pylint disable 2015-10-26 16:32:12 +00:00
pavoni ef6c209c6f Revise for clarity, disable pylink check 2015-10-26 09:03:57 +00:00
pavoni 0826ae2742 Revise pywemo version, update discovery.device_from_description parameters 2015-10-26 08:37:13 +00:00
Fabian Affolter fb8edca942 Add link to docs, fix typo, and update log output 2015-10-25 22:21:25 +01:00
Fabian Affolter 8a895390ef Merge pull request #534 from bachp/dev
Add simple REST switch
2015-10-23 23:52:40 +02:00
Pascal Bach 67d5581a1b Add simple REST switch
The switch can get the state via GET and set the state via POST
on a given REST resource.
It is not able to control arbitrary urls but it allows controlling
switches exposed via "real" REST.
2015-10-23 23:40:14 +02:00
Fabian Affolter 5dbdf82ec7 Fix typo 2015-10-23 22:58:00 +02:00
Fabian Affolter 9f4a3f4aea Use the logger the same way as other platforms do 2015-10-23 22:57:07 +02:00
Fabian Affolter 4f3b3a9e34 Use the logger the same way as other platforms 2015-10-23 22:53:58 +02:00
Fabian Affolter 87e55820e7 Add link docs 2015-10-23 22:39:04 +02:00
Fabian Affolter 7801489149 Remove configuration details 2015-10-21 23:05:54 +02:00
Fabian Affolter 0fda89e983 Remove configuration details 2015-10-21 23:05:38 +02:00
Fabian Affolter 0b7c407519 Remove configuration details 2015-10-21 22:54:42 +02:00
Fabian Affolter d45074f9dc Remove configuration details 2015-10-21 22:53:09 +02:00
Fabian Affolter ba13f13442 Remove configuration details 2015-10-21 21:12:25 +02:00
Fabian Affolter 7b60f6ca77 Remove configuration details 2015-10-21 19:43:24 +02:00
Fabian Affolter cfb3384ee3 Add link to docs 2015-10-21 16:38:33 +02:00
Fabian Affolter 3d4af8c229 Remove configuration details 2015-10-21 10:56:32 +02:00
Fabian Affolter 7ec1424825 Add link to docs 2015-10-21 10:47:31 +02:00
Fabian Affolter 5580309d98 Remove configuration details 2015-10-20 22:20:58 +02:00
Fabian Affolter f945a3a692 Move configuration details to docs 2015-10-20 22:20:58 +02:00
Fabian Affolter f8590f7d1d Include resource in error message 2015-10-20 22:20:44 +02:00
Fabian Affolter f01d2b1263 Allow to overwrite the device name 2015-10-18 00:42:02 +02:00
Fabian Affolter 332ac794a4 Modify the import style 2015-10-15 18:22:42 +02:00
Fabian Affolter db53e46705 Add link to docs and remove configuration details 2015-10-09 14:44:59 +02:00
Fabian Affolter 3b7f6d3b67 Update docstrings 2015-10-08 11:09:00 +02:00
Paulus Schoutsen c1899609a4 Merge branch 'pr/483' into dev
Conflicts:
	.coveragerc
2015-10-08 00:28:52 -07:00
badele a5dae78155 Refactoring the rfxtrx components 2015-10-07 19:57:40 +02:00
badele 46f5ef54a1 Refactoring test instance type 2015-10-07 19:15:50 +02:00
badele 11fc521e60 Replace REQUIREMENTS by DEPENDENCIES variable 2015-10-07 19:04:03 +02:00
badele 32f1791c5a Check flake & pylint style 2015-10-06 08:44:15 +02:00
badele db509ccf18 Add a light & switch rfxtrx sender capability 2015-10-02 22:39:30 +02:00
Paulus Schoutsen 64a73f6b67 Update pywemo dependency 2015-09-30 00:12:00 -07:00
badele cc47e39006 Add send capability 2015-09-29 22:47:22 +02:00
badele d64f0ddd41 Refactoring the code for pylint & flake test 2015-09-29 08:20:25 +02:00
Paulus Schoutsen 9e866680d4 Merge pull request #456 from balloob/service-fields
Service fields
2015-09-27 21:07:48 -07:00
pavoni 80c89d218b Avoid throwing an exception when a wemo device with attributes isn't found 2015-09-27 21:05:45 -07:00
badele 174aeacd76 Fix duplicate devices insertion 2015-09-27 23:51:19 +02:00
pavoni e7320fe969 Default dict if parent class returned None 2015-09-27 17:06:49 +01:00
badele 321a603bfe Add a light & switch rfxtrx support 2015-09-27 11:13:49 +02:00
Paulus Schoutsen 4e3bd5f2a9 Add service descriptions 2015-09-26 23:17:04 -07:00
Stefan Jonasson 94db1ac142 Codestyle cleanup 2015-09-23 11:46:55 +02:00
Stefan Jonasson f48e65096a Removed logging. 2015-09-23 11:38:47 +02:00
Stefan Jonasson 3244975489 Removed logging. 2015-09-23 11:37:45 +02:00
Stefan Jonasson 10327795e9 Added more logging. 2015-09-23 11:34:20 +02:00
Stefan Jonasson bcbb8edd59 Added more logging. 2015-09-23 11:30:46 +02:00
Stefan Jonasson 86270e1a37 Added more logging. 2015-09-23 11:27:25 +02:00
Stefan Jonasson de7a34b648 Added more logging. 2015-09-23 11:25:08 +02:00
Stefan Jonasson 82a06279de Added more logging. 2015-09-23 11:22:32 +02:00
Stefan Jonasson 62af1fcc57 Added more logging. 2015-09-23 11:19:27 +02:00
Stefan Jonasson 6afe99dcc7 Added more logging. 2015-09-23 11:14:47 +02:00
Stefan Jonasson b6bf398859 Added callback logging. 2015-09-23 11:07:37 +02:00
Stefan Jonasson 48df06d1c0 Added callback logging. 2015-09-23 10:18:45 +02:00
Stefan Jonasson b4ca691822 Removed the check for callback_dispatcher 2015-09-23 09:52:58 +02:00
Stefan Jonasson 16c2827465 Removed the check for callback_dispatcher 2015-09-23 09:50:12 +02:00
Stefan Jonasson e90fd3d654 Removed the check for callback_dispatcher 2015-09-23 09:43:16 +02:00
Stefan Jonasson 7d0ff6884c Added the req consts 2015-09-23 09:32:11 +02:00
Stefan Jonasson a9ea8972dd Updated required tellcore version 2015-09-23 08:29:57 +02:00
Stefan Jonasson a0c1202ad6 Try to make the connection to the tellcore library more stable 2015-09-23 08:26:40 +02:00
Stefan Jonasson 6437f6f6b4 Desperate try to fix travis ci reporting a unused-argument 2015-09-21 12:57:11 +02:00
Stefan Jonasson 34f36479c6 Fix states not updating after command was sent! 2015-09-20 21:29:38 +02:00
Stefan Jonasson a60a9202a5 cleanup 2015-09-20 14:17:32 +02:00
Stefan Jonasson ab81231e6d Changed flow so we got one callback per platorm instead of per device which caused race conditions in the telldus library. 2015-09-20 14:11:42 +02:00
Stefan Jonasson 60d8266ce0 Fix for issue:
Tellstick switches status changes aren't realtime #204
2015-09-20 00:57:04 +02:00
Fabian Affolter 039c5cd847 Change import ordering 2015-09-15 08:40:38 +02:00
Paulus Schoutsen 965730eb60 Allow setting name for command switch 2015-09-13 23:04:49 -07:00
Fabian Affolter 40aa661340 Update docsstring 2015-09-13 22:27:28 +02:00
Jeff Schroeder 776c7dae07 Fix a tyop in the arduino switch component 2015-09-12 14:26:55 -05:00
Fabian Affolter e2b02f2fd2 Update error message 2015-09-11 08:07:16 +02:00
Fabian Affolter 5d3e929599 Add timeout 2015-09-10 21:23:33 +02:00
Fabian Affolter 1ec392a494 Add update 2015-09-10 21:23:33 +02:00
Fabian Affolter d719dd72fe Add arest switch 2015-09-10 21:23:33 +02:00
Paulus Schoutsen 9f9755c014 Fix wink dependencies 2015-09-09 12:40:28 -07:00
Paulus Schoutsen 89bdead44c Remove latest git submodules 2015-09-08 20:11:25 -07:00
Paulus Schoutsen 326d23de38 Fix pip checking if zip files are installed 2015-09-08 19:49:27 -07:00
Paulus Schoutsen 77892dfa0d Merge pull request #331 from sfam/dev
Add optional QoS config parameter to MQTT sensor and switch
2015-09-08 08:38:55 -07:00
Fabian Affolter 78a555faf5 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:39:16 +02:00
sfam 0f68b9d22b Add optional QoS config parameter to MQTT sensor and switch (pylint) 2015-09-07 00:28:45 +00:00
sfam c5fc5cba61 Add optional QoS config parameter to MQTT sensor and switch 2015-09-07 00:16:31 +00:00
Paulus Schoutsen 74303e4be8 Merge pull request #296 from pavoni/feature/enhance_wemo
Feature/enhance wemo
2015-08-31 08:32:20 -07:00
pavoni 794a11db21 Remove debug statements! 2015-08-31 16:33:12 +01:00
pavoni 93cd7bfc5d Split comment to keep line short 2015-08-31 15:19:04 +01:00
pavoni 3256552675 Fix bug, use constants for states. 2015-08-31 13:12:17 +01:00
pavoni 54dd09df29 Fix typos 2015-08-31 12:13:53 +01:00
pavoni 5ed6987067 Refactor wemo standby state slightly 2015-08-31 11:07:52 +01:00
Paulus Schoutsen 4cadc7df96 Update demo component 2015-08-30 15:08:03 -07:00
pavoni 028551784a Update pywemo to 0,3 2015-08-30 22:50:08 +01:00
pavoni bfbaaa8e9f Merge remote-tracking branch 'balloob/dev' into feature/enhance_wemo 2015-08-30 22:47:49 +01:00
Ryan Kraus 893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
pavoni c3a9db0a37 Add defult methods to base class for switch_state and sensor_state 2015-08-29 20:32:46 +01:00
pavoni 2a0d459722 Fix blank line regression 2015-08-29 00:27:28 +01:00
pavoni dfae1a44a6 Add standby state to WeMo Insight Switch, and add WeMo Maker 2015-08-28 23:11:55 +01:00
Paulus Schoutsen e2cfe2a7d2 Merge pull request #278 from sfam/dev
New RPi_GPIO sensor and switch improvements
2015-08-26 08:40:54 -07:00
sfam 9811869111 fix line too long 2015-08-26 11:27:27 +01:00
sfam 6b3b000822 quick fix 2015-08-26 11:22:06 +01:00
sfam c8b88219b7 rename config parameter to "invert_logic" 2015-08-26 11:03:06 +01:00
sfam cfc2232c22 fix pylint warnings 2015-08-26 00:02:52 +01:00
sfam 0a9d82fe6f Fix RPi_GPIO switch and add extra parameters 2015-08-25 23:23:51 +01:00
Paulus Schoutsen e917479fba Update netdisco to latest version 2015-08-23 17:18:52 -07:00
Paulus Schoutsen b79d0f5404 Fix discovery and wemo 2015-08-23 10:06:54 -07:00
sfam d0c674b756 update 2015-08-22 16:10:29 +01:00
sfam fd7808e6f4 update 2015-08-22 16:04:55 +01:00
sfam a9a650edb6 update style issues 2015-08-22 15:10:49 +01:00
sfam 2bb4a53bd3 Add MQTT Switch 2015-08-19 01:24:40 +01:00
Per Sandstrom 4707b122cc hygrometers and disabling of components 2015-08-17 13:05:49 +02:00
Per Sandstrom e37869616b no more duplicate sensors 2015-08-16 08:03:19 +02:00
Per Sandstrom a0f2f3814b fixed flak8 2015-08-16 06:51:09 +02:00
Per Sandstrom ad327b64ed code reveiw 2015-08-15 13:36:30 +02:00
Per Sandstrom c7ca6e4784 Added a switch 2015-08-12 13:00:47 +02:00
Paulus Schoutsen 60ade75031 Add missing dependencies 2015-08-08 21:22:34 -07:00
Fabian Affolter 87bf3c4e0d fix a couple of typos and use port(s) everywhere 2015-08-08 19:20:53 +02:00
Fabian Affolter 6268a9f5b2 update header 2015-08-08 19:09:37 +02:00
Fabian Affolter a1df7b9b26 add periods 2015-08-06 19:00:47 +02:00
Fabian Affolter 8029d3e592 remove some blank lines 2015-08-06 19:00:18 +02:00
Fabian Affolter b39ae8d23a update header 2015-08-06 18:44:48 +02:00
Fabian Affolter e8dd5779f6 update header 2015-08-06 18:31:35 +02:00
Fabian Affolter aa8ec4724b update header 2015-08-06 18:23:26 +02:00
Fabian Affolter b946b3b2bc update header 2015-08-06 18:23:10 +02:00
Paulus Schoutsen 46fd23c452 Merge pull request #244 from balloob/cleanup
Core Cleanup
2015-08-06 05:23:23 -07:00
Guillem Barba 91961e629f Resolve pylint errors and warnings 2015-08-06 09:57:16 +02:00
Guillem Barba e6b4dba330 Remove usless comments 2015-08-06 09:57:16 +02:00
Guillem Barba d6c7bf5ac8 Remove usless DEMO constant. Add version information in RPi.GPIO requirement 2015-08-06 09:57:16 +02:00
Guillem Barba e97e73e66e Add rpi_gpio platform to switch 2015-08-06 09:57:16 +02:00
Paulus Schoutsen b2cfce7243 Merge branch 'dev' into cleanup
Conflicts:
	.coveragerc
2015-08-05 06:51:39 -07:00
Paulus Schoutsen 2eeb80f173 Merge branch 'pr/229' into dev
Conflicts:
	requirements.txt
2015-08-05 06:48:14 -07:00
Paulus Schoutsen 23f0195619 Merge pull request #241 from vitorespindola/master
Modbus coil support
2015-08-05 15:40:49 +02:00
Paulus Schoutsen 4096a67251 Built-in component cleanup 2015-08-03 17:42:28 +02:00
Rohit Kabadi c248d5455e Added REQUIREMENTS lilst to edimax.py 2015-08-02 18:01:31 -07:00
Vitor Espíndola f97b7c9e61 Merge branch 'master' of https://github.com/vitorespindola/home-assistant
Conflicts:
	homeassistant/components/sensor/modbus.py
	homeassistant/components/switch/modbus.py
2015-08-01 10:01:37 -03:00
Vitor Espíndola 1b3a45aba9 Modbus coil support 2015-08-01 09:54:32 -03:00
Rohit Kabadi ffde7e183e Fixed flake8 violations 2015-07-30 21:05:00 -07:00
Rohit Kabadi a99484ebc8 Merge remote-tracking branch 'upstream/dev' into edimax_smart_plug
Conflicts:
	requirements.txt
2015-07-30 00:31:26 -07:00
Rohit Kabadi 6a239bf18a Used validate_config to ensure 'host' parameter in edimax config. Added name option to edimax config 2015-07-30 00:10:16 -07:00
Vitor Espíndola f82b63483a Modbus coil support 2015-07-29 14:04:32 -03:00
Rohit Kabadi f6811e858a - Removed https://github.com/rkabadi/pyedimax as submodule
- Added https://github.com/rkabadi/pyedimax to requirements
- Modified edimax.py to import pyedimax from python3 default packages
2015-07-29 00:24:42 -07:00
Rohit Kabadi bb0ace3a61 - Reverted submodule updates 2015-07-25 23:59:48 -07:00
Rohit Kabadi 6a7e28cc85 - Added support for getting power on SP2101W devices (returns None on SP1101W) 2015-07-25 18:46:47 -07:00
Rohit Kabadi fac194f66c - Added for smartplug
- Added error check for host param in config.yaml
- Fixed SmartPlugSwitch is_on method
- Edimax smartplug works now!
2015-07-20 23:27:25 -07:00
Rohit Kabadi 6631ebfdfa - Added git submodule @ https://github.com/rkabadi/pyedimax
- Added edimax.py module to interface with Edimax SP-1101W and SP-2101W
2015-07-20 20:16:54 -07:00
Paulus Schoutsen 40b2acb472 Port wink from external to requirements.txt 2015-07-20 00:41:57 -07:00
Paulus Schoutsen 2f622053a6 Port PyWemo from external to requirements.txt 2015-07-20 00:08:00 -07:00
Paulus Schoutsen 3efb1e4ac9 Port netdisco from external to requirements.txt 2015-07-20 00:07:01 -07:00
Paulus Schoutsen b6fd282143 Merge remote-tracking branch 'origin/dev' into auto-dependency
Conflicts:
	homeassistant/components/media_player/cast.py
2015-07-10 21:48:01 -07:00
Gustav Ahlberg 370355b94b Added functionallity so that the tellstick switch can send it's signals repeatedly
Because the tellstick sends its actions via radio and from most receivers it's impossible to know if the signal was received or not.
2015-07-08 21:39:50 +02:00
Paulus Schoutsen 940b2998ea Add REQUIREMENTS list to components 2015-07-07 00:01:46 -07:00
Fabian Affolter 20fd4ecb9a add arduino switch platform 2015-06-25 13:11:22 +02:00
Paulus Schoutsen 3d4392ce63 Refactor basic switch structure 2015-06-13 14:56:20 -07:00
Paulus Schoutsen 23b851fab4 Merge branch 'pr/166' into dev
Conflicts:
	requirements.txt
2015-06-02 18:47:47 -07:00
Finbarr Brady b5ee05a13e docs 2015-06-02 17:33:05 +01:00
Finbarr Brady 3701a82de1 Fix typo 2015-06-02 17:17:36 +01:00
Finbarr Brady ebc0ffd879 https false 2015-06-02 17:14:12 +01:00
Wolfgang Ettlinger 5d1e0d5c44 fixed pylint warnings 2015-06-02 17:04:14 +02:00
Finbarr Brady bae530b30d Delete original file 2015-06-02 16:03:29 +01:00
Finbarr Brady 84e81a9e4e Renamed hikvision component. Added module from pip 2015-06-02 16:00:29 +01:00
Wolfgang Ettlinger b35bdc606a style adaptions 2015-06-02 15:54:43 +02:00
Wolfgang Ettlinger d91f414313 added generic module to switch swiches using shell commands 2015-06-02 15:40:02 +02:00
Finbarr Brady bc8aa82a13 Removing toggle function as it is confusing things more than it should 2015-05-31 12:00:30 +00:00
Finbarr Brady c1b62bf672 Only toggle if in the correct state. 2015-05-31 11:51:45 +00:00
Finbarr Brady ecd09f22ef Support for Hikvision camera motion detection. 2015-05-30 13:44:29 +00:00
Finbarr Brady 1c55878271 New Transmission turtle mode switch. Using existing TransmissionRpc requirement. 2015-05-30 13:34:23 +00:00
jamespcole dba9f8854f Removed conversion to local time from UTC for last_tripped_time for vera sensors and switches 2015-05-19 00:31:59 +10:00
jamespcole 1c47ade641 Updated with new switch category for UI7 firmware update and fixed excpetion when trippable sensor has never been tripped 2015-05-18 18:54:25 +10:00
Fabian Affolter fdb46d80ba Update documentation 2015-05-13 19:06:17 -07:00
Fabian Affolter 379171e302 update header 2015-05-10 23:44:27 +02:00
Paulus Schoutsen 41b02928ef Merge pull request #99 from fabaff/typos
Minor fix
2015-04-24 06:03:39 -07:00
Fabian Affolter 46819acaff Fix two typos 2015-04-24 08:26:41 +02:00
Ryan Kraus 2b6edd153b Fixed copy pasta error. 2015-04-22 21:27:49 -04:00
Ryan Kraus 2b4c75543a 1) Merged with mainline dev branch. 2) Removed assumption in homeassistant/__init__.py that states are visible if not specified. This assumption is intrinsic in the JavaScript. 3) Recompiled frontend to assist merge. 2015-04-22 21:04:52 -04:00
Ryan Kraus d566a328a3 pylint fix to isy switches. 2015-04-22 00:22:48 -04:00
Aurélien Correia 4d6555441d Passed Travis CI 2015-04-21 16:40:13 +02:00
Ryan Kraus 6b2dd69bcb Updated isy994 component to hide any device with the HIDDEN STRING in its ancestry. 2015-04-17 09:27:14 -04:00
Aurélien Correia fb6b514c34 Adding simplistic support for Modbus sensor and switch (based on pymodbus) 2015-04-15 16:47:42 +02:00
Ryan Kraus 83aea10f06 Added hidden_string and sensor_string properties to the isy994 configuration to allow nodes to be hidden and to be handled as sensors. Implimented the sensor_string. Any node name that contains the sensor_string in its name will be treated as a sensor instead of a switch or light. The hidden_string will be implimented later. 2015-04-13 12:56:37 -04:00
Ryan Kraus 510064d9c8 Added support for the creation of custom switches using the ISY994 device. 2015-04-12 22:30:14 -04:00
Ryan Kraus 4e3ccfffbb Added not dimming Insteon devices on an ISY controller as switches. 2015-04-12 17:18:14 -04:00
Paulus Schoutsen bbfd97e2b8 Migrate components to use EntityComponent 2015-03-21 19:37:18 -07:00
Paulus Schoutsen a9324ba9d4 Update components to use Entity instead of Device 2015-03-21 19:16:13 -07:00
Paulus Schoutsen 71803658f5 Updates to demo component and platforms 2015-03-16 22:20:35 -07:00
jamespcole 06c3087310 Fixed variable scoping 2015-03-09 15:16:02 +11:00
jamespcole 56622596e7 Changed exception logging, and updated excluded device logic 2015-03-09 09:11:59 +11:00
jamespcole 7ee37648d8 Updated exception type for errors when connecting to vera 2015-03-09 08:45:20 +11:00
jamespcole 95852db18d Changed the configuration to use hashes instead of searching array 2015-03-09 08:34:06 +11:00
jamespcole 7dc3198320 Added constants for armed, tripped and tripped time 2015-03-09 08:10:31 +11:00
jamespcole 38fbc3595a Added spcific exception type for failure to communicate with Vera controller 2015-03-09 07:46:26 +11:00
jamespcole 7772d5af62 moved setting name to constructor 2015-03-09 07:15:41 +11:00
jamespcole a2f438c6ef now using ATTR_BATTERY_LEVEL 2015-03-09 07:11:35 +11:00
jamespcole 1b29d61562 Made exception handling more specific 2015-03-09 07:03:56 +11:00
jamespcole 7a21e8a3fb Fixed flake8 comment warning 2015-03-09 02:08:46 +11:00
jamespcole 50ff26ea20 Fixed flake8 errors 2015-03-09 01:58:11 +11:00
jamespcole 42dc973ccc Fixed up linting errors 2015-03-09 01:14:44 +11:00
jamespcole dc8147c46d Changed vera components over to new config file format 2015-03-08 23:52:50 +11:00
jamespcole a30d1dcfef Merge branch 'dev' of https://github.com/balloob/home-assistant into dev
Getting the latest from balloob
2015-03-08 22:08:03 +11:00
jamespcole 250f35c2a5 Added documentation for proposed format of YAML config 2015-03-07 14:49:20 +11:00
jamespcole fceac45ddd Updated vera switch and sensor to the new architecture 2015-03-07 12:59:13 +11:00
jamespcole ba58c080e3 removed old config example to fix merge conflict 2015-03-07 12:36:08 +11:00
Paulus Schoutsen 3e15742875 Move device ABCs to separate helper file 2015-03-05 23:18:22 -08:00
Paulus Schoutsen 68668fc658 Light/Switch/Thermostat: use new extract_from_service helper 2015-03-05 23:17:05 -08:00
jamespcole 8dfc91a502 Added vera components and added __pycache__ to gitignore 2015-03-02 22:05:03 +11:00
jamespcole 3449b3d1d7 vera device types 2015-03-02 21:09:00 +11:00
Paulus Schoutsen 0fd89a4b1f Fix a WeMo discovery issue 2015-03-01 10:43:08 -08:00
Paulus Schoutsen 89100d14c8 Refactored device components 2015-03-01 01:35:58 -08:00
Paulus Schoutsen 8bd803601f Devices can now be polling or push 2015-02-28 22:33:44 -08:00
Paulus Schoutsen b38146bdef Auto set friendly name in state attributes 2015-02-28 20:10:39 -08:00
Paulus Schoutsen b2b82d955c Break demo component into small demo platforms 2015-02-28 07:31:39 -08:00
Danielhiversen 76d14157ec Fixed Flake8 error 2015-02-05 18:39:03 +01:00