Added support for unit_of_measurement
This commit is contained in:
1 parent
5770cc03a1
commit
2ec1f20a03
4 files changed
+16
-3
No files matched your search
@@ -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