Update file header (#21023)

* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
This commit is contained in:
Fabian Affolter 2019-02-13 21:21:14 +01:00 committed by GitHub
parent 22af9707ad
commit 127c55e0c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
492 changed files with 1015 additions and 3497 deletions

View file

@ -1,9 +1,4 @@
"""
Support for binary sensors through the SmartThings cloud API.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/smartthings.binary_sensor/
"""
"""Support for binary sensors through the SmartThings cloud API."""
from homeassistant.components.binary_sensor import BinarySensorDevice
from . import SmartThingsEntity
@ -20,7 +15,7 @@ CAPABILITY_TO_ATTRIB = {
'soundSensor': 'sound',
'tamperAlert': 'tamper',
'valve': 'valve',
'waterSensor': 'water'
'waterSensor': 'water',
}
ATTRIB_TO_CLASS = {
'acceleration': 'moving',
@ -31,7 +26,7 @@ ATTRIB_TO_CLASS = {
'sound': 'sound',
'tamper': 'problem',
'valve': 'opening',
'water': 'moisture'
'water': 'moisture',
}