Fix docstring for entity helper (#82704)

Fix some language in entity.py
This commit is contained in:
Erik Montnemery 2022-11-25 18:20:33 +01:00 committed by GitHub
parent 3c3f48fe28
commit 35dbc3151a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,7 +144,7 @@ def get_supported_features(hass: HomeAssistant, entity_id: str) -> int:
def get_unit_of_measurement(hass: HomeAssistant, entity_id: str) -> str | None: def get_unit_of_measurement(hass: HomeAssistant, entity_id: str) -> str | None:
"""Get unit of measurement class of an entity. """Get unit of measurement of an entity.
First try the statemachine, then entity registry. First try the statemachine, then entity registry.
""" """