This commit is contained in:
Yegor Vialov
2018-10-15 00:29:40 +03:00
parent ffc053fbe6
commit 69f45b52cf
5 changed files with 37 additions and 13 deletions

View File

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