mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Merge pull request #272 from nkgilley/scheduler_update
Scheduler update
This commit is contained in:
commit
051e2db9b7
@ -131,7 +131,7 @@ class ServiceEventListener(EventListener):
|
||||
def execute(self, hass):
|
||||
""" Call the service. """
|
||||
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
|
||||
self.schedule(hass)
|
||||
|
Loading…
x
Reference in New Issue
Block a user