mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 01:36:49 +00:00
fixed code style
This commit is contained in:
parent
bc03090e8a
commit
9197d358d2
@ -166,12 +166,12 @@ export default new Polymer({
|
|||||||
this.callService('media_next_track');
|
this.callService('media_next_track');
|
||||||
},
|
},
|
||||||
|
|
||||||
handleSourceChanged(source) {
|
handleSourceChanged(sourceInput) {
|
||||||
// Selected Option will transition to '' before transitioning to new value
|
// Selected Option will transition to '' before transitioning to new value
|
||||||
if (source === '' || source === this.stateObj.attributes.source) {
|
if (sourceInput === '' || sourceInput === this.stateObj.attributes.source) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.callService('select_source', { source: source });
|
this.callService('select_source', { source: sourceInput });
|
||||||
},
|
},
|
||||||
|
|
||||||
handleVolumeTap() {
|
handleVolumeTap() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user