Commit graph

23 commits

Author SHA1 Message Date
Pieter De Baets
61475cf090
Support gas meter capability for smartthings () 2020-11-15 14:42:11 -06:00
springstan
6c8e0e20fb
Add and use light lux constant in entire code base () 2020-09-23 20:48:01 +02:00
springstan
90f5b178ef
Use AREA_SQUARE_METERS constant in all integrations () 2020-09-15 15:00:26 -06:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
springstan
ef9d9b17bd
Drop UNIT_ prefix for constants ()
* Drop UNIT_ prefix for VOLT

* Drop UNIT_ prefix for DEGREE

* Drop UNIT_ prefix for CONDUCTIVITY

* Drop UNIT_ prefix for UV_INDEX

* Run isort
2020-04-21 19:45:53 +02:00
springstan
d454c6a43d
Use MASS_KILOGRAMS constant () 2020-04-12 19:45:50 +02:00
springstan
04c4501455
Add and use UNIT_VOLT constant ()
* Add and use UNIT_VOLT constant

* Run isort
2020-04-11 02:04:58 +02:00
springstan
f1a0ca7cd3
Add and use percentage constant ()
* Add and use percentage constant

* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ()
* Add and use speed constants

* Add and use meter based volume and area constants

* Add and use more mass unit constants

* Add and use concentration unit constants

* Add and use watts per square meter constant

* Use more time constants

* Use more data constants
2020-02-24 17:52:14 -08:00
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations ()
* Remove all empty *_setup_platform() from integrations

* Fix tests for smartthings

* Fix tests for heos
2020-01-21 12:38:38 +01:00
Franck Nijhof
445c741b30 Use literal string interpolation in integrations R-S (f-strings) () 2019-09-03 21:14:39 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Andrew Sayre
7db4eeaf7f
Move SmartThings imports to top ()
* 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 ()
* 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
83243e95d3 Remove default temp unit () 2019-03-13 12:59:37 -07:00
Diogo Gomes
a99d83390e Centrally define Energy Units (kWh and Wh) ()
* centralize energy units kWh and Wh

* lint
2019-03-12 18:46:41 -07:00
Andrew Sayre
5ace55ea8d
Add SmartThings sensor support for Three Axis ()
* 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
3e0459cef9
SmartThings remove SmartApp/Automation on integration removal ()
* 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
Diogo Gomes
ed2b9e5483 Centrally define Watt ()
* centralize Watt definition

* lint
2019-03-02 11:29:59 +01:00
Andrew Sayre
d3f1ee4a89 Add SmartThings Cover platform and add cover device classes ()
* 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
93f84a5cd1 SmartThings Component Enhancements/Fixes ()
* 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 ()
* 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
706810bbce Add SmartThings Sensor platform ()
* 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