The invention provides an element (210) comprising: (i) an electrical component (1220); (ii) an optical medium (270) comprising medium material (275) comprising a silicone transmissive for one or more of UV radiation and visible radiation, wherein the electrical component (1220) is embedded in the optical medium (270); (iii) an electrical connector (510) for functionally coupling the electrical component (1220) external to the optical medium (270), wherein the electrical connector (510) is embedded in the optical medium (270) over at least part of its length; and (iv) a water barrier (530) at least partly embedded in the optical medium (270) and configured to enclose at least part of the electrical connector (510).