mirror of
https://github.com/home-assistant/core.git
synced 2025-08-17 19:41:45 +02:00
Update wemo.py
* continuation line under-indented for visual indent
This commit is contained in:
@@ -157,8 +157,9 @@ class WemoSwitch(SwitchDevice):
|
||||
def _as_uptime(self, _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,
|
||||
d.hour,
|
||||
d.minute, d.second)
|
||||
d.hour,
|
||||
d.minute,
|
||||
d.second)
|
||||
|
||||
@property
|
||||
def on_for(self):
|
||||
|
Reference in New Issue
Block a user