We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e005a9c commit 56d8bbeCopy full SHA for 56d8bbe
src/timer-bar-mushroom-row.ts
@@ -140,8 +140,8 @@ export class TimerBarMushroomRow extends TimerBarEntityRow {
140
}
141
142
protected _renderIcon(stateObj: HassEntity): TemplateResult {
143
- const icon = this.config.icon;
144
const active = this._mode() == "active";
+ const icon = active ? this.config.active_icon ?? this.config.icon : this.config.icon;
145
let style = "";
146
if (this.mushroom.icon_color || this.mushroom.color) {
147
const iconRgbColor = computeRgbColor(
0 commit comments