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
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