From 37e51aa166e2f27980c9c1c7a3118cae9b60053c Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Sun, 20 Sep 2020 21:15:48 -0500 Subject: [PATCH] Add reauth source constant for config entries (#40352) --- homeassistant/config_entries.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 347ca294d34..139e2066d17 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -39,6 +39,9 @@ SOURCE_IGNORE = "ignore" # been removed and unloaded. SOURCE_UNIGNORE = "unignore" +# This is used to signal that re-authentication is required by the user. +SOURCE_REAUTH = "reauth" + HANDLERS = Registry() STORAGE_KEY = "core.config_entries"