🔥 remove more-info-updater (#4544)

* 🔥 remove more-info-updater

* remove reference
This commit is contained in:
Ian Richardson 2020-01-22 11:30:12 -06:00 committed by Paulus Schoutsen
parent 0f8cf574d3
commit 572215b359
2 changed files with 0 additions and 42 deletions

View File

@ -19,7 +19,6 @@ import "./more-info-media_player";
import "./more-info-script";
import "./more-info-sun";
import "./more-info-timer";
import "./more-info-updater";
import "./more-info-vacuum";
import "./more-info-water_heater";
import "./more-info-weather";

View File

@ -1,41 +0,0 @@
import { html } from "@polymer/polymer/lib/utils/html-tag";
import { PolymerElement } from "@polymer/polymer/polymer-element";
import LocalizeMixin from "../../../mixins/localize-mixin";
class MoreInfoUpdater extends LocalizeMixin(PolymerElement) {
static get template() {
return html`
<style>
.link {
color: #03a9f4;
}
</style>
<div>
<a
class="link"
href="https://www.home-assistant.io/docs/installation/updating/"
target="_blank"
>[[localize('ui.dialogs.more_info_control.updater.title')]]</a
>
</div>
`;
}
static get properties() {
return {
stateObj: {
type: Object,
},
};
}
computeReleaseNotes(stateObj) {
return (
stateObj.attributes.release_notes ||
"https://www.home-assistant.io/docs/installation/updating/"
);
}
}
customElements.define("more-info-updater", MoreInfoUpdater);