Update ElectricDevice.java

Fixed equals() Override in ElectricDevice (comparing Strings with equals now).