Quentame
1855c91988
Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const ( #36233 )
...
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const
* Fix pylint
* Use in tests
* Search for "client_id"
* Fix tests
* Fix test
* Fix test
2020-05-30 17:27:20 +02:00
Andrew Sayre
6ae7f31947
SmartThings continue correct config flow after external auth ( #34862 )
2020-04-29 14:05:20 -07:00
springstan
bc26be3c11
Add and use HTTP_FORBIDDEN constant ( #33839 )
2020-04-09 17:41:17 +02:00
Paulus Schoutsen
d4615fd432
Freeze config entry data ( #32615 )
...
* Freeze config entry data
* Fix mutating entry.data
* Fix config entry options tests
2020-03-09 14:07:50 -07:00
Franck Nijhof
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +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
Andrew Sayre
3c07a9b4c7
Cleanup strings ( #26243 )
2019-08-27 17:08:09 -06:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
nierob
979f801488
Avoid creating temporary lists ( #25317 )
...
That gives nano performance improvements as *() is slightly faster
then *[].
2019-07-19 13:36:18 -07:00
Franck Nijhof
31f569ada9
Batch of Component(s) -> Integration(s) ( #24972 )
2019-07-05 15:24:26 -07:00
Andrew Sayre
7db4eeaf7f
Move SmartThings imports to top ( #24878 )
...
* Move imports to top
* use lib constants
* Add missing three_axis mapping
2019-06-30 22:29:21 -04: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
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
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
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
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
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
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
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