diff --git a/homeassistant/components/timer/__init__.py b/homeassistant/components/timer/__init__.py index b2f5db88b5f..ec3429e0498 100644 --- a/homeassistant/components/timer/__init__.py +++ b/homeassistant/components/timer/__init__.py @@ -29,6 +29,7 @@ ENTITY_ID_FORMAT = DOMAIN + '.{}' DEFAULT_DURATION = 0 ATTR_DURATION = 'duration' +ATTR_REMAINING = 'remaining' CONF_DURATION = 'duration' STATUS_IDLE = 'idle' @@ -227,6 +228,7 @@ class Timer(Entity): """Return the state attributes.""" return { ATTR_DURATION: str(self._duration), + ATTR_REMAINING: str(self._remaining) } @asyncio.coroutine