-
-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch item cannot be toggled in sitemap #3870
Comments
This might be caused by #3856. Can you post the Item definition of r9 and r9_manual? |
The item definitions are:
Thing definitions (actually channel definitions within an MQTT thing):
|
And can you post the content of |
{"link":"https://server/rest/items/r9","state":"ON", "transformedState":"Включено",
"stateDescription":{"pattern":"MAP(switch.map):%s","readOnly":false,"options":[]},
"metadata":{"semantics":{"value":"Point_Control_Switch","config":{"isPointOf":"gRele9"}}},
"editable":false,"type":"Switch","name":"r9",
"label":"9 Реле","category":"poweroutlet","tags":["Switch"],"groupNames":["gRele9"]} {"link":"https://server/rest/items/r9_manual","state":"ON",
"stateDescription":{"pattern":"","readOnly":true,"options":[]},
"metadata":{"semantics":{"value":"Point_Control_Switch","config":{"isPointOf":"gRele9"}}},
"editable":false,"type":"Switch","name":"r9_manual",
"label":"Управление","category":"none","tags":["Switch"],"groupNames":["gRele9"]} I use OpenHAB 4.2.2. The problem is only with the r9_manual Switch. The other sitemap-lines, bound to Where does |
That question is better asked here: https://github.com/openhab/openhab-addons/ That might be a bug that needs to be resolved there. |
I filled openhab/openhab-addons#18362. In the meantime I add dummy |
For an item of type
Switch
in the sitemap I defineWhen I toggle over BasicUI the value of r9_manual, the interface is updated in both BasicOH and OH-Android (the first switch item is hidden, the text item is shown, or vice versa). So r9_manual is not NULL. But in Android-OH 3.17.4-beta neither the "Manual" nor the "Automatic" values is selected, the values are shown, but cannot be pressed. The labelcolor is correct.
The text was updated successfully, but these errors were encountered: