mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Added support for unit_of_measurement
This commit is contained in:
@@ -31,6 +31,9 @@ ATTR_FRIENDLY_NAME = "friendly_name"
|
||||
# A picture to represent entity
|
||||
ATTR_ENTITY_PICTURE = "entity_picture"
|
||||
|
||||
# The unit of measurement if applicable
|
||||
ATTR_UNIT_OF_MEASUREMENT = "unit_of_measurement"
|
||||
|
||||
STATE_ON = 'on'
|
||||
STATE_OFF = 'off'
|
||||
STATE_HOME = 'home'
|
||||
|
||||
Reference in New Issue
Block a user