bugfix
This commit is contained in:
parent
c806ca0b7d
commit
f06d3dba74
@ -38,7 +38,7 @@ class StateSwitch extends cardTools.litElement() {
|
||||
this.currentCard = this.cards[hass.user.name]
|
||||
|| this.cards[this.config.default];
|
||||
} else if(this.config.entity == 'browser') {
|
||||
this.currentCard = this.cards[cardTools.deviceID]
|
||||
this.currentCard = this.cards[cardTools.deviceID()]
|
||||
|| ((this.config.default)
|
||||
? this.cards[this.config.default]
|
||||
: this.idCard);
|
||||
|
Loading…
x
Reference in New Issue
Block a user