Merge pull request #272 from nkgilley/scheduler_update

Scheduler update
This commit is contained in:
Paulus Schoutsen 2015-08-19 13:23:10 -07:00
commit 051e2db9b7

View File

@ -131,7 +131,7 @@ class ServiceEventListener(EventListener):
def execute(self, hass): def execute(self, hass):
""" Call the service. """ """ Call the service. """
data = {ATTR_ENTITY_ID: self.my_schedule.entity_ids} data = {ATTR_ENTITY_ID: self.my_schedule.entity_ids}
hass.call_service(self.domain, self.service, data) hass.services.call(self.domain, self.service, data)
# Reschedule for next day # Reschedule for next day
self.schedule(hass) self.schedule(hass)