mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
reference constants from tellive package
This commit is contained in:
parent
f10ecb2a8d
commit
efbaf47dc7
@ -96,12 +96,11 @@ class TelldusLiveData(object):
|
||||
def _request(self, what, **params):
|
||||
""" Sends a request to the tellstick live API """
|
||||
|
||||
from tellcore.constants import (
|
||||
TELLSTICK_TURNON, TELLSTICK_TURNOFF, TELLSTICK_TOGGLE)
|
||||
from tellive.live import const
|
||||
|
||||
supported_methods = TELLSTICK_TURNON \
|
||||
| TELLSTICK_TURNOFF \
|
||||
| TELLSTICK_TOGGLE
|
||||
supported_methods = const.TELLSTICK_TURNON \
|
||||
| const.TELLSTICK_TURNOFF \
|
||||
| const.TELLSTICK_TOGGLE
|
||||
|
||||
default_params = {'supportedMethods': supported_methods,
|
||||
"includeValues": 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user