Hydrogel-based temperature sensor with water retention, frost resistance and remoldability