What way is the best to make a button go in the ON state at a certain number and only at that number? This without using JS?
For example: I have a button with a relation where it reads in the value from a scene of a light. And i want that the button is in the ON state when the value is 13. With any other value the button needs to be in the OFF state.
At the moment i'm doing ith by writing the value in the value of the button, i change the button in a trigger button and change both values to the number it needs to be ON at. And i choose for feedback the invert channel. This seems to work but i don't even understand why it works.
So is there any better way to do this?
Сервис поддержки клиентов работает на платформе UserEcho