Update script_device_ergy.lua

necessary evil