Update Notion auth to store refresh tokens instead of account passwords (#109670)
This commit is contained in:
parent
92c3c401b9
commit
e3c838d512
12 changed files with 142 additions and 47 deletions
|
@ -4,6 +4,9 @@ import logging
|
|||
DOMAIN = "notion"
|
||||
LOGGER = logging.getLogger(__package__)
|
||||
|
||||
CONF_REFRESH_TOKEN = "refresh_token"
|
||||
CONF_USER_UUID = "user_uuid"
|
||||
|
||||
SENSOR_BATTERY = "low_battery"
|
||||
SENSOR_DOOR = "door"
|
||||
SENSOR_GARAGE_DOOR = "garage_door"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue