WIP Themes: State colors from themes
This commit is contained in:
@ -67,7 +67,7 @@ class EntityIcon extends StatelessWidget {
|
||||
padding: padding,
|
||||
child: buildIcon(
|
||||
entityWrapper,
|
||||
color ?? HAClientTheme().stateColor(entityWrapper.entity.state)
|
||||
color ?? HAClientTheme().getColorByEntityState(entityWrapper.entity.state, context)
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user