diff --git a/homeassistant/components/light/vera.py b/homeassistant/components/light/vera.py index 59abbe6b29d..42a5e7b7899 100644 --- a/homeassistant/components/light/vera.py +++ b/homeassistant/components/light/vera.py @@ -7,7 +7,6 @@ For more details about this platform, please refer to the documentation at https://home-assistant.io/components/light.vera/ """ import logging -import time from requests.exceptions import RequestException from homeassistant.components.switch.vera import VeraSwitch diff --git a/homeassistant/components/switch/vera.py b/homeassistant/components/switch/vera.py index 3f5d2a08cb8..4094fe61f4f 100644 --- a/homeassistant/components/switch/vera.py +++ b/homeassistant/components/switch/vera.py @@ -7,11 +7,9 @@ For more details about this platform, please refer to the documentation at https://home-assistant.io/components/switch.vera/ """ import logging -import time from requests.exceptions import RequestException import homeassistant.util.dt as dt_util -from homeassistant.helpers.entity import ToggleEntity from homeassistant.components.switch import SwitchDevice from homeassistant.const import ( @@ -138,7 +136,6 @@ class VeraSwitch(SwitchDevice): self._state = STATE_ON self.update_ha_state() - def turn_off(self, **kwargs): self.vera_device.switch_off() self._state = STATE_OFF @@ -153,4 +150,3 @@ class VeraSwitch(SwitchDevice): def is_on(self): """ True if device is on. """ return self._state == STATE_ON -