Commit graph

1432 commits

Author SHA1 Message Date
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