Paulus Schoutsen
e51925fc58
Update translations
2019-05-08 20:20:58 -07:00
Andrew Sayre
074142400a
Fix SmartThings Samsung Air Conditioner Support ( #23706 )
...
* Bump pysmartthings to 0.6.8
* Fix AC climate device
* Fix stale comment
2019-05-06 10:21:16 -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
Paulus Schoutsen
0d2646ba25
Update translations
2019-04-09 08:34:20 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
9d21afa444
Update translations
2019-03-27 21:32:58 -07:00
Andrew Sayre
e26a5abb2b
Don't return cover position when not supported ( #22484 )
2019-03-27 19:50:02 -07:00
Paulus Schoutsen
72bb94de96
Update translations
2019-03-21 12:57:20 -07:00
Andrew Sayre
6526c68e2d
Fix validate webhook requirements ( #22248 )
2019-03-21 09:13:20 -07:00
Andrew Sayre
83243e95d3
Remove default temp unit ( #22012 )
2019-03-13 12:59:37 -07:00
Diogo Gomes
a99d83390e
Centrally define Energy Units (kWh and Wh) ( #21719 )
...
* centralize energy units kWh and Wh
* lint
2019-03-12 18:46:41 -07:00
Paulus Schoutsen
d635111e4f
Update translations
2019-03-12 11:31:17 -07:00
Andrew Sayre
c401f35a43
Add cloudhook support to SmartThings component ( #21905 )
...
* Add support for Nabu Casa cloudhooks
* Added tests to cover cloudhook creation and removal
* Remove cloud dependency
2019-03-11 08:33:25 -04:00
Andrew Sayre
5ace55ea8d
Add SmartThings sensor support for Three Axis ( #21841 )
...
* Add support for Three Axis to sensor platform
* Changes per review feedback.
* Remove unnecessary KeyError except
* Fix lint issue in line wrapping
2019-03-09 18:45:15 -06:00
Andrew Sayre
c927cd9c14
Add SmartThings climate support for Air Conditioners ( #21840 )
...
* Add support for Samsung Air Conditioners to Climate
* Changes per review feedback.
* Fix py3.5 compat list sorting in test
2019-03-09 18:43:16 -06:00
Andrew Sayre
c5734eecc7
Update dependencies to receive data on webhook callbacks ( #21838 )
2019-03-08 21:20:07 -08:00
Andrew Sayre
3e0459cef9
SmartThings remove SmartApp/Automation on integration removal ( #21594 )
...
* Add clean-up logic upon entry removal
* Removed unecessary app removal from migration
* Change log level and clarified code
2019-03-03 13:47:25 -06:00
Andrew Sayre
1e60993aa7
Handle when installed app has already been removed ( #21595 )
2019-03-02 21:57:57 -06:00
Diogo Gomes
ed2b9e5483
Centrally define Watt ( #21570 )
...
* centralize Watt definition
* lint
2019-03-02 11:29:59 +01:00
Paulus Schoutsen
78217fa9b0
Update translations
2019-02-27 16:34:13 -08:00
Andrew Sayre
3b9db88065
Add SmartThings Scene platform ( #21405 )
...
* Add SmartThings Scene platform
* Fixed failing tests after rebase
* Update cover tests.
2019-02-26 13:12:24 -08:00
Andrew Sayre
d3f1ee4a89
Add SmartThings Cover platform and add cover device classes ( #21192 )
...
* Add additional device classes to Cover component; Add SmartThings cover platform; Improve lock test coverage
* Enhance cover platform to support position and battery level reporting.
* Add additional classes
* Removed device class descriptions
* Updates based on review feedback
* Add test case for closed
2019-02-25 10:13:34 -08:00
Andrew Sayre
0ccbf61aea
Add power and energy attributes to SmartThings switch ( #21375 )
2019-02-25 15:50:16 +01:00
Andrew Sayre
04fc951048
Improve tolerance of SmartThings Climate platform ( #21383 )
...
* Improve resilience of platform with buggy handlers
* Eliminate possibility of None in operation list
* Refactor variable name
2019-02-24 10:45:11 -06:00
Andrew Sayre
3d9f4bf2aa
SmartThings Lock platform state attributes enhancement ( #21379 )
...
* Add additional lock metadata
* Fixed attribute name in test
2019-02-24 02:52:37 +01:00
Andrew Sayre
8b38b82e73
Enhance SmartThings component subscription ( #21124 )
...
* Move to config v2 to store SmartApp oauth keys
* Add migration functionality.
* Regenerate refresh token on periodic basis
* Fix regenerate and misc. optimizations
* Review feedback
* Subscription sync logic now performs a difference operation
* Removed config entry reloading.
2019-02-22 20:35:12 +01:00
Paulus Schoutsen
3fcbc36abe
Update translations
2019-02-21 16:40:25 -08:00
Andrew Sayre
b39b66ef65
Fix SmartThings Translation Error ( #21103 )
2019-02-16 10:49:24 +01:00
Andrew Sayre
93f84a5cd1
SmartThings Component Enhancements/Fixes ( #21085 )
...
* Improve component setup error logging/notification
* Prevent capabilities from being represented my multiple platforms
* Improved logging of received updates
* Updates based on review feedback
2019-02-15 17:40:54 +01:00
Joakim Plate
c5de32e7b1
Climate const.py move ( #20945 )
...
* Move constants to const.py
* Import from const instead of climate
2019-02-14 20:34:43 +01:00
Fabian Affolter
3736120c6a
Update file header ( #21061 )
...
* Update file header
* Fix lint issue
* Fix lint issue
2019-02-14 16:01:46 +01:00
Ben Dews
c20e0b985a
Add Lock capability to SmartThings platform ( #20977 )
...
* Bumped pysmartthings version to 0.6.1
* Added Lock to supported platforms
* Added SmartThings Lock component
* Updated lock to eagerly set state
* Updated requirements_all.txt & requirements_test_all.txt with pysmartthings==0.6.1
* Added SmartThings Lock tests
* Removed inapplicable comment
* Removed unused import (STATE_UNLOCKED)
* Populated device_state_attributes with values provided by SmartThings
* Condensed if_lock assertion function
* Updated gathered attributes
* Fixed typo
* Updated tests to use new setup_platform
* Updated assignment of device state attributes
* Updated tests to utilise the LOCK_DOMAIN constant where suitable
* Fixed false positive for Switch test: (test_unload_config_entry)
* Implemented constant to contain expected SmartThings state for is_locked check
* Improved allocation of State Attributes
* Improved allocation of state attributes
* Fixed lint error (was running lint checks against the wrong file, whoops)
* Added test for unloading lock config
* Use isinstance instead of type()
* Updated device state to explicitly check for is not None instead of a truthy value
2019-02-13 18:36:49 -06:00
Paulus Schoutsen
02f207ea8e
Update translations
2019-02-13 15:44:18 -08: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
Andrew Sayre
e8ed56ca52
Add SmartThings Climate platform ( #20963 )
...
* Add SmartThings Climate platform
* Add SmartThings Climate platform
2019-02-12 08:11:36 +01:00
Andrew Sayre
706810bbce
Add SmartThings Sensor platform ( #20848 )
...
* Add Sensor platform and update pysmartthings 0.6.0
* Add tests for Sensor platform
* Redesigned capability subscription process
* Removed redundant Entity inheritance
* Updated per review feedback.
2019-02-07 21:51:17 -07:00
Andrew Sayre
f84317e325
Update pysmartthings to 0.5.0 ( #20759 )
2019-02-05 06:42:30 +01:00
Andrew Sayre
38ea43b678
Add SmartThings button support via events ( #20707 )
...
* Add event support for buttons
* binary_sensor test clean-up
2019-02-02 22:08:37 -08:00
Paulus Schoutsen
c2eec16721
Update translations
2019-02-02 14:12:23 -08:00
Andrew Sayre
6458abca2e
Add SmartThings Binary Sensor platform ( #20699 )
...
* Add SmartThings binary_sensor platform
* Fixed comment typo.
2019-02-02 14:06:30 -08:00
Andrew Sayre
acf5b04231
Add SmartThings Fan platform ( #20681 )
...
* Add SmartThings fan
* Removed unnecessary update method
* Corrected usage of async_schedule_update_ha_state
* Clean-up/optimization
2019-02-02 14:04:29 -08:00
Andrew Sayre
a24da611c5
Add SmartThings Light platform ( #20652 )
...
* Add SmartThings Light platform and tests
* Cleaned a few awk comments
* Updates per review feedback
* Switched to super
* Changes per review feedback
2019-02-02 07:12:24 -08:00
Andrew Sayre
69ec7980ad
Add SmartThings component and switch platform ( #20148 )
...
* Added SmartThings component and switch platform
* Corrected comment typos.
* Embedded switch platform.
* Replaced custom view usage with webhook component.
* Replaced urls with tokens in strings.
* Fixed line length.
* Use generated webhook id instead of static one.
* Reuse core constant instead of defining again.
* Optimizations in anticipation of future platforms.
* Use async_generate_path instead of hard-coded path.
* Fixed line length.
* Updates per review feedback.
* Updates per latest review feedback.
2019-01-30 17:31:59 -08:00