Get total power consumption and power output
Posted: Sun Apr 02, 2017 5:43 pm
Is there a simple way to get the current power output and current power consumption (and total power demand)? I am trying currently to iterate trough all entities, but i guess it's a bit overkill and nevertheless, i get an error that "Entity is not electric-energy-interface" when i try to access entity.power_usage or entity.power_production. Any simple way to get those numbers?