Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/mold_indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

_LOGGER = logging.getLogger(__name__)

ATTR_CRITICAL_TEMP = 'Est. Crit. Temp'
ATTR_CRITICAL_TEMP = 'EstimatedCriticalTemp'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attributes should be lowercase snakecase.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes indeed please. Change EstimatedCriticalTemp in estimated_critical_temp

is this updated now, and do we need to change anything in the HA setup?
just using platform: most_indicator as is.
No need to put mold_indicator.py in custom_components ?

Cheers,
Marius

ATTR_DEWPOINT = 'Dewpoint'

CONF_CALIBRATION_FACTOR = 'calibration_factor'
Expand Down