This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from datetime import timedelta | |
from homeassistant import auth, core, config as conf_util | |
CLIENT_ID = 'long_lived_client' | |
LIFE_TIME = timedelta(days=3650) | |
async def create_refresh_token(auth_mgr: auth.AuthManager, |