Fix docstring for entity helper (#82704)
Fix some language in entity.py
This commit is contained in:
parent
3c3f48fe28
commit
35dbc3151a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue