Transform the button state value directly on item

Like i mentioned, i wanna map this at the lowest level as possible, since i don’t think it’s a good idea to deal in higher levels like rules with it.

Yes, rules itself might be an option to translate but for me it misleads the complete idea of mapping services since i think its exactly made for the case transforming from one value to another

Also its very annoying to always think about “what was 1002 about? was it short press? long press?”

Therefore, mapping it in rules is not really an option

I just adapted it from this post

But it also does not work with a string placeholder

This options is not for the profile, but for your mentioned state description approach. The profile is required to receive any change to the item … otherwise i’ll get nothing to the item.