Skip to content
Discussion options

You must be logged in to vote

@brokenarrow03 yeah you absolutely do not need to touch the OK/FAIL state every time you just want to push RPM. The main thing tripping you up is probably the payload shape, and one detail about how attributes actually get written in Home Assistant.

If you are wiring into the Sensor node (the blue ha-sensor node that owns sensor.systemfan_1), the payload should sit directly on msg.payload, not wrapped inside data. The data wrapper is for the API node when you are sending a raw websocket command. Mixing those two up is a really common gotcha.

Also in Function 2 you are writing the RPM value into fanName. That should be its own attribute, something like rpm.


Flow 1 (health/status)

let attrs =

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@brokenarrow03
Comment options

@false200
Comment options

Answer selected by brokenarrow03
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants