dgthomson / nodered-shellrecharge

A subflow for Nodered to control Shell Recharge car charging equipment.
GNU General Public License v3.0
20 stars 7 forks source link

Cannot use home assistant sensor node to display charging info from debug node #9

Closed Marc1200 closed 1 year ago

Marc1200 commented 1 year ago

Hello, i have a problem with status of charging station, it shows the charge info correctly at the default debug node, but with the same expression it does not work with a home assistant sensor. image image

it says charging, but the charging station is not charging but idle.

i use the same state expression as at the debug node: image $boolean(msg.payload) = true ? "Charging " & $now('[H#1]:[m01]','+0200') : "Idle " & $now('[H#1]:[m01]','+0200')

what is the problem?

it did work with the previous version of the nodered subflow on github. After the change of the api to the newest version it didn't work anymore with an home assistant sensor component

Marc1200 commented 1 year ago

Sorry it does work know, i didn't see the newest version