I'm trying to keep a device status change (made via JSON) from triggering an event with every JSON request, even when there is no status change:
A plugin I'm building sends a JSON request to set a devicestatus in HS, like this (which works fine):
The device it controls (device_status) takes on a few values, and this is checked: "last change time updates on status change only". Indeed it only shows last change time as expected.
But, a GUI event that is triggered from a change in devicestatus is always triggered. That event is set like this.:

Generally in HS if the status doesn't change, even if set, there is no trigger. In this case whenever device_status is set to "idle" (aka "not equal to Sweeping"), it is triggered. Is there another parameter in the JSON request to prevent this? Or is there another event trigger that is more appropriate?
A plugin I'm building sends a JSON request to set a devicestatus in HS, like this (which works fine):
Code:
http://192.168.1.1/JSON?request=setdevicestatus&ref=' + device_status + '&value=' + str(m) +'&source=SOURCE
But, a GUI event that is triggered from a change in devicestatus is always triggered. That event is set like this.:
Generally in HS if the status doesn't change, even if set, there is no trigger. In this case whenever device_status is set to "idle" (aka "not equal to Sweeping"), it is triggered. Is there another parameter in the JSON request to prevent this? Or is there another event trigger that is more appropriate?
Comment