home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.15k stars 29.82k forks source link

User / People #124921

Open duan-dt opened 2 weeks ago

duan-dt commented 2 weeks ago

The problem

Removing an User or person from People, prevents you from recreating the user. The error message is "username already exists

What version of Home Assistant Core has the issue?

2024.8.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

User / People

Link to integration documentation on our website

https://www.home-assistant.io/integrations/person/#:~:text=Adding%20a%20person%20to%20Home%20Assistant%201%20Go,select%20the%20devices%20that%20belong%20to%20this%20person.

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:307
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:51:26 (2 occurrences)
Last logged: 12:31:09

[2455783144] Error handling message: username_already_exists (home_assistant_error) XXX from 192.168.x.xxx (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0)
[2205872888] Error handling message: username_already_exists (home_assistant_error) XXX from 192.168.X.xxx (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0)

Additional information

No response

home-assistant[bot] commented 2 weeks ago

person documentation person source

home-assistant[bot] commented 2 weeks ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (auth) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `auth` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign auth` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


auth documentation auth source (message by IssueLinks)