@track_time_change(hour=7, minute=0, second=0)
def wake_up(hass, now):
    if not TARGET_ID:
        return

    if device_tracker.is_on(hass) and not core.is_on(hass, TARGET_ID):
        _LOGGER.info('People home at 7AM, turning it on')
        core.turn_on(hass, TARGET_ID)
Turn light on in the morning.
dataset/ETHPy150Open home-assistant/home-assistant/config/custom_components/example.py/wake_up