Dirnei / node-red-contrib-zigbee2mqtt-devices

Node-red nodes for controlling and managing zigbee devices managed by zigbee2mqtt
MIT License
30 stars 7 forks source link

Only send changed properties to the lamps #121

Open Dirnei opened 2 years ago

Dirnei commented 2 years ago

Xploder mentioned it on discord that state, brightes and so on are always in the payload. It would be better to send only the changed properties to the lamp.

This implies that we should also remove the value from the generic-lamp node and only use the override-nodes.

@Andreas-Huber what do you think of my idea?

Andreas-Huber commented 2 years ago

I think that is a brilliant Idea. Removing the state from the generic lamp node is definitely a breaking change. But I would make things certainly more clear.