node-red-contrib-sun-position icon indicating copy to clipboard operation
node-red-contrib-sun-position copied to clipboard

msg.payload.altitudePercent Is negative at night

Open gobigdave opened this issue 1 year ago • 0 comments

Describe the bug Sending a timestamp into sun-position node at night results in msg.payload.altitudePercent < 0%. My expectation and the doc indicates that this should be 0-100% only.

Screenshots If applicable, add screenshots to help explain your problem.

Expected behavior I expect msg.payload.altitudePercent to be between 0 and 100.

System information (please complete the following information):

  • Latest node version
  • Latest Node-Red Version
  • Running as an add-on in Home Assistant OS

Additional context This has worked fine for years. Only recently started acting funny.

gobigdave avatar Dec 11 '23 02:12 gobigdave