move ino file
make smartapp work with standard device types