From e9cf5f6f42680f5ef4105b5a37eb62a45835ccad Mon Sep 17 00:00:00 2001 From: jumpkick Date: Wed, 15 Feb 2017 16:58:11 -0500 Subject: [PATCH] Update wemo.py --- homeassistant/components/switch/wemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/wemo.py b/homeassistant/components/switch/wemo.py index 7fe8de7b699..3c7a3c565c0 100644 --- a/homeassistant/components/switch/wemo.py +++ b/homeassistant/components/switch/wemo.py @@ -157,7 +157,7 @@ class WemoSwitch(SwitchDevice): @staticmethod def as_uptime(_seconds): - """Format seconds in to uptime string in the format: 00d 00h 00m 00s """ + """Format seconds into uptime string in the format: 00d 00h 00m 00s""" uptime = datetime(1, 1, 1) + timedelta(seconds=_seconds) return "{:0>2d}d {:0>2d}h {:0>2d}m {:0>2d}s".format(uptime.day-1, uptime.hour,