Foddy / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic
Apache License 2.0
201 stars 67 forks source link

Last State not correct #322

Open valiquette opened 2 years ago

valiquette commented 2 years ago

Describe the bug lastState values are the same as the current state

Flow to Reproduce

payload: object
on: true
brightness: 38.98
brightnessLevel: 99
reachable: true
connectionStatus: "connected"
updated: "2022-02-24T02:10:59-07:00"
rgb: array[3]
hex: "a6a5cd"
xyColor: object
color: "gray"
colorTemp: false
colorTempName: "unknown"
info: object
updated: object
lastState: object
payload: object
on: true
brightness: 38.98
brightnessLevel: 99
reachable: true
connectionStatus: "connected"
updated: "2022-02-24T02:10:59-07:00"
rgb: array[3]
hex: "a6a5cd"
xyColor: object
color: "gray"
colorTemp: false
colorTempName: "unknown"
info: object

Expected behavior Expect last state to be the previous state

Screenshots If applicable, add screenshots to help explain your problem.

Please complete the following information:

Additional context Add any other context about the problem here.