Representations of Homotopy Lie–Rinehart Algebras