Indentation converted to spaces

This commit is contained in:
Paulus Schoutsen 2013-09-30 22:00:23 -07:00
parent 561fcd3d15
commit 5d4136cf29
1 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ from homeassistant import StateMachine, EventBus, start_home_assistant
from homeassistant.observers import TomatoDeviceScanner, DeviceTracker, WeatherWatcher
from homeassistant.actors import HueLightControl, LightTrigger
from homeassistant.httpinterface import HTTPInterface
# Read config
config = SafeConfigParser()
config.read("home-assistant.conf")
@ -15,13 +16,13 @@ statemachine = StateMachine(eventbus)
# Init observers
tomato = TomatoDeviceScanner(config.get('tomato','host'), config.get('tomato','username'),
config.get('tomato','password'), config.get('tomato','http_id'))
config.get('tomato','password'), config.get('tomato','http_id'))
devicetracker = DeviceTracker(eventbus, statemachine, tomato)
weatherwatcher = WeatherWatcher(eventbus, statemachine,
config.get("common","latitude"),
config.get("common","longitude"))
config.get("common","latitude"),
config.get("common","longitude"))
# Init actors
LightTrigger(eventbus, statemachine, weatherwatcher, devicetracker, HueLightControl())