Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions homeassistant/components/tellduslive/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ def is_closed(self):
def close_cover(self, **kwargs):
"""Close the cover."""
self.device.down()
self._update_callback()

def open_cover(self, **kwargs):
"""Open the cover."""
self.device.up()
self._update_callback()

def stop_cover(self, **kwargs):
"""Stop the cover."""
self.device.stop()
self._update_callback()
1 change: 1 addition & 0 deletions homeassistant/components/tellduslive/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def __init__(self, client, device_id):
def changed(self):
"""Define a property of the device that might have changed."""
self._last_brightness = self.brightness
self._update_callback()

@property
def brightness(self):
Expand Down
2 changes: 2 additions & 0 deletions homeassistant/components/tellduslive/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def is_on(self):
def turn_on(self, **kwargs):
"""Turn the switch on."""
self.device.turn_on()
self._update_callback()

def turn_off(self, **kwargs):
"""Turn the switch off."""
self.device.turn_off()
self._update_callback()