Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions src/panels/config/server_control/ha-config-server-control.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
import "@material/mwc-button";
import "@polymer/app-layout/app-header/app-header";
import "@polymer/app-layout/app-toolbar/app-toolbar";
import "../../../layouts/hass-tabs-subpage";
import { configSections } from "../ha-panel-config";
import "@polymer/paper-input/paper-input";
import {
LitElement,
property,
internalProperty,
customElement,
html,
css,
CSSResult,
customElement,
html,
internalProperty,
LitElement,
property,
TemplateResult,
} from "lit-element";
import { HomeAssistant, Route } from "../../../types";

import "@material/mwc-button";
import "@polymer/paper-input/paper-input";
import { isServiceLoaded } from "../../../common/config/is_service_loaded";
import "../../../components/buttons/ha-call-service-button";
import "../../../components/ha-card";
import "../ha-config-section";
import { haStyle } from "../../../resources/styles";
import { checkCoreConfig } from "../../../data/core";
import "../../../layouts/hass-tabs-subpage";
import { haStyle } from "../../../resources/styles";
import { HomeAssistant, Route } from "../../../types";
import "../ha-config-section";
import { configSections } from "../ha-panel-config";

const reloadableDomains = [
"group",
Expand Down Expand Up @@ -49,19 +48,20 @@ const reloadableDomains = [
"trend",
"ping",
"filesize",
"rpi_gpio",
];

@customElement("ha-config-server-control")
export class HaConfigServerControl extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;

@property() public isWide!: boolean;
@property({ type: Boolean }) public isWide!: boolean;

@property() public narrow!: boolean;
@property({ type: Boolean }) public narrow!: boolean;

@property() public route!: Route;
@property({ attribute: false }) public route!: Route;

@property() public showAdvanced!: boolean;
@property({ type: Boolean }) public showAdvanced!: boolean;

@internalProperty() private _validating = false;

Expand Down
3 changes: 2 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,8 @@
"history_stats": "Reload history stats entities",
"trend": "Reload trend entities",
"ping": "Reload ping binary sensor entities",
"filesize": "Reload file size entities"
"filesize": "Reload file size entities",
"rpi_gpio": "Reload Raspberry Pi GPIO entities"
},
"server_management": {
"heading": "Server management",
Expand Down