Skip to content

Commit

Permalink
Clean unused code (#1438)
Browse files Browse the repository at this point in the history
* Remove legacy conditional editor

* Remove ha-state-icon backward compatibility
  • Loading branch information
piitaya authored May 30, 2024
1 parent 04db261 commit ea81025
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 388 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ export class AlarmControlPanelCard
<ha-state-icon
.hass=${this.hass}
.stateObj=${stateObj}
.state=${stateObj}
.icon=${icon}
></ha-state-icon>
</mushroom-shape-icon>
Expand Down
1 change: 0 additions & 1 deletion src/cards/chips-card/chips/alarm-control-panel-chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export class AlarmControlPanelChip extends LitElement implements LovelaceChip {
<ha-state-icon
.hass=${this.hass}
.stateObj=${stateObj}
.state=${stateObj}
.icon=${icon}
style=${styleMap(iconStyle)}
class=${classMap({ pulse: iconPulse })}
Expand Down
364 changes: 0 additions & 364 deletions src/cards/chips-card/chips/conditional-chip-editor-legacy.ts

This file was deleted.

Loading

0 comments on commit ea81025

Please sign in to comment.