Help getting started setting up IHC items in Openhab2

Hi!

I have this info for one of my switches

<dataline_input id="_0x1a185a" name=“PB (vänster övre)” address_dataline="_0x2a">
<link_from_resource id="_0x1b182d" name=“Följ länk” icon="_0x47" link="_0x1b192c"/>

I guess this info get “called” when i push the button. How do i actually map this to an item in OpenHab2?

Thanks
Johan

Try this:

Contact myInput “My input label [%s]” (inputGroup) {ihc="<0x1a185a"}
Switch myInput “My input label [%s]” (inputGroup) {ihc=“0x1a185a”}