mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +00:00
Fix docstring for entity helper (#82704)
Fix some language in entity.py
This commit is contained in:
parent
3c3f48fe28
commit
35dbc3151a
@ -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…
x
Reference in New Issue
Block a user