added sensor edit form
fix #1893