Pawel
c3e3f662f4
Always save current position if payload is numeric value ( #16148 )
...
* Change of behaviour. Allow user to configure either a position topic or a state topic but not
both.
* optimistic mode in set_cover and tests added
* optimistic mode in set_cover_position using percentage_position
* fixes accroding to Martin review.
* added validation schema for set_position_topic and get_position_topic
* check only set_position_topic in supported_features.
* Multidoc string fix.
2018-11-01 20:09:43 +01:00
Robert Svensson
a9140dc8f5
deCONZ - retry if setup fails ( #17772 )
...
* Make component retry if setup fails
* Improve overall test coverage
2018-10-31 22:38:04 +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
guillaume1410
c03b137130
Removing ryobi gdo ( #17637 )
2018-10-21 08:08:35 +02:00
Robert Svensson
26b7c2de7e
deCONZ - Add support for Xiaomi window covers ( #17337 )
...
Add support for Xiaomi window covers
2018-10-20 15:13:23 +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
emontnemery
2ceb4d2d1e
Refactor RFLink component ( #17402 )
...
* Start refactor of RFLink component
* alias _id not added correctly
Aliases for sensor not added correctly
And some debug traces.
* Update rflink.py
* Cleanup, fix review comments
* Call event handlers directly when processing initial event
* Use hass.async_create_task when adding discovered device
* Review comments
* Review comments
2018-10-15 15:35:33 +02:00
Paulus Schoutsen
ac79ff9e24
Add context to scripts run by template entities ( #17329 )
2018-10-15 11:38:49 +02:00
Julius Mittenzwei
a71cc67efb
Fix NoEntitySpecifiedError during knx startup ( #17366 )
...
* Potential fix for #13699
* removed uneccessary initialization of hass
* removed hass from signature
2018-10-15 03:29:36 +02:00
Ville Skyttä
707b7c202d
Narrow scope of various pylint inline disables ( #15364 )
...
* Narrow scope of various pylint inline disables
* Whitespace tweaks
2018-10-10 12:17:11 +02:00
Otto Winter
dd55ff87c8
Add device registry to MQTT cover ( #17245 )
...
* Add device registry to MQTT cover
* Fix tests
2018-10-08 16:13:44 +02:00
Matt Schmitt
27f0331f0f
MyQ cover return unknown state if not available ( #17207 )
...
* Add additional supported states
* Use get method for lookup
* Return None if unable to get status
2018-10-08 14:19:23 +02:00
Otto Winter
3ddad83a84
Add unique_id to MQTT cover ( #16950 )
...
* Add unique_id to MQTT cover
* Fix tests
2018-09-29 20:54:57 +02:00
Otto Winter
af89e7c50f
Move more MQTT platforms to config entries ( #16918 )
...
* Move more MQTT platforms to config entries
* Address comments
2018-09-28 16:57:17 +02:00
cdce8p
7eaf8640d0
Update cover tests ( #16832 )
...
* Update test_group
* Update test_command_line
* Update test_demo
* Update test_mqtt
* Update test_template
* Remove cover service call helpers
2018-09-25 22:32:05 +02:00
emontnemery
4501bdb4a0
Remove discovered MQTT cover device when discovery topic is cleared ( #16857 )
2018-09-25 19:32:42 +02:00
Greg Laabs
dc1534c6d1
Fix some unhandled exceptions due to missing null checks ( #16812 )
...
Fixed a couple cases that would produce errors when the ISY node status was None or `-inf`.
2018-09-24 11:43:00 +02:00
huangyupeng
539b86e079
Add Tuya cover state ( #16709 )
...
* add cover open and close state
* add tuya cover state
* fix pylint
* fix pylint problem
2018-09-23 10:36:33 +02:00
Robert Svensson
7fe0d8b2f4
deCONZ cover support ( #16759 )
...
deCONZ cover platform for Keen vents
2018-09-21 19:59:20 +02:00
geekofweek
60dfd68083
MyQ Open State Fix ( #16681 )
...
* MyQ Open State Fix
Fixes issues with MyQ reporting an open state
* Update myq.py
* MyQ STATE_OPEN Fix
remove un-needed code
2018-09-19 22:03:47 +02:00
Ville Skyttä
227a1b919b
More isort preparations ( #16633 )
...
* Adjust config closer to currently established style conventions
* Adjust some imports for better outcome with their comments
2018-09-19 15:40:36 +02:00
Toon Willems
3bd12fcef6
Implement correct state for RFlink cover ( #16304 )
...
* implement correct state for rflink cover
* Fix linting error
* invert logic as local testing pointed out it should be reversed
* add period at the end to satisfy the linter
2018-09-04 11:15:02 +02:00
Tom Harris
d3791fa45d
Add Cover to the Insteon component ( #16215 )
...
* Create cover platform
* Create insteon cover platform
* Bump insteonplm to 0.13.0
* Change async_add_devices to async_add_entities
* Missing doc string
* Simplify open and set_position
* Flake8
* Bump insteonplm to 0.13.1
* Code review changes
* Flake8 updates
2018-08-31 23:56:26 +02:00
Matt Schmitt
fa81385b5c
Add unique ID ( #16323 )
2018-08-31 16:47:37 +02:00
Matt Schmitt
aaa1ebeed5
Add support for discrete states to MyQ cover ( #16251 )
...
* Add discrete states and update dependency
* Add translation dict
2018-08-29 14:33:09 +02:00
Robert Svensson
5341785aae
Revert changes to platforms using self.device ( #16209 )
...
* Revert tank_utility
* Fix Soundtouch
* Fix Plex
* Fix Emby
* Fix Radiotherm
* Fix Juicenet
* Fix Qwikswitch
* Fix Xiaomi miio
* Fix Nest
* Fix Tellduslive
* Fix KNX
2018-08-26 21:25:39 +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
Eduard van Valkenburg
4ad76d8916
Upgrade brunt package ( #16130 )
...
* Bumped package version to fix a bug with Python before 3.6
* update of package version in requirements_all
2018-08-22 20:12:54 +02:00
Robert Svensson
0009be595c
Device Registry ( #15980 )
...
* First draft
* Generate device id
* No obscure registry
* Dont store config_entry_id in device
* Storage
* Small mistake on rebase
* Do storage more like entity registry
* Improve device identification
* Add tests
* Remove deconz device support from PR
* Fix hound comments, voff!
* Fix comments and clean up
* Fix proper indentation
* Fix pydoc issues
* Fix mochad component to not use self.device
* Fix mochad light platform to not use self.device
* Fix TankUtilitySensor to not use self.device
* Fix Soundtouch to not use self.device
* Fix Plex to not use self.device
* Fix Emby to not use self.device
* Fix Heatmiser to not use self.device
* Fix Wemo lights to not use self.device
* Fix Lifx to not use self.device
* Fix Radiotherm to not use self.device
* Fix Juicenet to not use self.device
* Fix Qwikswitch to not use self.device
* Fix Xiaomi miio to not use self.device
* Fix Nest to not use self.device
* Fix Tellduslive to not use self.device
* Fix Knx to not use self.device
* Clean up a small mistake in soundtouch
* Fix comment from Ballob
* Fix bad indentation
* Fix indentatin
* Lint
* Remove unused variable
* Lint
2018-08-22 10:46:37 +02:00
Fabian Affolter
0e1fb74e1b
Minor updates ( #16106 )
2018-08-21 21:25:16 +02:00
Paulus Schoutsen
b682e48e12
Entity service ( #15991 )
...
* Add entity service helper
* Use entity service helper
* Context
2018-08-16 09:50:11 +02:00
Josh Shoemaker
e52ba87af1
Upgrade aladdin_connect to 0.3 and provide Unique ID ( #15986 )
...
* Upgrade aladdin_connect to 0.2 and set unique_id
* update code to be Python 3.5 compatible
2018-08-16 07:18:29 +02:00
fucm
5e1836f3a2
Add support for 2 Tahoma IO awning covers ( #15660 )
...
* Add Tahoma io:VerticalExteriorAwningIOComponent and io:HorizontalAwningIOComponent
* Fix position of horizontal awning cover
* Add timestamps for lock time
* Adjust open-close actions for horizontal awning cover
* Fix stop action for io:RollerShutterGenericIOComponent
* Remove redundant information
* Use get for dict lookup
2018-08-05 10:44:57 +02:00
Josh Shoemaker
8dbe78a21a
Add Genie Aladdin Connect cover component ( #15699 )
...
* Add Genie Aladdin Connect cover component
* Fix lines being too long
* Fix issues found in review
* remove Unknown state, use None instead
* Fixed requirements_all
2018-07-30 07:19:34 +02:00
Eduard van Valkenburg
95dc06cca6
Add Brunt Cover Device ( #15653 )
...
* New Brunt Branch
* Some small changes and updates based on review.
2018-07-25 12:17:12 +02:00
huangyupeng
c1f5ead61d
Add Tuya cover and scene platform ( #15587 )
...
* Add Tuya cover platform
* Add Tuya cover and scene
* fix description
* remove scene default method
2018-07-24 10:29:43 +02:00
Ville Skyttä
b7c336a687
Pylint cleanups ( #15626 )
...
* Pylint 2 no-else-return fixes
* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00
Ville Skyttä
2f7b79764a
More pylint 2 fixes ( #15565 )
...
## Description:
More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).
## Checklist:
- [ ] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Ville Skyttä
bf17ed0917
More pylint 2 fixes ( #15516 )
...
* Pylint 2 useless-import-alias fixes
* Pylint 2 chained-comparison fixes
* Pylint 2 consider-using-get fixes
* Pylint 2 len-as-condition fixes
2018-07-18 11:54:27 +02:00
Ville Skyttä
37ccf87516
Remove unnecessary executable permissions ( #15469 )
2018-07-14 23:03:36 +02:00
pepeEL
cd1cfd7e8e
New device to support option MY in somfy ( #15272 )
...
New device to support option MY in somfy
2018-07-03 08:39:42 +02:00
cdce8p
3da4642194
Use async syntax for cover platforms ( #15230 )
2018-06-30 18:10:59 +02: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
Martin Hjelmare
3893d8a876
Reorganize mysensors ( #15123 )
...
* Move mysensors.py to package
* Move mysensors component to package
* Split code into multiple modules.
* Update coveragerc
2018-06-25 13:58:16 +02:00
William Scanlon
6bc03ee763
Python wink update ( #15048 )
...
* Updated python-wink to 1.9.0
* Added support for groups of Wink shades.
2018-06-20 09:41:28 -04:00
Ville Skyttä
4bd7a7eee3
Remove inline pylint disables for messages disabled in pylintrc ( #14978 )
2018-06-16 00:15:46 +02:00
ArrayLabs
fecce206a9
Myq update from 0.0.8 to 0.0.11 ( #14947 )
...
* Update requirements_all.txt
Update myq from 0.0.8 to 0.0.11
* Update myq.py
Update myq from 0.0.8 to 0.0.11
2018-06-13 08:02:27 +02:00
Paulus Schoutsen
90a51160c4
Don't run unnecessary methods in executor pool ( #14853 )
...
* Don't run unnecessary methods in executor pool
* Lint
* Lint 2
2018-06-07 15:31:21 -04:00
Otto Winter
fcb60d472e
MQTT Cover Fix Assumed State ( #14672 )
2018-05-29 09:03:45 -04:00
guillaume1410
c425afe50e
Adding ryobi garage door opener ( #14618 )
...
* Initial component for Ryobi cover
* Initial component for Ryobi cover
* Adding Ryobi cover
* Adding Ryobi cover
* Adding Ryobi cover
* Minor changes
* Remove import
2018-05-26 22:46:53 +02:00