fix #1728 valve and battery error

addition to fix #1793, regarding BindingType.VALVE and BindingType.BATTERY:
BindingType.VALVE still has been updated with wrong value in line 295
BindingType.BATTERY also, if  device.isBatteryLowUpdated() was false
Merge pull request #1812 from polarvogel/patch-1

[Maxcube] fix #1728 valve and battery error