Hi,
running OH 4.3.9
not sure since when (since I dont edit the sitemap so often, but for sure there was not such issue on 4.x
everything still works fine, but it seems the syntax chaged so it complains:
Validation errors
Sitemap definition has validation errors:
Buttongrid widget for item myKodi_input, syntax error in button command: UP="Up"=f7:arrowtriangle_up
Buttongrid widget for item myKodi_input, syntax error in button command: LEFT="Left"=f7:arrowtriangle_left
Buttongrid widget for item myKodi_input, syntax error in button command: RIGHT="Right"=f7:arrowtriangle_right
Buttongrid widget for item myKodi_input, syntax error in button command: DOWN="Down"=f7:arrowtriangle_down
Buttongrid widget for item BroadlinkCommand, syntax error in button command: projektor_up="Up"=f7:arrowtriangle_up
Buttongrid widget for item BroadlinkCommand, syntax error in button command: projektor_left="Left"=f7:arrowtriangle_left
Buttongrid widget for item BroadlinkCommand, syntax error in button command: projektor_right="Right"=f7:arrowtriangle_right
Buttongrid widget for item BroadlinkCommand, syntax error in button command: projektor_down="Down"=f7:arrowtriangle_down
sitemap:
Frame label="KODI Remote" visibility=[Television==ON] {
Buttongrid item=myKodi_input columns=3 buttons=[1:2:UP="Up"=f7:arrowtriangle_up, 2:1:LEFT="Left"=f7:arrowtriangle_left, 2:2:Select="OK", 2:3:RIGHT="Right"=f7:arrowtriangle_right, 3:2:DOWN="Down"=f7:arrowtriangle_down, 4:1:Back="Back", 4:3:Home="Home"] staticIcon=screen
}
Frame label="Projektor Remote" visibility=[nebula==ON] {
Buttongrid buttons=[1:2:projektor_up="Up"=f7:arrowtriangle_up, 2:1:projektor_left="Left"=f7:arrowtriangle_left, 2:2:projektor_ok="OK", 2:3:projektor_right="Right"=f7:arrowtriangle_right, 3:2:projektor_down="Down"=f7:arrowtriangle_down, 4:1:projektor_back="Back", 4:2:projektor_focus="Focus", 4:3:projektor_home="Home"] item=BroadlinkCommand staticIcon=projector
}
according to the documentation, this is still the syntax:
EDIT: ignore, i see now the new syntax, each button new row…