Commit graph

1432 commits

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