Updating Home assistant Binary Sensors from node red

I am retrieving values from a REST API via Node RED and need to update some Home Assistant sensors with the response values. How would I go about to do this?