1
0
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:
Paulus Schoutsen
2014-11-08 17:45:09 -08:00
parent 5770cc03a1
commit 2ec1f20a03
4 changed files with 16 additions and 3 deletions

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'