sinricpro / nodejs-sdk

Nodejs library for https://sinric.pro
11 stars 7 forks source link

Added rangeValue is undefined check #26

Closed adamhun94 closed 2 years ago

adamhun94 commented 2 years ago

I encountered an issue when setting the value to 0 (or closing the blinds), because payload.value.rangeValue evaluated to false here

kakopappa commented 2 years ago

Thanks. I will test it and merge in a bit

kakopappa commented 2 years ago

Thanks, fixed has been released with version 2.4.1 to npm