Fixed problem with old syntax when adding sensor without protocol
specification.