mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 05:27:46 +00:00
rookie mistake
This commit is contained in:
parent
be9ec50e3a
commit
0964130782
@ -69,8 +69,6 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard {
|
|||||||
}
|
}
|
||||||
const stateObj = this.hass.states[this._config.entity] as MediaEntity;
|
const stateObj = this.hass.states[this._config.entity] as MediaEntity;
|
||||||
|
|
||||||
console.log(stateObj);
|
|
||||||
|
|
||||||
if (!stateObj) {
|
if (!stateObj) {
|
||||||
return html`
|
return html`
|
||||||
<hui-warning
|
<hui-warning
|
||||||
|
Loading…
x
Reference in New Issue
Block a user