Add option to enable/disable active mode and make update_interval configurable (closes #11)
This commit is contained in:
parent
6f17edae14
commit
065163fdcc
7 changed files with 242 additions and 59 deletions
|
@ -1,8 +1,19 @@
|
|||
DOMAIN = "smartthings_find"
|
||||
|
||||
CONF_JSESSIONID = "jsessionid"
|
||||
|
||||
CONF_ACTIVE_MODE_SMARTTAGS = "active_mode_smarttags"
|
||||
CONF_ACTIVE_MODE_OTHERS = "active_mode_others"
|
||||
|
||||
CONF_ACTIVE_MODE_SMARTTAGS_DEFAULT = True
|
||||
CONF_ACTIVE_MODE_OTHERS_DEFAULT = False
|
||||
|
||||
CONF_UPDATE_INTERVAL = "update_interval"
|
||||
CONF_UPDATE_INTERVAL_DEFAULT = 120
|
||||
|
||||
BATTERY_LEVELS = {
|
||||
'FULL': 100,
|
||||
'MEDIUM': 50,
|
||||
'LOW': 15,
|
||||
'VERY_LOW': 5
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue