Models of dielectric solids subject to large deformations are established by following a thermodynamic approach. The models are quite general in that they account for viscoelastic properties and allow electric and thermal conduction. A preliminary analysis is devoted to the selection of fields for the polarization and the electric field; the appropriate fields are required to comply with the balance of angular momentum and to enjoy the Euclidean invariance. Next, the thermodynamic restrictions for the constitutive equations are investigated using a wide set of variables allowing for the joint properties of viscoelastic solids, electric and heat conductors, dielectrics with memory, and hysteretic ferroelectrics. Particular attention is devoted to models for soft ferroelectrics, such as BTS ceramics. The advantage of this approach is that a few constitutive parameters provide a good fit of material behaviour. A dependence on the gradient of the electric field is also considered. The generality and the accuracy of the models are improved by means of two features. The entropy production is regarded as a constitutive property per se, while the consequences of the thermodynamic inequalities are made explicit by means of representation formulae.