Skip to content

Commit

Permalink
fix: remove clg
Browse files Browse the repository at this point in the history
  • Loading branch information
flixlix committed May 24, 2023
1 parent 0407b72 commit 9689f5e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/energy-flow-card-plus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,13 +818,7 @@ export default class EnergyFlowCardPlus extends SubscribeMixin(LitElement) {
entities.fossil_fuel_percentage?.icon ||
(entities.fossil_fuel_percentage?.use_metadata && this.getEntityStateObj(entities.fossil_fuel_percentage.entity)?.attributes?.icon) ||
'mdi:leaf';
console.log(
entities.fossil_fuel_percentage?.icon,
entities.fossil_fuel_percentage?.use_metadata,
this.getEntityStateObj(entities.fossil_fuel_percentage.entity)?.attributes?.icon,
nonFossilIcon,
);


const nonFossilName =
entities.fossil_fuel_percentage?.name ||
(entities.fossil_fuel_percentage?.use_metadata && this.getEntityStateObj(entities.fossil_fuel_percentage.entity)?.attributes.friendly_name) ||
Expand Down

0 comments on commit 9689f5e

Please sign in to comment.