[BTicino/OpenWebNet] Adding CEN commands: design

Hello,
I report this example of Massimo

scenario

.things

 Thing 	bus_cenplus_scenario_control    LR_scenario      "Scenario " @ "Scena"	[ where="21", buttons="1,2,4,5" ]

.items

String  iLR_scenario_btn1 "Scenario Button 1"   <network>  { channel="openwebnet:bus_cenplus_scenario_control:mybridge:LR_scenario:button_1" }

.sitemap

Switch    item=iLR_scenario_btn1 label="Scenario (btn1)[]" mappings=[PRESSED="Scenario-1 (PRESSED)", PRESSED_EXT="Scenario-2 (PRESSED_EXT)", RELEASED_EXT="Scenario-2 (RELEASED_EXT)"]

clicking on the buttons as in the animation are sent on the BUS of the virtual command CEN / CEN + equivalent to short pressure (PRESSED) or long press / release (PRESSED_EXT / RELEASED_EXT) of the scenario buttons.