From 5469c425e7695352a8402edd1fa6d36f95f0e083 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 18 Apr 2017 20:45:01 -0700 Subject: [PATCH] Add reload scripts button to config --- panels/config/core/ha-config-section-core.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/panels/config/core/ha-config-section-core.html b/panels/config/core/ha-config-section-core.html index 24ad867717..9284941f77 100644 --- a/panels/config/core/ha-config-section-core.html +++ b/panels/config/core/ha-config-section-core.html @@ -104,7 +104,13 @@ domain='automation' service='reload' hidden$='[[!automationLoaded(hass)]]' - >Reload automation + >Reload Automation + Reload Scripts @@ -168,6 +174,10 @@ Polymer({ return window.hassUtil.isComponentLoaded(hass, 'automation'); }, + scriptLoaded: function (hass) { + return window.hassUtil.isComponentLoaded(hass, 'script'); + }, + validateConfig: function () { this.validating = true; this.validateLog = '';