Frankly, no-one should touch EDF/Enedis property/cables/whatever.
The Suppliers are there to do whatever is necessary to maintain etc their equipment/supply.
You are fortunate this time… please do not be so quick to do such a thing again.
You obviously contacted the Supplier - that is the correct thing to do… and you should have waited for them to do their work.
Obviously, if there is a lot going on Enedis may be delayed and unable to respond immediately to your call - in which case, notify your Mairie/Insurers of the danger and they will try to speed things up.