async def async_step_reauth(self, user_input=None):
    'Perform reauth upon an authentication error or missing cloud credentials.'
    self.host = user_input[CONF_HOST]
    self.token = user_input[CONF_TOKEN]
    self.mac = user_input[CONF_MAC]
    self.model = user_input.get(CONF_MODEL)
    return (await self.async_step_reauth_confirm())
Perform reauth upon an authentication error or missing cloud credentials.
async def async_step_reauth(self, user_input=None):
    
    self.host = user_input[CONF_HOST]
    self.token = user_input[CONF_TOKEN]
    self.mac = user_input[CONF_MAC]
    self.model = user_input.get(CONF_MODEL)
    return (await self.async_step_reauth_confirm())