Hey,
I think maybe it could be use the devices that I wrote in the post below on July 5th (Push notification on Power On state - #52 by dany.rouss). You should consult with your electrician about the possibility of using this device.
This can connect this, for example, to a state electricity outlet. If the electricity from a state electricity is online, then the sensor will be closed and it can be configured as a condition in your respective scenarios, if the electricity is from private companies, then the sensor will be open and the condition in the scenarios will not work