def templist(refreshdata = false)
      refresh if refreshdata
      list.each_with_object({}) do |(name, sensor), tlist|
        tlist[name] = sensor if (sensor[:unit] =~ /.*degree.*/ || name =~ /.*temp.*/)
      end
    end
def templist(refreshdata = false)
      refresh if refreshdata
      list.each_with_object({}) do |(name, sensor), tlist|
        tlist[name] = sensor if (sensor[:unit] =~ /.*degree.*/ || name =~ /.*temp.*/)
      end
    end
returns a hash of sensors where each key is the name of the sensor and the value is the sensor