This commit is contained in:
Yegor Vialov
2018-10-15 18:04:16 +03:00
parent 69f45b52cf
commit c23034688e
4 changed files with 430 additions and 88 deletions

View File

@ -350,7 +350,7 @@ class ClimateStateWidget extends StatelessWidget {
fontSize: entityModel.entity.stateFontSize,
)),
Text(
entity.temperature!= null ? " ${entity.temperature}" : " ${entity.targetLow} - ${entity.targetHigh}",
entity.supportTargetTemperature ? " ${entity.temperature}" : " ${entity.targetLow} - ${entity.targetHigh}",
textAlign: TextAlign.right,
style: new TextStyle(
fontSize: entityModel.entity.stateFontSize,