Auto-create friendly name for persistent notifications (#42427)

This commit is contained in:
Philip Allgaier 2021-01-15 12:13:56 +01:00 committed by GitHub
parent 93c2f2bbeb
commit 41b45c7f78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -116,7 +116,7 @@ _LOGGER = logging.getLogger(__name__)
def split_entity_id(entity_id: str) -> List[str]:
"""Split a state entity_id into domain, object_id."""
"""Split a state entity ID into domain and object ID."""
return entity_id.split(".", 1)