fixed invalid sensor creation schema
fixed 500 ISE when not submitting any entity
Merge branch 'dev'

* dev:
  fixed 500 ISE when not submitting any entity
  fixed invalid sensor creation schema