Let H be a Hopf algebra with a bijective antipode, \({\mathcal {G}}\) an H-dimodule Lie algebra and A a \(({\mathcal {G}},H)\) -dimodule algebra. Assume that there is an H-colinear algebra map \(\phi \) from H to \(A^{\mathcal {G}}\) such that \(Im \phi \subseteq Z(A)\) . Under some assumptions, we give the Fundamental theorem for \((A,{\mathcal {G}},H)\) -dimodules. We also prove the Fundamental theorem for Yetter–Drinfeld \((A,{\mathcal {G}},H)\) -modules when H is cocommutative, \({\mathcal {G}}\) is a Yetter–Drinfeld H-module Lie algebra and A is a Yetter–Drinfeld \(({\mathcal {G}},H)\) -module algebra. We particuliarise our results to the Poisson setting.