Andrew Sayre and Paulus Schoutsen
b4481269ec
Turn on device before setting mode ( #25314 )
2019-07-19 10:19:51 -07:00
Andrew Sayre and Paulus Schoutsen
752d0deb97
Turn on device before setting mode ( #25314 )
2019-07-19 10:19:34 -07:00
Andrew Sayre and Paulus Schoutsen
46cdbd273a
Restore SmartThings A/C on/off services ( #25259 )
...
* Restore ST A/C on/off services
* Use correct OFF const
* Support AC HVAC_MODE_OFF
2019-07-18 14:08:42 -07:00
Andrew Sayre and Paulus Schoutsen
cfc2c58fe0
Restore SmartThings A/C on/off services ( #25259 )
...
* Restore ST A/C on/off services
* Use correct OFF const
* Support AC HVAC_MODE_OFF
2019-07-18 10:14:58 -07:00
Andrew Sayre and Paulus Schoutsen
20301ae888
Use MockConfigEntry ( #25190 )
2019-07-16 14:51:30 -07:00
Andrew Sayre and Pascal Vizeli
7a5fca69af
Add hvac fan state ( #25030 )
2019-07-09 09:59:48 +02:00
Andrew Sayre and GitHub
a31e49c857
Improve SmartThings test mocking ( #25028 )
...
* Migrate to asynctest
* Simplify mock access
* Use mocks
2019-07-08 22:39:55 -04:00
Andrew Sayre and GitHub
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
Andrew Sayre and Paulus Schoutsen
a868685ac9
Bump pysmartthings ( #24659 )
2019-06-21 09:27:41 -07:00
Andrew Sayre and Paulus Schoutsen
d8690f426c
Bump pysmartthings ( #24659 )
2019-06-20 13:25:32 -07:00
Andrew Sayre and Pascal Vizeli
0194905e97
Move imports to top ( #24108 )
2019-05-26 13:47:11 +02:00
Andrew Sayre and Paulus Schoutsen
02d8731a61
Add HEOS sign-in/out services ( #23729 )
...
* Add HEOS sign-in/out services
* Fix typo in comment
2019-05-07 09:39:42 -07:00
Andrew Sayre and Jason Hu
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
Andrew Sayre and Martin Hjelmare
bf649e373c
Update IDs after firmware upgrade in HEOS ( #23641 )
...
* Initial work
* Update tests
2019-05-06 17:53:11 +02:00
Andrew Sayre and Anders Melchiorsen
cf03e42773
Bump pyheos to 0.5.2 ( #23708 )
2019-05-06 07:07:41 +02:00
Andrew Sayre and GitHub
b30afde8ab
Extend play_media support ( #23580 )
2019-05-02 19:54:36 -05:00
Andrew Sayre and Paulus Schoutsen
741d0fd09b
Bump pyheos ( #23616 )
2019-05-01 22:43:17 -07:00
Andrew Sayre and Paulus Schoutsen
f3925b7ede
Bump pyheos ( #23616 )
2019-05-01 22:39:59 -07:00
Andrew Sayre and Paulus Schoutsen
cfaaae661a
Add core APIs to migrate device identifiers and entity unique_id ( #23481 )
...
* Add device identifiers migration
* Add entity unique_id migration
* Update per arch issue
* Move to existing update methods
2019-04-30 10:04:37 -07:00
Andrew Sayre and Rohan Kapoor
f1b2622d78
Use remote image for HEOS ( #23420 )
2019-04-27 13:02:42 -07:00
Andrew Sayre and Pascal Vizeli
1ec08ce243
Fix supported features gates in media_player volume up/down services ( #23419 )
...
* Correct media player feature gates
* Fix failing test
* Lint...
2019-04-26 19:58:44 +00:00
Andrew Sayre and Pascal Vizeli
46c955a501
Add missing feature support flag ( #23417 )
2019-04-26 19:58:43 +00:00
Andrew Sayre and Pascal Vizeli
dd1e352d1d
Bump pyheos to 0.4.1 ( #23360 )
...
* Bump pyheos==0.4.1
* Refresh player after reconnection
2019-04-26 19:55:24 +00:00
Andrew Sayre and Fabian Affolter
d038d2426b
Add missing feature support flag ( #23417 )
2019-04-26 08:47:40 +02:00
Andrew Sayre and Paulus Schoutsen
b5725f8f19
Fix supported features gates in media_player volume up/down services ( #23419 )
...
* Correct media player feature gates
* Fix failing test
* Lint...
2019-04-25 21:42:39 -07:00
Andrew Sayre and Paulus Schoutsen
e3e7fb5ff6
Bump pyheos to 0.4.1 ( #23360 )
...
* Bump pyheos==0.4.1
* Refresh player after reconnection
2019-04-24 21:31:31 -07:00
Andrew Sayre and Paulus Schoutsen
a2565ad3b4
Update pyheos and log service errors in HEOS integration ( #23222 )
...
* Update pyheos and command error handling
* Correct comment and remove unnecessary autospec
2019-04-22 22:09:07 -07:00
Andrew Sayre and Paulus Schoutsen
8daba68dc1
Add support to play url ( #23273 )
2019-04-22 12:10:55 -07:00
Andrew Sayre and Charles Garwood
b697bb7a26
Update pyheos and log service errors in HEOS integration ( #23222 )
...
* Update pyheos and command error handling
* Correct comment and remove unnecessary autospec
2019-04-19 22:22:40 -04:00
Andrew Sayre and Paulus Schoutsen
ff047e1cd1
Return 0 instead of None ( #23261 )
2019-04-19 17:05:46 -07:00
Andrew Sayre and Paulus Schoutsen
e2ed2ecdc0
Return 0 instead of None ( #23261 )
2019-04-19 16:56:34 -07:00
Andrew Sayre and GitHub
8c89e260df
HEOS confirm discovered devices before adding ( #23063 )
...
* Add host selection step to discovery
* Review feedback
* Fix failing test
2019-04-13 16:44:45 -05:00
Andrew Sayre and Paulus Schoutsen
7624d0e79f
Check for supported features in media_player services ( #22878 )
...
* Add check for supported features
* Move logic to service helper
* Fix hacked in test for seek
* Test for service required features
2019-04-10 09:44:58 -07:00
Andrew Sayre and Martin Hjelmare
4110bd0acf
Add support for when device is not logged in to HEOS ( #22913 )
2019-04-09 18:21:00 +02:00
Andrew Sayre and GitHub
38f063a158
Fix HEOS discovery could result in multiple config entries ( #22903 )
...
* Prevent duplicate entries from discovery
* Update reqs files
* Prevent duplicate entries from discovery
2019-04-08 21:24:40 -05:00
Andrew Sayre and GitHub
5651db4b5c
Add discovery support to HEOS component ( #22652 )
...
* Add discovery entry point
* Fix test
* Correct test call method
* Update netdisco to 2.6.0
2019-04-02 15:22:49 -05:00
Andrew Sayre and GitHub
9f2c5b7231
Add source selection to Heos component ( #22592 )
...
* Add select source support
* Review feedback changes
* Removed unused import
* Ignore 'umused' import used in typing
* Only include trace back on useful errors
* Remove return from play_source
2019-04-01 11:58:52 -05:00
Andrew Sayre and GitHub
ecba87179f
Add Heos config flow ( #22554 )
...
* Add UI initiated config flow
* Fix alpha order
2019-03-30 08:52:17 -05:00
Andrew Sayre and Paulus Schoutsen
1bfe86b30d
Change HEOS component library and add basic config flow ( #22517 )
...
* Update heos lib
* Update requirements files
* Removed unecessary mock_coro usage
* Remove assert_called_once usage
* Updates from review feedback
* Remove extra param to error format
2019-03-29 21:10:00 -07:00
Andrew Sayre and Robbie Trencheny
78047c8c3c
Fix .coveragerc from merge/rebase ( #22516 )
...
* Fix coveragerc
* Fix coveragerc
2019-03-28 20:01:53 -07:00
Andrew Sayre and Paulus Schoutsen
e26a5abb2b
Don't return cover position when not supported ( #22484 )
2019-03-27 19:50:02 -07:00
Andrew Sayre and Paulus Schoutsen
f47a50aa24
Fix validate webhook requirements ( #22248 )
2019-03-21 13:06:13 -07:00
Andrew Sayre and Paulus Schoutsen
6526c68e2d
Fix validate webhook requirements ( #22248 )
2019-03-21 09:13:20 -07:00
Andrew Sayre and Paulus Schoutsen
83243e95d3
Remove default temp unit ( #22012 )
2019-03-13 12:59:37 -07:00
Andrew Sayre and Paulus Schoutsen
39749952ee
Update dependencies to receive data on webhook callbacks ( #21838 )
2019-03-12 11:51:00 -07:00
Andrew Sayre and Charles Garwood
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 and GitHub
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 and GitHub
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 and Paulus Schoutsen
c5734eecc7
Update dependencies to receive data on webhook callbacks ( #21838 )
2019-03-08 21:20:07 -08:00
Andrew Sayre and Paulus Schoutsen
d9806f759b
Handle when installed app has already been removed ( #21595 )
2019-03-04 15:59:16 -08:00
Andrew Sayre and GitHub
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 and GitHub
1e60993aa7
Handle when installed app has already been removed ( #21595 )
2019-03-02 21:57:57 -06:00
Andrew Sayre and Paulus Schoutsen
0903bd92f0
Add config entry remove callback ( #21576 )
2019-03-01 21:13:55 -08:00
Andrew Sayre and Paulus Schoutsen
2c10327945
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-27 15:24:50 -08:00
Andrew Sayre and Paulus Schoutsen
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 and Paulus Schoutsen
f0268688be
Increase travis timeout ( #21447 )
2019-02-25 18:59:02 -08:00
Andrew Sayre and Paulus Schoutsen
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 and Martin Hjelmare
0ccbf61aea
Add power and energy attributes to SmartThings switch ( #21375 )
2019-02-25 15:50:16 +01:00
Andrew Sayre and GitHub
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 and Fabian Affolter
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 and Martin Hjelmare
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 and Paulus Schoutsen
d55693762e
Fix SmartThings Translation Error ( #21103 )
2019-02-18 13:30:57 -08:00
Andrew Sayre and Paulus Schoutsen
7ce18146d4
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-18 13:29:03 -08:00
Andrew Sayre and Martin Hjelmare
b39b66ef65
Fix SmartThings Translation Error ( #21103 )
2019-02-16 10:49:24 +01:00
Andrew Sayre and Paulus Schoutsen
383813bfe6
Config Entry migrations ( #20888 )
...
* Updated per review feedback.
* Fixed line length
* Review comments and lint error
* Fixed mypy typeing error
* Moved migration logic to setup
* Use new migration error state
* Fix bug and ignore mypy type error
* Removed SmartThings example and added unit tests.
* Fixed test comments.
2019-02-15 09:30:47 -08:00
Andrew Sayre and Martin Hjelmare
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
Andrew Sayre and GitHub
d037359bda
Add lock config entry unload support. ( #21025 )
2019-02-12 22:35:20 -06:00
Andrew Sayre and Martin Hjelmare
e8ed56ca52
Add SmartThings Climate platform ( #20963 )
...
* Add SmartThings Climate platform
* Add SmartThings Climate platform
2019-02-12 08:11:36 +01:00
Andrew Sayre and Aaron Bach
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 and Daniel Høyer Iversen
f84317e325
Update pysmartthings to 0.5.0 ( #20759 )
2019-02-05 06:42:30 +01:00
Andrew Sayre and Paulus Schoutsen
9a13aafeea
Add SmartThings button support via events ( #20707 )
...
* Add event support for buttons
* binary_sensor test clean-up
2019-02-03 15:26:17 -08:00
Andrew Sayre and Paulus Schoutsen
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 and Paulus Schoutsen
d3e011ff50
Add SmartThings Binary Sensor platform ( #20699 )
...
* Add SmartThings binary_sensor platform
* Fixed comment typo.
2019-02-02 14:09:44 -08:00
Andrew Sayre and Paulus Schoutsen
b669e1498a
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:09:42 -08:00
Andrew Sayre and Paulus Schoutsen
785b42ecde
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 14:09:40 -08:00
Andrew Sayre and Paulus Schoutsen
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 and Paulus Schoutsen
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 and Paulus Schoutsen
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 and Paulus Schoutsen
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
Andrew Sayre and Fabian Affolter
bb21cb6c89
Remove trailing slash from base_url and added ability to generate webhook path. ( #20295 )
2019-01-21 20:50:41 +01:00
Andrew Sayre and Paulus Schoutsen
5c208da82e
Added recursive detection of functools.partial. ( #20284 )
2019-01-20 22:27:32 -08:00
Andrew Sayre and Paulus Schoutsen
e73569c203
Added partial detection to async_add_job ( #20119 )
2019-01-14 15:08:44 -08:00