Added support for unit_of_measurement

This commit is contained in:
Paulus Schoutsen committed 2014-11-08 17:45:09 -08:00
1 parent 5770cc03a1
commit 2ec1f20a03
4 files changed
+16 -3

No files matched your search

+3
View File
@@ -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'