Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
Remove delay when modding an entity row
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed Nov 11, 2018
1 parent c7a18c8 commit 6c15afe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions card-modder.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class CardModder extends HTMLElement {
let target = this.card;

let maxDelay = 5000;
if(this.config.card.type.endsWith("-row")) maxDelay = 0;
while(maxDelay) {
if(this.card.shadowRoot &&
this.card.shadowRoot.querySelector("ha-card")) {
Expand Down

0 comments on commit 6c15afe

Please sign in to comment.