holomekc / ioBroker.hueemu

This adapter allows to simulate a hue bridge with self created lights.
MIT License
11 stars 0 forks source link

Allow to specify state ids for devices #7

Open Apollon77 opened 3 years ago

Apollon77 commented 3 years ago

Most likely users want to use lights created by other adapters in their ioBroker System. so it would be great if the json could contain a way to o specify state ids for each state value o allow setting these device States directly. Maybe add a „custom“ json key with a mapping and these states are then also set and read.

This would be easier then having the need to create an JavaScript Script to map it

holomekc commented 3 years ago

This is basically the idea and would allow to link to other states. But i am not 100% sure though. https://forum.iobroker.net/post/558537