From 3fd0ee9d754a0588ec120d271e3779f6726f94ff Mon Sep 17 00:00:00 2001 From: Charles Garwood Date: Wed, 17 Jul 2019 23:26:45 -0400 Subject: [PATCH 1/5] Convert zwave-values to ts & add translation strings (#3367) * Convert zwave-values to ts & add translation strings * lint * Change some common translation strings to live under "common" instead of "values" * Cleanup & address review comments --- src/data/zwave.ts | 10 ++ src/panels/config/zwave/zwave-values.js | 121 ------------------------ src/panels/config/zwave/zwave-values.ts | 119 +++++++++++++++++++++++ src/translations/en.json | 8 ++ 4 files changed, 137 insertions(+), 121 deletions(-) delete mode 100644 src/panels/config/zwave/zwave-values.js create mode 100644 src/panels/config/zwave/zwave-values.ts diff --git a/src/data/zwave.ts b/src/data/zwave.ts index f86b11bd28..8ca10a78ca 100644 --- a/src/data/zwave.ts +++ b/src/data/zwave.ts @@ -4,6 +4,13 @@ export interface ZWaveNetworkStatus { state: number; } +export interface ZWaveValue { + index: number; + instance: number; + label: string; + poll_intensity: number; +} + export const ZWAVE_NETWORK_STATE_STOPPED = 0; export const ZWAVE_NETWORK_STATE_FAILED = 1; export const ZWAVE_NETWORK_STATE_STARTED = 5; @@ -16,3 +23,6 @@ export const fetchNetworkStatus = ( hass.callWS({ type: "zwave/network_status", }); + +export const fetchValues = (hass: HomeAssistant, nodeId: number) => + hass.callApi("GET", `zwave/values/${nodeId}`); diff --git a/src/panels/config/zwave/zwave-values.js b/src/panels/config/zwave/zwave-values.js deleted file mode 100644 index f3fcea767d..0000000000 --- a/src/panels/config/zwave/zwave-values.js +++ /dev/null @@ -1,121 +0,0 @@ -import "@polymer/paper-dropdown-menu/paper-dropdown-menu"; -import "@polymer/paper-item/paper-item"; -import "@polymer/paper-listbox/paper-listbox"; -import { html } from "@polymer/polymer/lib/utils/html-tag"; -import { PolymerElement } from "@polymer/polymer/polymer-element"; - -import "../../../components/buttons/ha-call-service-button"; -import "../../../components/ha-card"; - -class ZwaveValues extends PolymerElement { - static get template() { - return html` - -
- -
- - - - - -
-
-
- `; - } - - static get properties() { - return { - hass: Object, - - nodes: Array, - - values: Array, - - selectedNode: { - type: Number, - observer: "selectedNodeChanged", - }, - - _selectedValue: { - type: Number, - value: -1, - observer: "_selectedValueChanged", - }, - }; - } - - ready() { - super.ready(); - this.addEventListener("hass-service-called", (ev) => - this.serviceCalled(ev) - ); - } - - serviceCalled(ev) { - if (ev.detail.success) { - setTimeout(() => { - this._refreshValues(this.selectedNode); - }, 5000); - } - } - - _computeSelectCaption(item) { - return `${item.value.label} (Instance: ${item.value.instance}, Index: ${ - item.value.index - })`; - } - - async _refreshValues(selectedNode) { - const valueData = []; - const values = await this.hass.callApi( - "GET", - `zwave/values/${this.nodes[selectedNode].attributes.node_id}` - ); - Object.keys(values).forEach((key) => { - valueData.push({ - key, - value: values[key], - }); - }); - this.setProperties({ values: valueData }); - this._selectedValueChanged(this._selectedValue); - } - - _selectedValueChanged() {} - - selectedNodeChanged(selectedNode) { - if (selectedNode === -1) return; - this.setProperties({ _selectedValue: -1 }); - } -} - -customElements.define("zwave-values", ZwaveValues); diff --git a/src/panels/config/zwave/zwave-values.ts b/src/panels/config/zwave/zwave-values.ts new file mode 100644 index 0000000000..2beda32122 --- /dev/null +++ b/src/panels/config/zwave/zwave-values.ts @@ -0,0 +1,119 @@ +import "@polymer/paper-dropdown-menu/paper-dropdown-menu"; +import "@polymer/paper-item/paper-item"; +import "@polymer/paper-listbox/paper-listbox"; + +import { + css, + CSSResult, + customElement, + html, + LitElement, + property, + TemplateResult, +} from "lit-element"; + +import { haStyle } from "../../../resources/styles"; +import { HomeAssistant } from "../../../types"; + +import "../../../components/buttons/ha-call-service-button"; +import "../../../components/ha-card"; + +import { ZWaveValue } from "../../../data/zwave"; + +@customElement("zwave-values") +export class ZwaveValues extends LitElement { + @property() public hass!: HomeAssistant; + @property() private _values: ZWaveValue[] = []; + @property() private _selectedValue: number = -1; + + protected render(): TemplateResult | void { + return html` +
+ +
+ + + ${this._values.map( + (item) => html` + ${item.label} + (${this.hass.localize( + "ui.panel.config.zwave.common.instance" + )}: + ${item.instance}, + ${this.hass.localize( + "ui.panel.config.zwave.common.index" + )}: + ${item.index}) + ` + )} + + +
+
+
+ `; + } + + static get styles(): CSSResult[] { + return [ + haStyle, + css` + .content { + margin-top: 24px; + } + + ha-card { + margin: 0 auto; + max-width: 600px; + } + + .device-picker { + @apply --layout-horizontal; + @apply --layout-center-center; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -ms-flex-direction: row; + -webkit-flex-direction: row; + flex-direction: row; + -ms-flex-align: center; + -webkit-align-items: center; + align-items: center; + padding-left: 24px; + padding-right: 24px; + padding-bottom: 24px; + } + + .flex { + -ms-flex: 1 1 0.000000001px; + -webkit-flex: 1; + flex: 1; + -webkit-flex-basis: 0.000000001px; + flex-basis: 0.000000001px; + } + + .help-text { + padding-left: 24px; + padding-right: 24px; + } + `, + ]; + } +} + +declare global { + interface HTMLElementTagNameMap { + "zwave-values": ZwaveValues; + } +} diff --git a/src/translations/en.json b/src/translations/en.json index 84ed63da12..fe27bab9d8 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -915,6 +915,11 @@ "zwave": { "caption": "Z-Wave", "description": "Manage your Z-Wave network", + "common": { + "value": "Value", + "instance": "Instance", + "index": "Index" + }, "network_management": { "header": "Z-Wave Network Management", "introduction": "Run commands that affect the Z-Wave network. You won't get feedback on whether most commands succeeded, but you can check the OZW Log to try to find out." @@ -927,6 +932,9 @@ "network_started_note_some_queried": "Awake nodes have been queried. Sleeping nodes will be queried when they wake.", "network_started_note_all_queried": "All nodes have been queried." }, + "values": { + "header": "Node Values" + }, "services": { "start_network": "Start Network", "stop_network": "Stop Network", From 4f2b82d7875223cd010b0880b268654451208302 Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Thu, 18 Jul 2019 18:36:15 +0200 Subject: [PATCH 2/5] Fix missing end tag (#3378) * Fix missing end tag * Prettify file --- .../lovelace/cards/hui-thermostat-card.ts | 47 +++++++++---------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/src/panels/lovelace/cards/hui-thermostat-card.ts b/src/panels/lovelace/cards/hui-thermostat-card.ts index 1a9ea12103..12b20c2022 100644 --- a/src/panels/lovelace/cards/hui-thermostat-card.ts +++ b/src/panels/lovelace/cards/hui-thermostat-card.ts @@ -116,7 +116,8 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard { [mode]: true, large: this._broadCard!, small: !this._broadCard, - })}"> + })}" + >
-
${this._config.name || - computeStateName(stateObj)}
+
+ ${this._config.name || computeStateName(stateObj)} +
${stateObj.attributes.current_temperature} - ${ - stateObj.attributes.current_temperature - ? html` - ${this.hass.config.unit_system.temperature} - ` - : "" - } + ${stateObj.attributes.current_temperature + ? html` + ${this.hass.config.unit_system.temperature} + ` + : ""}
-
-
- ${this.hass!.localize(`state.climate.${stateObj.state}`)} - ${ - stateObj.attributes.preset_mode +
+
+ ${this.hass!.localize(`state.climate.${stateObj.state}`)} + ${stateObj.attributes.preset_mode ? html` - ${this.hass!.localize( @@ -155,13 +154,13 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard { }` ) || stateObj.attributes.preset_mode} ` - : "" - } -
-
- ${stateObj.attributes.hvac_modes.map((modeItem) => - this._renderIcon(modeItem, mode) - )} + : ""} +
+
+ ${stateObj.attributes.hvac_modes.map((modeItem) => + this._renderIcon(modeItem, mode) + )} +
From cdfd9cea5c50eea69f8e296735ed569eb87356c0 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 18 Jul 2019 14:03:04 -0700 Subject: [PATCH 3/5] Fix shade for HVAC action on graph (#3380) --- src/components/state-history-chart-line.js | 17 +++++++++++++---- src/data/climate.ts | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/state-history-chart-line.js b/src/components/state-history-chart-line.js index 7f05bd3f36..f88b48053b 100644 --- a/src/components/state-history-chart-line.js +++ b/src/components/state-history-chart-line.js @@ -155,6 +155,15 @@ class StateHistoryChartLine extends LocalizeMixin(PolymerElement) { domain === "climate" || domain === "water_heater" ) { + const isHeating = + domain === "climate" + ? (state) => state.attributes.hvac_action === "heating" + : (state) => state.state === "heat"; + const isCooling = + domain === "climate" + ? (state) => state.attributes.hvac_action === "cooling" + : (state) => state.state === "cool"; + // We differentiate between thermostats that have a target temperature // range versus ones that have just a target temperature @@ -165,8 +174,8 @@ class StateHistoryChartLine extends LocalizeMixin(PolymerElement) { state.attributes.target_temp_high !== state.attributes.target_temp_low ); - const hasHeat = states.states.some((state) => state.state === "heat"); - const hasCool = states.states.some((state) => state.state === "cool"); + const hasHeat = states.states.some(isHeating); + const hasCool = states.states.some(isCooling); addColumn(name + " current temperature", true); if (hasHeat) { @@ -192,10 +201,10 @@ class StateHistoryChartLine extends LocalizeMixin(PolymerElement) { const curTemp = safeParseFloat(state.attributes.current_temperature); const series = [curTemp]; if (hasHeat) { - series.push(state.state === "heat" ? curTemp : null); + series.push(isHeating(state) ? curTemp : null); } if (hasCool) { - series.push(state.state === "cool" ? curTemp : null); + series.push(isCooling(state) ? curTemp : null); } if (hasTargetRange) { const targetHigh = safeParseFloat( diff --git a/src/data/climate.ts b/src/data/climate.ts index e3dab8dd9e..f3ce4f83c6 100644 --- a/src/data/climate.ts +++ b/src/data/climate.ts @@ -12,7 +12,7 @@ export type HvacMode = | "dry" | "fan_only"; -export type HvacAction = "off" | "Heating" | "cooling" | "drying" | "idle"; +export type HvacAction = "off" | "heating" | "cooling" | "drying" | "idle"; export type ClimateEntity = HassEntityBase & { attributes: HassEntityAttributeBase & { From 99c5f2a88a1cd5bf25665888bb1c82ef9c8ef106 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 18 Jul 2019 14:06:07 -0700 Subject: [PATCH 4/5] Update translations --- translations/ca.json | 5 +-- translations/da.json | 2 +- translations/de.json | 3 +- translations/fr.json | 14 +++++++-- translations/is.json | 73 ++++++++++++++++++++++++++++++++++++++------ translations/ko.json | 3 +- translations/lb.json | 7 +++-- translations/nb.json | 9 ++++-- translations/nl.json | 9 ++++-- translations/pl.json | 3 +- translations/ru.json | 5 +-- 11 files changed, 106 insertions(+), 27 deletions(-) diff --git a/translations/ca.json b/translations/ca.json index ae24b3b7b3..fd69261755 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -141,7 +141,8 @@ "high_demand": "Alta potència", "heat_pump": "Bomba de calor", "gas": "Gas", - "manual": "Manual" + "manual": "Manual", + "heat_cool": "Escalfar\/Refredar" }, "configurator": { "configure": "Configurar", @@ -397,7 +398,7 @@ "description": "Personalitza les entitats", "picker": { "header": "Personalització", - "introduction": "Modificació dels atributs d'entitat. Les personalitzacions afegides\/modificades apareixeran immediatament. Les personalitzacions eliminades tindran efecte quan l'entitat s'actualitzi." + "introduction": "Personalitza els atributs de les entitats al teu gust. Les personalitzacions afegides\/modificades apareixeran immediatament, les que s'hagin eliminat tindran efecte quan l'entitat s'actualitzi." } }, "automation": { diff --git a/translations/da.json b/translations/da.json index 3ad4917edf..8c7609695d 100644 --- a/translations/da.json +++ b/translations/da.json @@ -319,7 +319,7 @@ "title": "Begivenheder" }, "templates": { - "title": "Skabeloner" + "title": "Skabelon" }, "mqtt": { "title": "MQTT" diff --git a/translations/de.json b/translations/de.json index 4748b6c538..a1165c7a1b 100644 --- a/translations/de.json +++ b/translations/de.json @@ -141,7 +141,8 @@ "high_demand": "Hoher Verbrauch", "heat_pump": "Wärmepumpe", "gas": "Gas", - "manual": "Manuell" + "manual": "Manuell", + "heat_cool": "Heizen\/Kühlen" }, "configurator": { "configure": "Konfigurieren", diff --git a/translations/fr.json b/translations/fr.json index cd4a8e038d..95ef31a211 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -141,7 +141,8 @@ "high_demand": "Forte demande", "heat_pump": "Pompe à chaleur", "gas": "Gaz", - "manual": "Manuel" + "manual": "Manuel", + "heat_cool": "Chaud\/Froid" }, "configurator": { "configure": "Configurer", @@ -323,6 +324,9 @@ }, "mqtt": { "title": "MQTT" + }, + "info": { + "title": "Info" } } }, @@ -586,7 +590,10 @@ }, "zwave": { "caption": "Z-Wave", - "description": "Gérez votre réseau Z-Wave" + "description": "Gérez votre réseau Z-Wave", + "services": { + "save_config": "Enregistrer la configuration" + } }, "users": { "caption": "Utilisateurs", @@ -779,7 +786,8 @@ "step_done": "Configuration terminée pour {step}", "close": "Fermer", "submit": "Envoyer" - } + }, + "logout": "Déconnexion" }, "page-authorize": { "initializing": "Initialisation", diff --git a/translations/is.json b/translations/is.json index 15799e0ad8..2c15a1de58 100644 --- a/translations/is.json +++ b/translations/is.json @@ -118,13 +118,15 @@ "eco": "Sparnaður", "heat_pump": "Hitadæla", "gas": "Gas", - "manual": "Handvirkt" + "manual": "Handvirkt", + "heat_cool": "Hita\/Kæla" }, "cover": { "open": "Opin", "opening": "Opna", "closed": "Lokað", - "closing": "Loka" + "closing": "Loka", + "stopped": "Stöðvuð" }, "device_tracker": { "home": "Heima", @@ -222,11 +224,14 @@ "windy-variant": "Vindasamt" }, "vacuum": { + "cleaning": "Að ryksuga", + "docked": "í tengikví", "error": "Villa", "idle": "Aðgerðalaus", "off": "Slökkt", "on": "Í gangi", - "paused": "Í bið" + "paused": "Í bið", + "returning": "Á leið tilbaka í tengikví" }, "timer": { "active": "virkur", @@ -244,6 +249,9 @@ "error": "Villa", "entity_not_found": "Eining fannst ekki" }, + "alarm_control_panel": { + "triggered": "Kveik" + }, "device_tracker": { "home": "Heima", "not_home": "Fjarverandi" @@ -369,10 +377,14 @@ "unsaved_confirm": "Þú ert með óvistaðar breytingar. Ertu viss um að þú viljir fara?", "alias": "Nafn", "triggers": { + "header": "Kveikjur", + "introduction": "Kveikjur sjá um að ræsa sjálfvirkni reglur. Það er mögulegt að tilgreina margar kveikjur fyrir sömu regluna. Þegar kveikja er ræst þá mun Home Assistant sannreyna skilyrðin ef einhver og kalla á aðgerðina.", + "add": "Bæta við kveikju", "duplicate": "Fjölfalda", "delete": "Eyða", "delete_confirm": "Ert þú viss um að þú viljir eyða?", "unsupported_platform": "Vettvangur ekki studdur: {platform}", + "type_select": "Gerð kveikju", "type": { "event": { "label": "Viðburður", @@ -396,7 +408,8 @@ }, "numeric_state": { "above": "Yfir", - "below": "Undir" + "below": "Undir", + "value_template": "Gildissniðmát (valfrjálst)" }, "sun": { "label": "Sól", @@ -404,6 +417,10 @@ "sunrise": "Sólarupprás", "sunset": "Sólsetur" }, + "template": { + "label": "Sniðmát", + "value_template": "Gildissniðmát" + }, "time": { "label": "Tími", "at": "Þann" @@ -434,7 +451,8 @@ "enter": "Koma", "leave": "Brottför" } - } + }, + "learn_more": "Læra meira um gikki" }, "conditions": { "header": "Skilyrði", @@ -451,7 +469,8 @@ }, "numeric_state": { "above": "Yfir", - "below": "Undir" + "below": "Undir", + "value_template": "Gildissniðmát (valfrjálst)" }, "sun": { "label": "Sól", @@ -460,6 +479,10 @@ "sunrise": "Sólarupprás", "sunset": "Sólsetur" }, + "template": { + "label": "Sniðmát", + "value_template": "Gildissniðmát" + }, "time": { "label": "Tími", "after": "Eftir", @@ -493,13 +516,15 @@ }, "wait_template": { "label": "Bið", - "wait_template": "Bið skapalón", + "wait_template": "Bið sniðmát", "timeout": "Tímamörk (valfrjálst)" }, "condition": { "label": "Skilyrði" }, "event": { + "label": "Skjóta viðburði", + "event": "Viðburður:", "service_data": "Þjónustu gögn" } }, @@ -522,11 +547,15 @@ "network_status": { "network_stopped": "Z-Wave net stöðvað", "network_starting": "Ræsi Z-Wave net...", + "network_starting_note": "Þetta gæti tekið smá stund, veltur á stærð netsins.", "network_started": "Z-Wave net ræst" }, "services": { "start_network": "Ræsa net", - "stop_network": "Söðva net", + "stop_network": "Stöðva net", + "heal_network": "Lækna net", + "test_network": "Prófa net", + "soft_reset": "Mjúk endurstilling", "save_config": "Vista stillingar", "cancel_command": "Hætta við skipun" } @@ -832,6 +861,7 @@ }, "core-config": { "intro": "Hæ {name}, velkomin(n) í Home Assistant. Hvað á heimilið þitt að heita?", + "intro_location": "Okkur langar að vita hvar þú býrð. Þessar upplýsingar munu hjálpa varðandi upplýsingar og uppsetningu á sólar-tengdri sjálfvirkni. Þessum upplýsingum er aldrei deilt út fyrir þitt net.", "location_name_default": "Heima", "button_detect": "Uppgötva", "finish": "Næsta" @@ -923,8 +953,12 @@ "config": { "arsaboo": { "names": { + "upstairs": "Uppi", "family_room": "Fjölskyldurými", "kitchen": "Eldhús", + "patio": "Verönd", + "hallway": "Gangur", + "master_bedroom": "Hjónaherbergi", "left": "Vinstri", "right": "Hægri", "mirror": "Spegill" @@ -932,6 +966,8 @@ "labels": { "lights": "Ljós", "information": "Upplýsingar", + "morning_commute": "Morgunferðalag", + "commute_home": "Á leiðinni heim", "entertainment": "Skemmtun", "activity": "Virkni", "hdmi_input": "HDMI inntak", @@ -1014,6 +1050,10 @@ "code": "Kóði", "clear_code": "Hreinsa" }, + "automation": { + "last_triggered": "Síðast kveikt", + "trigger": "Kveikja" + }, "cover": { "position": "Staðsetning" }, @@ -1035,9 +1075,13 @@ "climate": { "currently": "Er núna", "on_off": "Kveikt \/ slökkt", + "target_temperature": "Viðmiðunar hitastig", + "target_humidity": "Viðmiðunar rakastig", "operation": "Aðgerð", "fan_mode": "Viftuhamur", - "swing_mode": "Sveifluhamur" + "swing_mode": "Sveifluhamur", + "away_mode": "Fjarverandi hamur", + "preset_mode": "Forstilling" }, "lock": { "code": "Kóði", @@ -1057,7 +1101,8 @@ "currently": "Er núna", "on_off": "Kveikt \/ slökkt", "target_temperature": "Viðmiðunarhitastig", - "operation": "Aðgerð" + "operation": "Aðgerð", + "away_mode": "Fjarverandi hamur" } }, "components": { @@ -1178,6 +1223,14 @@ "off": "Slökkt", "on": "Kveikt", "auto": "Sjálfvirkt" + }, + "preset_mode": { + "none": "Ekkert", + "eco": "Sparnaður", + "away": "Fjarverandi", + "comfort": "Þægindi", + "home": "Heima", + "sleep": "Svefn" } } }, diff --git a/translations/ko.json b/translations/ko.json index 37d9c39ca0..3d21f6a1c4 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -141,7 +141,8 @@ "high_demand": "고성능", "heat_pump": "순환펌프", "gas": "가스", - "manual": "수동" + "manual": "수동", + "heat_cool": "냉난방" }, "configurator": { "configure": "설정", diff --git a/translations/lb.json b/translations/lb.json index b77d109cce..973036a7a7 100644 --- a/translations/lb.json +++ b/translations/lb.json @@ -141,7 +141,8 @@ "high_demand": "Héich Ufro", "heat_pump": "Heizung", "gas": "Gas", - "manual": "Manuell" + "manual": "Manuell", + "heat_cool": "Hëtzen\/Ofkillen" }, "configurator": { "configure": "Astellen", @@ -591,13 +592,15 @@ "caption": "Z-Wave", "description": "Verwalt är Z-Wave Netzwierk", "network_management": { - "header": "Z-Wave Netzwierk Verwaltung" + "header": "Z-Wave Netzwierk Verwaltung", + "introduction": "Féiert Commande aus am Z-Wave Netzwierk. Di kritt kee Feedback op déi meeschte Commande erfollegräich ausgeféiert goufen, mee dir kënnt de OZW Log ënnersiche fir weider Detailer" }, "network_status": { "network_stopped": "Z-Wave Netzwierk gestoppt", "network_starting": "Z-Wave Netzwierk start", "network_starting_note": "Dës kann eng Weil dauere jee no gréisst vum Netzwierk.", "network_started": "Z-Wave Netzwierk gestart", + "network_started_note_some_queried": "Aktiv Apparater sinn ofgefrot. Inaktiv Apparater ginn ofgefrot soubal sie aktiv sinn.", "network_started_note_all_queried": "All Apparater sinn ofgefrot" }, "services": { diff --git a/translations/nb.json b/translations/nb.json index 71fc514a16..8426048ddb 100644 --- a/translations/nb.json +++ b/translations/nb.json @@ -141,7 +141,8 @@ "high_demand": "Høy etterspørsel", "heat_pump": "Varmepumpe", "gas": "Gass", - "manual": "Manuell" + "manual": "Manuell", + "heat_cool": "Varme\/kjøling" }, "configurator": { "configure": "Konfigurer", @@ -323,6 +324,9 @@ }, "mqtt": { "title": "MQTT" + }, + "info": { + "title": "Info" } } }, @@ -803,7 +807,8 @@ "step_done": "Oppsett fullført for {step}", "close": "Lukk", "submit": "Send inn" - } + }, + "logout": "Logg ut" }, "page-authorize": { "initializing": "Initialiserer", diff --git a/translations/nl.json b/translations/nl.json index 27e3b427cd..feef8ff91e 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -141,7 +141,8 @@ "high_demand": "Hoge vraag", "heat_pump": "Warmtepomp", "gas": "Gas", - "manual": "Handmatig" + "manual": "Handmatig", + "heat_cool": "Verwarmen\/Koelen" }, "configurator": { "configure": "Configureer", @@ -323,6 +324,9 @@ }, "mqtt": { "title": "MQTT" + }, + "info": { + "title": "Info" } } }, @@ -803,7 +807,8 @@ "step_done": "Instellen voltooid voor {step}", "close": "Sluiten", "submit": "Verzenden" - } + }, + "logout": "Uitloggen" }, "page-authorize": { "initializing": "Initialiseren", diff --git a/translations/pl.json b/translations/pl.json index 32a89394ca..79cc6a9345 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -141,7 +141,8 @@ "high_demand": "duży rozbiór", "heat_pump": "pompa ciepła", "gas": "gaz", - "manual": "manualnie" + "manual": "manualnie", + "heat_cool": "grzanie\/chłodzenie" }, "configurator": { "configure": "Skonfiguruj", diff --git a/translations/ru.json b/translations/ru.json index 766ce6b654..85deb108aa 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -8,7 +8,7 @@ "mailbox": "Почта", "shopping_list": "Список покупок", "dev-info": "Информация", - "developer_tools": "Инструменты разработчика", + "developer_tools": "Панель разработчика", "calendar": "Календарь", "profile": "Профиль" }, @@ -141,7 +141,8 @@ "high_demand": "Большая нагрузка", "heat_pump": "Тепловой насос", "gas": "Газовый", - "manual": "Ручной режим" + "manual": "Ручной режим", + "heat_cool": "Нагрев \/ Охлаждение" }, "configurator": { "configure": "Настроить", From 1ee9811644808d1e6422d00c14019b88b7ebc166 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 18 Jul 2019 14:06:10 -0700 Subject: [PATCH 5/5] Bumped version to 20190718.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2a174c9276..fffea4821b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="home-assistant-frontend", - version="20190717.1", + version="20190718.0", description="The Home Assistant frontend", url="https://github.com/home-assistant/home-assistant-polymer", author="The Home Assistant Authors",