mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Consider "on" as valid media state (#3020)
This commit is contained in:
parent
5080f4c2db
commit
c95a44c570
@ -37,7 +37,9 @@ export default class MediaPlayerEntity {
|
||||
}
|
||||
|
||||
get hasMediaControl() {
|
||||
return ["playing", "paused", "unknown"].indexOf(this.stateObj.state) !== -1;
|
||||
return (
|
||||
["playing", "paused", "unknown", "on"].indexOf(this.stateObj.state) !== -1
|
||||
);
|
||||
}
|
||||
|
||||
get volumeSliderValue() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user