energy
devices are now objects

api change 0.7 broke things