From 417879b6a8fcc4bb4c8ed007b1b1f19390cce35f Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Fri, 24 Aug 2018 23:58:44 +0200 Subject: [PATCH] Add force_update: true for action --- lib/homeassistant.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/homeassistant.js b/lib/homeassistant.js index d323c4a73..889c7e501 100644 --- a/lib/homeassistant.js +++ b/lib/homeassistant.js @@ -106,7 +106,6 @@ const configurations = { icon: 'mdi:toggle-switch', value_template: '{{ value_json.click }}', json_attributes: ['battery', 'voltage', 'action', 'duration'], - expire_after: 1, force_update: true, }, }, @@ -127,6 +126,7 @@ const configurations = { icon: 'mdi:cube', value_template: '{{ value_json.action }}', json_attributes: ['battery', 'voltage', 'angle', 'side', 'from_side', 'to_side'], + force_update: true, }, }, 'sensor_brightness': {