Franck Nijhof
b1118cb8ff
Removes unnecessary else/elif blocks ( #26884 )
2019-09-24 13:53:03 -07:00
Franck Nijhof
dae6895a95
Use literal string interpolation in integrations X-Z (f-strings) ( #26395 )
2019-09-03 21:15:31 +02:00
Keith Pine
1bfe752dfa
Remove zwave.update_config service call ( #25959 )
...
The python-openzwave API which provides the implementation of the config update
does not actually work in the homeassistant fork. To avoid confusion, remove
the service call for now.
2019-08-15 14:22:13 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Charles Garwood
0a6d49b293
Improve handling of Z-Wave config entry vs yaml config ( #25112 )
...
* Improved handling of config entry vs yaml config
* Address review comment
2019-07-26 20:27:17 -07:00
Charles Garwood
312fceeaf6
Add websocket API command for Z-Wave network status ( #25066 )
...
* Add websocket API command for Z-Wave network status
* lint
* Add callback decorator
* Remove state_str, fix lint
2019-07-10 19:50:42 -07:00
Penny Wood
adbec5bffc
Changes as per code review of #24646 ( #24917 )
2019-07-07 07:36:57 +02:00
Penny Wood
23dd644f4a
Update IDs for rename node/value ( #24646 )
...
* Update IDs for rename node/value
* Rename devices and entities
* Improved coverage
2019-07-01 15:54:19 -07:00
Tommaso Marchionni
cb5426c1fa
Added invert_percent configuration for zwave rollershutter ( #23101 )
...
* Added invert_percent configuration for zwave rollershutter
* Added invert_percent configuration for zwave rollershutter
* Fix typo in zwave default configuration
2019-06-17 14:44:47 -07:00
Penny Wood
84e6813779
Rename via_hub to via_device ( #24360 )
...
* Rename via_hub to via_device
* Fixed registry interactions
2019-06-10 09:10:44 -07:00
Penny Wood
b1dcfaf6b3
Split devices of nodes with multiple instances ( #24032 )
...
* Split devices of nodes with multiple instances
* Note entities to register with device registry
* Use EntityPlatform
2019-06-03 09:40:40 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Charles Garwood
1282370ccb
Entity Cleanup on Z-Wave node removal ( #23633 )
...
* Initial groundwork for entity cleanup on node removal
* Connect node_removed to dispatcher
* update docstring
* Add node_removal test
* Address review comments
* Use hass.add_job instead of run_coroutine_threadsafe
2019-05-19 11:14:11 +02:00
Andrew Loe
dbcdc32f05
Ensure Boolean configuration values are handled correctly. ( #22810 )
2019-04-15 14:24:20 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Charles Garwood
c8375be4b1
Replace get_platform ( #23014 )
...
* Update Z-Wave to use async_get_integration
* Change load method per PR comments
* update tests
2019-04-12 12:22:56 -04:00
cgtobi
8cc5cc7f43
Add zwave network key validator ( #22785 )
...
* Add zwave network key validator
* Move validator to zwave component
* Move validator to zwave component
* Move stuff
* Move stuff
* Remove helper and replace with voluptuous method
* Add test
* Fix long line
* Improve tests
* Add more negative tests
* Remove unnecessary assertion
* Make the linter happy
* Remove print
2019-04-08 06:18:52 -07:00
Pascal Vizeli
8b3cf2d493
Update homeassistant-pyozw 0.1.4 ( #22794 )
2019-04-06 12:09:15 +02:00
Pascal Vizeli
80250add9e
Update homeassistant-pyozw to 0.1.3 ( #22433 )
2019-03-26 17:42:43 -04:00
Charles Garwood
62f12d242a
Z-Wave usb_path in configuration.yaml overrides config entry usb_path ( #22038 )
...
* usb_path in configuration.yaml overrides config entry
* Minor text update
* Update __init__.py
2019-03-14 12:29:21 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Thomas Hervé
cee51ecb2b
Remove spurious libzwave error ( #19928 )
...
If a network_key is not configuired, the following error is logged:
TypeError: expected bytes, NoneType found
Exception ignored in: 'libopenzwave.str_to_cppstr'
TypeError: expected bytes, NoneType found
We don't need to set the key if it's None, let's skip in that case.
2019-01-10 17:45:50 -08:00
Pascal Vizeli
b4c657a39c
Update OZW to 0.1.2 ( #19878 )
...
* Update ozw 0.1.2
* Update requirements_all.txt
2019-01-08 20:14:27 -08:00
Anton Johansson
dd8544fdf8
Fix typo in log ( #18751 )
2018-11-27 13:09:25 -05:00
Charles Garwood
e87ecbd500
Z-Wave Lock Config Entry Support ( #18209 )
...
* Config Entry setup for zwave lock
* fix merge conflict
* lint
* Update other tests
* Fix tests
* Remove debug line and unused import
2018-11-20 14:59:34 +01:00
Pascal Vizeli
532a75b487
Update pyozw to 0.1.1 ( #18436 )
...
* Update pyozw to 0.1.1
* Update requirements_all.txt
2018-11-13 23:43:01 +01:00
Pascal Vizeli
c89dade619
Migrate python-openzwave to homeassistant-pyozw ( #18268 )
...
* Migrate python-openzwave to homeassistant-pyozw
* Update requirements_all.txt
* Fix requirements
2018-11-06 22:08:04 +01:00
rafale77
4a7507bcea
Update python-openzwave to 0.4.11 ( #18160 )
...
* Update Python OpenZWave to 0.4.11
* Update requirements_all.txt
2018-11-04 14:21:53 -05:00
Charles Garwood
bcea3a9cba
Don't try to re-add existing Z-Wave entities ( #17995 )
...
* Keep track of created entities
* lint
* Update tests
2018-11-01 19:38:23 +01:00
Ville Skyttä
43048962f2
Upgrade flake8 to 3.6.0 ( #17770 )
...
* Upgrade flake8 to 3.6.0
* flake8/pylint comment tweaks
* flake8 F841 fixes
* flake8 W605 fix
* Ignore pyflakes bug #373 false positives
https://github.com/PyCQA/pyflakes/issues/373
* pycodestyle bug #811 workaround
https://github.com/PyCQA/pycodestyle/issues/811
2018-10-25 23:15:20 +03:00
Jan van Helvoort
b6e8cafdea
typo ( #17787 )
2018-10-25 09:58:09 -04:00
Charles Garwood
4222f7562b
Add cover to supported platforms ( #17725 )
2018-10-24 11:53:45 +02:00
Charles Garwood
9c52a3ce22
Z-Wave Device Registry Support ( #17291 )
...
* Add device_registry support for sensor and switch domains
* Add device_registry support for light
* Add device registry to binary_sensor, climate, cover
* Add device registry to zwave fan
* Fix test for config entry loading
* lint
* revert erroneous modification
* Revert device_registry.py change
2018-10-16 14:58:25 +02:00
George Marshall
ef2c8b2e5b
Update python_openzwave==0.4.10 ( #17323 )
2018-10-11 10:59:16 +03:00
Charles Garwood
cf249e3e5e
Z-Wave Config Entry Support ( #17119 )
...
* Initial Z-Wave Config Entry Support
* Use conf.get() for config import
* Uncomment test
* Re-add line breaks
* tabs -> space
* Unused import cleanup & lint fixes
* Remove unused config flow link step
* Address comments
* Remove unused import
* Fix tests
* Check for valid usb_path
* Test for Z-Stick in config flow
* Pass config dir to ZWaveOption
* Auto-generate Network Key if none provided
* Test fixes
* Address comments & more start network service registration
* add_executor_job for options.lock()
2018-10-09 16:30:55 +02:00
Jan van Helvoort
7d1960baba
Add zwave.network_complete_some_dead event ( #16894 )
...
* Add zwave.network_complete_some_dead event
* add missing comma
* typo
* Add SIGNAL_AWAKE_NODES_QUERIED_SOME_DEAD Test
* Add blank lines
* fix linter warnings
Line too long
* remove trailing whitespace
* Change test signal
* Listen to other event
2018-09-28 19:14:57 +02:00
Blake Blackshear
2cc6263092
Add new services for set/refresh Z-Wave device values ( #16638 )
...
* Add services for getting and setting indicator values for Z-Wave
* Add service to manually refresh Z-Wave node value by value_id
* Remove refresh_indicator service
* Coerce to int
* Add generic set_node_value service
* Remove set_indicator service
2018-09-27 12:34:42 +02:00
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
John Arild Berentsen
5f214ffa98
Update pyozw to 0.4.9 ( #15758 )
...
* update pyozw to 0.4.8
* add requirements_all.txt
* use 0.4.9
2018-07-31 15:14:14 +01:00
Ville Skyttä
b92350fb55
Lint cleanup ( #15103 )
...
* Remove unneeded inline pylint disables
* Remove unneeded noqa's
* Use symbol names instead of message ids in inline pylint disables
2018-06-25 13:05:07 -04:00
Andrey
d1228d5cf4
Look at registry before pulling zwave config values ( #14408 )
...
* Look at registry before deciding on ID for zwave values
* Reuse the new function
2018-05-12 17:45:36 -04:00
Andrey
10505d542a
Make sure zwave nodes/entities enter the registry is proper state. ( #14251 )
...
* When zwave node's info is parsed remove it and re-add back.
* Delay value entity if not ready
* If node is ready consider it parsed even if manufacturer/product are missing.
* Add annotations
2018-05-08 15:30:28 -04:00
Andrey
f72d568374
Add unique_id to zwave node entity ( #14201 )
...
* Add unique_id to zwave node entity
* Wait 30s before adding zwave node if its unique_id is not ready
* Use only node_id in unique_id. Update name, manufacturer, and product attributes on node update.
2018-05-02 16:10:26 -04:00
Per Osbäck
351e8921fa
python_openzwave update config service ( #12060 )
...
* update python-openzwave to 4.1.0
* add service which updates the configuration files from github
* 0.4.3
2018-05-02 15:06:09 -04:00
Paulus Schoutsen
83d300fd11
Custom component loading cleanup ( #14211 )
...
* Clean up custom component loading
* Fix some tests
* Fix some stuff
* Make imports work again
* Fix tests
* Remove debug print
* Lint
2018-05-01 20:57:30 +02:00
John Arild Berentsen
fe56844a3a
Bugfix: Zwave Print_node to logfile instead of console ( #13302 )
...
* Print to logfile instead of console
* Review changes
* Typo
2018-04-05 11:14:15 +02:00
John Arild Berentsen
5c4529d044
Bugfix: Zwave set_config_parameter failed when config list contained int ( #13301 )
...
* Cast list and bool options to STR
* Add button options to STR
* Add TYPE_BUTTON to value types
* Adjust comparison
* Remove Logging
* Remove Empty line
* Update tests
* Update tests
* Mistake
2018-03-20 14:04:24 +01:00
Paulus Schoutsen
5a9013cda5
Refactor Hue: phue -> aiohue ( #13043 )
...
* phue -> aiohue
* Clean up
* Fix config
* Address comments
* Typo
* Fix rebase error
* Mark light as unavailable when bridge is disconnected
* Tests
* Make Throttle work with double delay and async
* Rework update logic
* Don't resolve host to IP
* Clarify comment
* No longer do unnecessary updates
* Add more doc
* Another comment update
* Wrap up tests
* Lint
* Fix tests
* PyLint does not like mix 'n match async and coroutine
* Lint
* Update aiohue to 1.2
* Lint
* Fix await MagicMock
2018-03-16 20:27:05 -07:00
Adam Mills
dc8424032b
Remove Z-Wave old/new entity_id attributes ( #12652 )
2018-03-11 10:30:03 -04:00
Anders Melchiorsen
e2e10b91a7
Grammar fix 'an unique' ( #12870 )
2018-03-03 19:23:55 +01:00