For anybody running Home Assistant, here's a useful sensor anybody can add:
- platform: command_line
name: eskom_loadshedding_status
friendly_name: "Loadshedding status"
command: "curl http://loadshedding.eskom.co.za/LoadShedding/GetStatus"
value_template: '{{ value | round(0) | abs - 1 }}'
unit_of_measurement: "Stage"

- platform: command_line
name: eskom_loadshedding_status
friendly_name: "Loadshedding status"
command: "curl http://loadshedding.eskom.co.za/LoadShedding/GetStatus"
value_template: '{{ value | round(0) | abs - 1 }}'
unit_of_measurement: "Stage"
