Cache envoy auth tokens to ensure integration works if cloud is offline (#97872)

This commit is contained in:
J. Nick Koston 2023-08-05 14:51:19 -10:00 committed by GitHub
parent 6a65a97715
commit 00e78fbf19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 65 additions and 34 deletions

View file

@ -8,7 +8,7 @@ from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_NAME, CONF_PASSWORD, CONF_UNIQUE_ID, CONF_USERNAME
from homeassistant.core import HomeAssistant
from .const import DOMAIN
from .const import CONF_TOKEN, DOMAIN
from .coordinator import EnphaseUpdateCoordinator
CONF_TITLE = "title"
@ -20,6 +20,7 @@ TO_REDACT = {
CONF_TITLE,
CONF_UNIQUE_ID,
CONF_USERNAME,
CONF_TOKEN,
}