Paulus Schoutsen
edf130b341
Z-Wave prevent I/O event loop ( #6369 )
...
* Prevent Z-Wave I/O in event loop
* Move value_handler to util class.
* Add docstring
2017-03-03 14:47:59 +02:00
Andrey
aa17481c94
Add Z-Wave battery level as a sensor. ( #6341 )
2017-03-03 09:19:06 +02:00
Andrey
597ae2e716
Zwave: Add remove/replace failed node services. ( #6248 )
...
* Zwave: Add remove/replace failed node services.
* Fix text
2017-03-02 12:36:40 +01:00
Andrey
354007f265
Zwave optimize value_added ( #6210 )
...
* Make zwave devices listen on less network changes.
* Convert more platforms
* Remove printouts.
* Fix copy-paste
* Change default dependent list to empty list
2017-03-01 22:41:19 -08:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Andrey
b27ba9660b
Some zwave cleanup ( #6203 )
2017-02-24 16:17:27 +02:00
Andrey
1d32bced1c
Create zwave devices on OZW thread and only add them during discovery ( #6096 )
...
* Create zwave devices on OZW thread and only add them during discovery.
* Read and write devices dict from loop thread.
* More async
* replace callback with coroutine
* import common function instead of callin git
2017-02-23 13:06:28 -08:00
John Arild Berentsen
73a4c09597
Set configurable refresh for zwave light to 5 seconds default. ( #5957 )
...
* Set configurable refresh value delay to 5 seconds
* Revert "Remove configurable refresh value delay, and fix it to 5 seconds"
This reverts commit edc2dc35d165e5e13b0f3cf4df40493a7ce764f1.
* Use default value of 5 sec for refresh, and still configurable
* Make default delay 5secs, but needs to be activated
2017-02-20 15:49:34 +01:00
Andrey
beb8b4b11f
Zwave: add power_consumption attribute ( #6067 )
...
* Zwave: Pull power consumption value into attribute.
* Zwave: Add power_consumption attribute.
* fix condition
* Update __init__.py
* Update
* Simplify class condition
* Handle empty class_id
2017-02-18 16:51:13 -08:00
John Arild Berentsen
799fbe42f8
zwave refactor, don't use ozw values directly in properties. ( #5961 )
...
* First round of not using values directly
* Round two
* lint
* Round four
* Conflict
* Round five
* Update zwave.py
* round six
* Docstring
* flakywakie
* Fetch values in constructor
* Blank line removal
* Set attributes in callback
* Docstring
* Round seven
* Ughgit add homeassistant/components/lock/zwave.py!
* Sloppy code
2017-02-17 23:56:05 -08:00
Andrey
91c3a49a5b
Zwave: Add forgotten service file ( #6073 )
...
* add print
* Add 'print_node' service to zwave.
* Add forgotten service file
2017-02-17 22:09:38 +02:00
Andrey
1f72506f9b
Add 'print_node' service to zwave ( #6069 )
...
* add print
* Add 'print_node' service to zwave.
2017-02-17 22:03:55 +02:00
Andrey
bb64560089
Zwave: Make different messages for ignores by woraround and device config. ( #6061 )
2017-02-17 16:19:21 +01:00
Andrey
905f4bf994
Support zwave glob & domain device settings. ( #6046 )
...
* Support zwave glob & domain device settings.
* data[DATA_DEVICE_CONFIG].get() now always return non-None
* Update test
* Update tests2
* Lint fix
2017-02-16 15:19:22 -08:00
Paulus Schoutsen
52567b1a48
Fix Z-Wave node config ( #5986 )
2017-02-13 22:16:39 -08:00
Paulus Schoutsen
36c196f9e8
Add initial Z-Wave config panel ( #5937 )
...
* Add Z-Wave config panel
* Add config to Z-Wave dependencies
* Lint
* lint
* Add tests
* Remove temp workaround
* Lint
* Fix tests
* Address comments
* Fix tests under Py34
2017-02-13 21:34:36 -08:00
Andrey
0feb1c3e28
Add workaround for ignoring zwave devices and reversing cover open/close ( #5922 )
2017-02-13 20:59:42 +02:00
Paulus Schoutsen
b2d1774293
Fix Z-Wave ( #5955 )
2017-02-13 08:54:11 -08:00
Paulus Schoutsen
8ca3ca8564
Z-Wave: Rename customize to device_config [Breaking change] ( #5933 )
...
* Z-Wave: Rename customize to device_config
* Fix light
* Make entity id not required
2017-02-12 23:55:27 -08:00
Andrey
f4372a7df5
Fix getters that ignored labels. ( #5903 )
...
* Fix getters that ignored labels.
* Try 5 times for changed dict
* fix lint
* Add decorator with retrying functions.
* Fix lint
* use retries instead of decorator
2017-02-12 15:42:09 -08:00
Andrey
0b5191a247
Add support for zwave wakeup setting. ( #5849 )
...
* Add support for zwave wakeup setting.
* rename wakeup
2017-02-10 08:54:48 -08:00
Andrey
5bd54f69cc
Fix zwave helper getter not to fail on some None results. ( #5845 )
2017-02-10 12:30:44 +02:00
John Arild Berentsen
298575f7cb
Adding helper for get and set values ( #5743 )
...
* cleanup
* Update __init__.py
* Update __init__.py
* Update __init__.py
2017-02-09 13:40:35 +01:00
Andrey
4b15946a9b
Make sure workaround_component is not none ( #5808 )
2017-02-08 21:11:36 +02:00
Andrey
1b54218d46
Create a file for zwave workarounds. ( #5798 )
...
* Create a file for zwave workarounds. Add sensor->binary_sensor for fgfs101 (#2 )
* Don't use default None
2017-02-07 20:37:11 -08:00
andrey-git
1fb372ffdb
Apply new customize format to Zwave ( #5603 )
2017-01-28 22:29:51 +02:00
Adam Mills
923431110a
[*.zwave] Refactor of zwave value_changed ( #5512 )
...
* Refactor of zwave value_changed
* Rename update_properties to update
* Revert "Rename update_properties to update"
This reverts commit 723578e7d4
.
2017-01-26 22:21:33 -08:00
John Arild Berentsen
5c006cd2d2
Prevent Homeassistant to create a segfault with OZW ( #5085 )
2017-01-02 18:53:46 +01:00
andrey-git
a7cc7ce476
Clean up DEFAULT_DEBUG constant in zwave ( #5138 )
...
Nice 👍
2017-01-02 18:45:44 +01:00
John Arild Berentsen
23f16bb68f
Catch RuntimeError ( #5134 )
2017-01-02 18:45:10 +01:00
andrey-git
7fbf68df35
Add print_config_parameter service to Z-Wave ( #5121 )
...
* Add print_config_param service to z-wave
* Add print_config_parameter service to z-wave
* Add print_config_parameter service to z-wave
* Fix typos
* Fix typos
* Fix typo
2017-01-01 21:10:45 +01:00
Jack Chapple
1f573b46a4
Fixes #4500 ( #4502 )
2016-11-21 19:35:36 -08:00
John Arild Berentsen
123f4acfc1
ZWave lights: Not use super() ( #4476 )
...
* Not use super
* Review changes
2016-11-20 11:49:54 -08:00
John Arild Berentsen
58f0655298
ZWave Light: Use Configurable refresh ( #4437 )
...
* Use Configurable refresh
* Use super instead of object
2016-11-18 21:59:01 +01:00
Adam Mills
e6ece4bf6d
Fix initialization of zwave color bulbs ( #4085 )
...
* Fix initialization of zwave color bulbs
Zwave values can be added to the node in any order. This change allows
proper initialization when the multilevel value is added before the
color value.
* Fix incorrect rename of color command class
2016-10-29 17:14:28 -07:00
John Arild Berentsen
02afc98668
Prevent zwave from firing event at shutdown ( #3987 )
2016-10-22 14:08:24 +02:00
John Arild Berentsen
8b2edc1514
ZWave: Add association service ( #3894 )
...
* Add association service
* Refactor service
* Requested changes
* Grammar in pydocstyle
2016-10-16 20:36:06 +02:00
Lukas
ad259ead50
Add ignore option to zwave customize configuration ( #3865 )
2016-10-14 08:36:55 -07:00
Igor Shults
6951b6f60b
Allow any positive integer for Z-Wave polling intensity ( #3859 )
2016-10-14 00:09:52 -07:00
John Arild Berentsen
8f4608c654
Use only node id to identify node in set_config_parameter ( #3801 )
2016-10-13 23:45:00 -07:00
Lukas
1373db8b60
Include index and instance in object_id of zwave devices ( #3759 )
...
* Include index and instance in object_id of zwave devices
* Add the instance id if there is more than one instance for the value
2016-10-13 21:13:05 -07:00
John
1bc6366051
Increase allowable polling intensity values ( #3711 )
2016-10-05 16:58:06 +02:00
Fabian Affolter
0c68f381b0
Migrate to voluptuous ( #3679 )
2016-10-05 14:40:08 +02:00
John Arild Berentsen
17a8dd3f70
Add set_config_parameter service ( #3696 )
2016-10-04 22:04:19 -07:00
John Arild Berentsen
521080d1b0
Zwave: Update commandclasses and deviceclasses according to sigma SDK ( #3495 )
...
* Update Command classes and device types to Sigma SDK
* Fix some pylint
* Seperate constants to file
* Flake8
* coverage and flake8 pylint
* Add services.yaml
* Service descriptions was missing
* Spelling :)
* grammar
* Remove zwave service descriptions from main
2016-09-30 08:43:18 -07:00