From 7403fc7ce4e9694cb611086c7dec79a9891e8cda Mon Sep 17 00:00:00 2001 From: Aron Tsang Date: Fri, 27 Jul 2018 03:17:09 +0800 Subject: [PATCH] Add force update --- lib/homeassistant.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/homeassistant.js b/lib/homeassistant.js index 1afef711..d323c4a7 100644 --- a/lib/homeassistant.js +++ b/lib/homeassistant.js @@ -107,6 +107,7 @@ const configurations = { value_template: '{{ value_json.click }}', json_attributes: ['battery', 'voltage', 'action', 'duration'], expire_after: 1, + force_update: true, }, }, 'sensor_power': {