Ville Skyttä
6ae9399237
Upgrade isort to 5.4.2 ( #37939 )
2020-08-29 08:23:55 +02:00
Ville Skyttä
1bf2c4d976
Upgrade pylint to 2.6.0 ( #39363 )
2020-08-29 07:59:24 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
springstan
46bbe816f6
Remove None from dict.get(key, None) ( #33794 )
2020-04-07 21:06:05 +02:00
springstan
fca90a8ddc
Improve string formatting v5 ( #33697 )
...
* Improve string formatting v5
* Address review comments
2020-04-05 17:48:55 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Franck Nijhof
b9b1cee403
Enable pylint import-outside-toplevel ( #33631 )
2020-04-04 17:07:36 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Paulus Schoutsen
eac1f029e5
Allow string values on zwave.set_node_value ( #31061 )
...
* Allow string values on zwave.set_node_value
This allows for:
* Accessing longer value_ids. In some cases, value ids in z-wave nodes are very large (17 digits in my case). Passing them as int does not seem to work well (python probably truncates the number), but passing them as string works fine
* Changing color values, which are represented as hex string
reformat test
* update services.yaml with string set_node_value
2020-03-04 17:40:58 -08:00
Franck Nijhof
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
Pascal Vizeli
9f62b58929
Revert #29701 ( #30766 )
...
* Revert #29701
* fix format
* Fix lint
2020-01-14 23:02:49 +01:00
Paulus Schoutsen
9aa02e35a7
Entity Component to no longer generate automatic groups ( #23789 )
2020-01-07 17:30:53 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Andre Richter
115aa2e49c
Z-Wave: Fibaro FGR*-222: Add venetian blind support ( #29701 )
...
The Fibaro FGR-222/FGRM-2222 ZWave roller shutter devices have a proprietary
command class to support setting the tilt angle of venetian blinds (= type of
window cover). This PR adds the support to HA for this. This allows the user to
set the height of the blinds and the tilt angle separately.
Original patch by @ChristianKuehnel #24405 .
2019-12-17 09:26:19 -05:00
Bas Nijholt
16a7408f23
Sort imports according to PEP8 for zwave ( #29658 )
2019-12-09 12:29:12 +01:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Charles Garwood
f3ea44cd92
Cleanup Device Registry on Z-Wave Node Removal ( #28240 )
...
* Remove device from device registry on node removal
* Make async_get_registry from entity registry more concise
* Lower log level to debug
2019-11-04 10:17:32 -05:00
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