states upload: fix bad device

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
states upload: fix empty setpoints

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
device page: stream state

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>