1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add version to config API

This commit is contained in:
Paulus Schoutsen
2015-10-25 21:00:22 -07:00
parent da259d75a2
commit f1aa685cf2
2 changed files with 4 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ import functools as ft
from collections import namedtuple
from homeassistant.const import (
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP,
__version__, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP,
SERVICE_HOMEASSISTANT_STOP, EVENT_TIME_CHANGED, EVENT_STATE_CHANGED,
EVENT_CALL_SERVICE, ATTR_NOW, ATTR_DOMAIN, ATTR_SERVICE, MATCH_ALL,
EVENT_SERVICE_EXECUTED, ATTR_SERVICE_CALL_ID, EVENT_SERVICE_REGISTERED,
@@ -741,6 +741,7 @@ class Config(object):
'location_name': self.location_name,
'time_zone': time_zone.zone,
'components': self.components,
'version': __version__
}