Skip to content

Multiple Integration instances clobber each other's access_tokens #147

@brandoncasaba

Description

@brandoncasaba

name: Bug report
about: Create a report to help us improve
title: 'Multiple Integration instances clobber each other's access_tokens'
labels: ''
assignees: ''


Describe the bug
When adding a second or more integrations only the last account access token information is saved and it then replaces those saved by previous integration instances.

Expected behavior
Each integration should work independently and have their own access token and devices

Debug log

Additional context
Tokens appear to be saved directly in the .storage\sensi file as they get refreshed, rather than updating the entry in the expected core.config_entries which is where you typically see HA save the per integration storage

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions