Skip to content

Commit

Permalink
Merge pull request #52 from flixlix/fix-home-secondary-not-clickable
Browse files Browse the repository at this point in the history
fix: home secondary not clickable
  • Loading branch information
flixlix committed Jun 13, 2023
2 parents e35f60a + 6a6936c commit 30f9563
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/energy-flow-card-plus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ export default class EnergyFlowCardPlus extends SubscribeMixin(LitElement) {
${generalSecondarySpan(home, 'home')}
<ha-icon .icon=${homeIcon}></ha-icon>
${homeUsageToDisplay}
<svg>
<svg class="home-circle-sections">
${homeSolarCircumference !== undefined
? svg`<circle
class="solar"
Expand Down
4 changes: 4 additions & 0 deletions src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,4 +385,8 @@ export const styles = css`
.card-actions a {
text-decoration: none;
}
.home-circle-sections {
pointer-events: none;
}
`;

0 comments on commit 30f9563

Please sign in to comment.