-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from scottyphillips/experimental
Rebase to updated component from experimental.
- Loading branch information
Showing
6 changed files
with
256 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from homeassistant.const import CONF_ICON, CONF_NAME, CONF_TYPE | ||
|
||
ATTR_TARGET_TEMPERATURE = "target_temperature" | ||
ATTR_INSIDE_TEMPERATURE = "inside_temperature" | ||
ATTR_OUTSIDE_TEMPERATURE = "outside_temperature" | ||
|
||
ATTR_STATE_ON = "on" | ||
ATTR_STATE_OFF = "off" | ||
|
||
SENSOR_TYPE_TEMPERATURE = "temperature" | ||
|
||
SENSOR_TYPES = { | ||
ATTR_INSIDE_TEMPERATURE: { | ||
CONF_NAME: "Inside Temperature", | ||
CONF_ICON: "mdi:thermometer", | ||
CONF_TYPE: SENSOR_TYPE_TEMPERATURE, | ||
}, | ||
ATTR_OUTSIDE_TEMPERATURE: { | ||
CONF_NAME: "Outside Temperature", | ||
CONF_ICON: "mdi:thermometer", | ||
CONF_TYPE: SENSOR_TYPE_TEMPERATURE, | ||
}, | ||
} |
Oops, something went wrong.