Update wemo.py
* continuation line under-indented for visual indent
This commit is contained in:
parent
c404fb7142
commit
44d274e428
1 changed files with 4 additions and 3 deletions
|
@ -158,7 +158,8 @@ class WemoSwitch(SwitchDevice):
|
||||||
d = datetime(1,1,1) + timedelta(seconds=_seconds)
|
d = datetime(1,1,1) + timedelta(seconds=_seconds)
|
||||||
return "{:0>2d}d {:0>2d}h {:0>2d}m {:0>2d}s".format(d.day-1,
|
return "{:0>2d}d {:0>2d}h {:0>2d}m {:0>2d}s".format(d.day-1,
|
||||||
d.hour,
|
d.hour,
|
||||||
d.minute, d.second)
|
d.minute,
|
||||||
|
d.second)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def on_for(self):
|
def on_for(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue