mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Remove double person data validation (#30501)
This commit is contained in:
parent
0a9ac91dec
commit
8625e962ce
@ -198,7 +198,7 @@ class PersonStorageCollection(collection.StorageCollection):
|
|||||||
if user_id is not None:
|
if user_id is not None:
|
||||||
await self._validate_user_id(user_id)
|
await self._validate_user_id(user_id)
|
||||||
|
|
||||||
return self.CREATE_SCHEMA(data)
|
return data
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def _get_suggested_id(self, info: dict) -> str:
|
def _get_suggested_id(self, info: dict) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user