mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Remove double person data validation (#30501)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user