If you put this in a data-final-fixes.lua file in the mod, it should fix it, temporarily:
-- Fix powered entities in 0.17.66
for _,pole_name in pairs(
{
"invisable-electric-pole-1x1",
"invisable-electric-pole-2x2",
"invisable-electric-pole-3x3",
"invisable-electric-pole-4x4",
"invisable-electric-pole-5x5",
"invisable-electric-pole-6x6",
"invisable-electric-pole-7x7",
"invisable-electric-pole-8x8",
"invisable-electric-pole-9x9",
"invisable-electric-pole-9x10",
"invisable-electric-pole-10x10",
"invisable-electric-pole-12x12"
}) do
data.raw["electric-pole"][pole_name].max_health = 2147483648
end