Renamed attribute type with sensor_type.