How to use Persistent Context

Here’s more info on how to use persistent context!

This will let you now store states on a file, so anytime your watchdog restarts node-red, you can easily get the states data back and set your entities to their last known states! This is similar to MQTT’s retain feature but with Node-red. :slight_smile:

2 Likes