def now(hass):
    'Record fetching now.'
    render_info = hass.data.get(_RENDER_INFO)
    if (render_info is not None):
        render_info.has_time = True
    return dt_util.now()
Record fetching now.
def now(hass):
    
    render_info = hass.data.get(_RENDER_INFO)
    if (render_info is not None):
        render_info.has_time = True
    return dt_util.now()