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:
1 parent
22af9707ad
commit
127c55e0c1
492 files changed
+1015
-3497
No files matched your search
@@ -1,9 +1,4 @@
|
||||
"""
|
||||
Support for UpCloud.
|
||||
|
||||
For more details about this component, please refer to the documentation at
|
||||
https://home-assistant.io/components/upcloud/
|
||||
"""
|
||||
"""Support for UpCloud."""
|
||||
import logging
|
||||
from datetime import timedelta
|
||||
|
||||
@@ -43,12 +38,12 @@ UPCLOUD_PLATFORMS = ['binary_sensor', 'switch']
|
||||
|
||||
SCAN_INTERVAL = timedelta(seconds=60)
|
||||
|
||||
SIGNAL_UPDATE_UPCLOUD = "upcloud_update"
|
||||
SIGNAL_UPDATE_UPCLOUD = 'upcloud_update'
|
||||
|
||||
STATE_MAP = {
|
||||
"started": STATE_ON,
|
||||
"stopped": STATE_OFF,
|
||||
"error": STATE_PROBLEM,
|
||||
'error': STATE_PROBLEM,
|
||||
'started': STATE_ON,
|
||||
'stopped': STATE_OFF,
|
||||
}
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema({
|
||||
|
||||
Reference in new issue
Block a user