I think the following is true:
- All electronic devices are electrical, but not all electrical devices can be considered electronic. In order to be considered electronic, you need a "plus" (which nowadays comes mainly from transistors and IC's).
Usually a lamp, for instance, is only a electrical device, not an electronic one. But when I think about an "electronic lamp" I figure it must have a "plus", it should be for instance an automatic lamp or a remote control operated one or something like that.
Regarding the difference between "electrical" and "electric" it turns out, for me at least, to be much more tougher. I liked Offroad's explanation about it. And there are many many information about it in the Internet, just perform searches like "electrical and electric" or take a look on some good dictionaries.