Fabian Affolter
4d52b0ecd5
Update docstrings ( #7405 )
...
* Update docstrings
* Fix lint issues
* Update docstrings
2017-05-02 22:47:20 +02:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Fabian Affolter
15b2473224
Iterating the dictionary directly ( #7251 )
2017-04-23 20:16:52 -07:00
John Arild Berentsen
d63028e44a
Add communication data attributes to Zwave node_entity ( #6813 )
...
* Add quality attribute to node
* Move quality to node_entity
* adjustments
* Line lenght
* flake8
* Cleanup and add each entry from getNodeStatistics as attribute
* resolve conflict
* Move NETWORK to hass.data
* Test Done
* Cleanup from review
* Resolve conflicts
* Review changes
* Long lines....
* blank line
* import-error-disable
* Update tests Part1... Again
* Hound
* Argh!
* Argh!
* YABBADABBADOOOOOOO!
* Enhance tests
* hound
* Resolve
* resolve tests...
2017-04-12 19:09:29 +02:00
Anubhaw Arya
c935bfce2a
Integration with lockitron ( #6805 )
...
* Integration with lockitron
* Let super class deal with polling and updating
2017-03-29 17:25:23 +02:00
John Arild Berentsen
ee6c9ab6a9
Typing error and update test ( #6757 )
2017-03-23 23:53:59 -07:00
Adam Mills
e7425e9808
ZWave Lock Tests ( #6730 )
...
* ZWave Lock Tests
* Linting fixes
* Missed coveragerc
2017-03-21 08:55:21 -07:00
Paulus Schoutsen
e265401cd0
self.loop.create_task -> self.add_job ( #6632 )
...
* self.loop.create_task -> self.add_job
* Core to use create task
2017-03-16 06:58:54 +01:00
Paulus Schoutsen
1a7ffdca52
Add "Refactor zwave discovery to entity schema" ( #6565 )
...
* Revert "Revert "Refactor zwave discovery to entity schema (#6445 )" (#6564 )"
This reverts commit 58826b264a
.
* Update zwave tests for enitity schema
* Fix merge error
* Switch dict_id to id(self)
2017-03-14 19:55:33 -04:00
Paulus Schoutsen
58826b264a
Revert "Refactor zwave discovery to entity schema ( #6445 )" ( #6564 )
...
This reverts commit 56abc7f9b4
.
2017-03-12 23:35:10 -07:00
Adam Mills
56abc7f9b4
Refactor zwave discovery to entity schema ( #6445 )
...
* Refactor zwave discovery to entity schema
* Address PR concerns
* Split DISCOVERY_SCHEMAS into separate file
* Only check cover reverse workaround once
2017-03-12 23:13:34 -07:00
Greg Dowling
10f5e9744b
Append vera device id to entity id - but not name. ( #6523 )
...
* Append vera device id to entity id - but not name.
* Tidy.
* Tidy.
* Tidy after review.
* Re-order.
2017-03-11 10:06:46 -08: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
Erik
1c6ba989a9
Support for naming vehicle. Support for selecting what resources to display
2017-02-23 12:00:51 +01:00
Pascal Vizeli
b0d3bbed79
Convert mqtt platforms to async ( #6145 )
...
* Convert mqtt platforms to async
* fix lint
* add more platforms
* convert mqtt_eventstream
* fix lint / add mqtt_room
* fix lint
* fix test part 1
* fix test part 2
* fix out of memory bug
* address comments
2017-02-22 09:43:22 +01:00
Erik Eriksson
9e73115337
Updated volvooncall library + support sensors, heater and lock ( #6052 )
2017-02-18 17:09:25 -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
Philipp Schmitt
6d7041cd42
Reduce battery drain on Nuki Lock ( #5945 )
2017-02-13 14:43:12 +01:00
Philipp Schmitt
533d28ce40
[lock.nuki] Fix Nuki lock for Python 3.4 and 3.5 ( #5899 )
2017-02-12 10:22:55 +00: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
John Arild Berentsen
fdcf5fe233
Bugfixes ( #5740 )
...
* wrong data for lock alarm_type
* missing whitespace
* Not possible to set codes starting with 0
2017-02-08 19:59:47 -08:00
William Scanlon
628b169393
Fixed call to object_id() ( #5814 )
2017-02-08 19:57:58 -08:00
Pascal Vizeli
2b124a008c
Migrate lock component to async ( #5748 )
2017-02-06 21:25:34 +01:00
Philipp Schmitt
ff65c2a114
Support for Nuki.io smart locks ( #5715 )
...
* Support for Nuki.io smart locks
* Update requirements and add lock.nuki to .coveragerc
* lint: Re-organize imports
* Schedule a state update instead of calling directly update_ha_state
* Remove update requests altogether
* Make sure there is no IO inside properties
* Fix: nuki lock are all initialized as "lock.unnamed_device"
* Update pynuki to 1.2 to avoid an extra REST API call for each lock init
2017-02-02 15:15:27 +01:00
William Scanlon
80a794e587
Wink AC and addidtional sensor support ( #5670 )
...
* Added door bell sensors
* Initial support for AC units.
* Added new device service
* Quirky Aros AC unit support
* Use super() everywhere and error checking for token request.
* Ignore camera sensors during setup of alarms.
* Added manufacturer/device attributes to all wink devices.
* Fixed style errors
* Fixed remaining lint errors.
2017-02-01 22:43:12 -08:00
John Arild Berentsen
68d6bcd3ed
[lock.zwave] Bugfix Zwave lock ( #5619 )
...
* Bugfix state
* remove debug
2017-02-01 20:57:57 -08: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
d0538fe3aa
[lock.zwave] Add set, get and clear usercodes for zwave locks ( #5489 )
...
* Add set, get and clear usercodes for zwave locks
* Fix CRLF
2017-01-26 21:45:04 -08:00
John Arild Berentsen
41ee798b0f
[WIP][ZWave][Lock] Further improvements to zwave lock platform ( #5400 )
...
* Further improvements to zwave lock platform
* Add missing notification
* Some improvements
2017-01-20 13:01:36 -08:00
Pascal Vizeli
1719d88602
Bugfix default values to timedelta ( #5193 )
...
* Bugfix default values to timedelta
* fix unittests
2017-01-06 00:16:12 +01:00
John Arild Berentsen
9c6a985c56
[zwave]Use schedule_ha_state and add debug message ( #5143 )
...
* Use schedule_ha_state and add debug message
* Logger not defined
2017-01-02 18:55:56 +01:00
John Arild Berentsen
fee47f35b9
Improvements to zwave lock platform ( #5066 )
2016-12-27 22:08:35 +01:00
Paulus Schoutsen
98fe50d5ad
Update after service calls ( #4795 )
...
* Update after service calls
* Service update: wrap async_update in create_task
2016-12-06 22:30:47 -08:00
William Scanlon
4c03d670c1
Wink PubNub v4 ( #4561 )
...
* PubNub v4
* Updated to pubnubsub-handler 0.0.5
* Updated requirements_all.txt
2016-11-30 13:12:26 -08:00
Paulus Schoutsen
ee5f228309
Make services yield ( #4187 )
...
* Make services yield
* Disable pylint abstract-method check
* add input_select
* add input_slider
* change to async vers.
* fix lint
* yield on add_entities as other components does
2016-11-03 18:32:14 -07:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01: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
Paulus Schoutsen
00e298206e
Optimize template 2 ( #3521 )
...
* Enforce compiling templates
* Refactor templates
* Add template validator to Logbook service
* Some more fixes
* Lint
* Allow easy skipping of rfxtrx tests
* Fix template bug in AND & OR conditions
* add entities extractor
Conflicts:
tests/helpers/test_template.py
* fix unittest
* Convert template to be async
* Fix Farcy
* Lint fix
* Limit template updates to related entities
* Make template automation async
2016-09-27 21:29:55 -07:00
William Scanlon
43c395232a
Sensor updates ( #3410 )
2016-09-20 00:05:54 -07:00
Teagan Glenn
05a3b610ff
Add ISY programs and support for all device types ( #3082 )
...
* ISY Lock, Binary Sensor, Cover devices, Sensors and Fan support
* Support for ISY Programs
2016-09-11 20:18:53 +02:00
William Scanlon
58c0990508
Convert rgb to hsb for Wink Osram light
2016-09-11 10:45:04 -04:00
Fabian Affolter
ee6c83f569
Use constants and update ordering ( #3267 )
...
🐬
2016-09-08 18:34:55 -06:00
Fabian Affolter
7aafa309c9
Use voluptuous for Verisure ( #3169 )
...
* Migrate to voluptuous
* Update type and add missing config variable
2016-09-06 18:18:34 -07:00
William Scanlon
f00cdc50df
Updated python-wink version to fix color/temp detection ( #2935 )
2016-08-22 21:31:17 -07:00
Fabian Affolter
e5969f0733
Clean-up ( #2933 )
2016-08-22 14:20:04 +02:00
Per Sandström
180a7ec295
add changed_by attribute to lock ( #2766 )
2016-08-09 19:37:46 -07:00
Tobie Booth
8b57fd008f
Reverts changes to ZWave lock status update ( #2595 ) ( #2696 )
2016-08-01 08:08:24 -07:00