Skip to content

Commit

Permalink
Remove SCAN_INTERVAL in favour of DataUpdateCoordinator (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMicknl authored Jul 30, 2020
1 parent 1c0e288 commit cc83e93
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions custom_components/tahoma/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
from .const import DOMAIN
from .tahoma_device import TahomaDevice

SCAN_INTERVAL = timedelta(seconds=120)

CORE_ASSEMBLY_STATE = "core:AssemblyState"
CORE_BUTTON_STATE = "core:ButtonState"
CORE_CONTACT_STATE = "core:ContactState"
Expand Down
2 changes: 0 additions & 2 deletions custom_components/tahoma/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

_LOGGER = logging.getLogger(__name__)

SCAN_INTERVAL = timedelta(seconds=30)

COMMAND_SET_INTENSITY = "setIntensity"
COMMAND_WINK = "wink"
COMMAND_SET_RGB = "setRGB"
Expand Down
2 changes: 0 additions & 2 deletions custom_components/tahoma/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

_LOGGER = logging.getLogger(__name__)

SCAN_INTERVAL = timedelta(seconds=120)

COMMAND_LOCK = "lock"
COMMAND_UNLOCK = "unlock"

Expand Down
2 changes: 0 additions & 2 deletions custom_components/tahoma/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@

_LOGGER = logging.getLogger(__name__)

SCAN_INTERVAL = timedelta(seconds=60)

CORE_CO2_CONCENTRATION_STATE = "core:CO2ConcentrationState"
CORE_CO_CONCENTRATION_STATE = "core:COConcentrationState"
CORE_ELECTRIC_ENERGY_CONSUMPTION_STATE = "core:ElectricEnergyConsumptionState"
Expand Down

0 comments on commit cc83e93

Please sign in to comment.