Add hex support in Sensors