generates the thingtypeuid for the given device . if it 's a homegear device , add a prefix because a homegear device has more datapoints . concode_field_sep PlaceHolder placeHolder concode_field_sep ChannelUID generateChannelUID concode_elem_sep ChannelGroupTypeUID generateChannelGroupTypeUID concode_elem_sep ChannelTypeUID generateChannelTypeUID concode_elem_sep ThingUID generateThingUID concode_elem_sep String getHomematicAddress concode_elem_sep HmDatapointInfo createHmDatapointInfo
ThingTypeUID function ( HmDevice arg0 ) { if ( ! arg0 . isGatewayExtras ( ) && arg0 . getGatewayId ( ) . equals ( HmGatewayInfo . ID_HOMEGEAR ) ) { return new ThingTypeUID ( BINDING_ID , String . format ( "srini_string" , arg0 . getType ( ) ) ) ; } else { return new ThingTypeUID ( BINDING_ID , String . format ( arg0 . getType ( ) ) ) ; } }