Configuration UI: fix enabling/disabling of components when showing device edit form.
Configuration UI: fix enabling/disabling of components when showing device edit form.

jfpoilpret/alarm-system,jfpoilpret/alarm-system,jfpoilpret/alarm-system,jfpoilpret/alarm-system