WIP #120 render only needed states

This commit is contained in:
Yegor Vialov
2018-10-31 01:37:36 +02:00
parent 1853bd466e
commit 813770329c
3 changed files with 43 additions and 18 deletions

View File

@ -8,7 +8,8 @@ class ClimateEntity extends Entity {
EntityHistoryConfig historyConfig = EntityHistoryConfig(
chartType: EntityHistoryWidgetType.numericAttributes,
numericState: false,
numericAttributesToShow: ["temperature", "current_temperature"]
numericAttributesToShow: ["temperature", "current_temperature"],
statesToShow: ["heat", "cool", "auto"]
);
static const SUPPORT_TARGET_TEMPERATURE = 1;