fixed not to include spaces or dots in attribute names (#11694)

mold_indicator should be fixed not to include spaces or dots in attribute names

https://community.home-assistant.io/t/how-to-show-sensor-attribute-est-crit-temp-in-customize-template-and-extra-badge/39451
This commit is contained in:
Åskar Andersson 2018-01-16 10:59:20 +01:00 committed by Daniel Høyer Iversen
parent 632525f4d0
commit dce079e711

View File

@ -19,7 +19,7 @@ import homeassistant.helpers.config_validation as cv
_LOGGER = logging.getLogger(__name__)
ATTR_CRITICAL_TEMP = 'Est. Crit. Temp'
ATTR_CRITICAL_TEMP = 'EstimatedCriticalTemp'
ATTR_DEWPOINT = 'Dewpoint'
CONF_CALIBRATION_FACTOR = 'calibration_factor'