ottopaulsen / node-red-contrib-power-saver

A Node-RED node to saver money by turning off when the power is most expensive
Other
71 stars 17 forks source link

guide for next-schedule-entity #19

Closed oakhill87 closed 2 years ago

oakhill87 commented 2 years ago

Guide for creating an entity which is fed the schedule every hour, if there is a change.

  1. A JavaScript-code snippet to be used in the function node to retrieve the next OnOff = false.
  2. Builds a new payload to be used by the entity node.
ottopaulsen commented 2 years ago

Hi, and thank you for contributing.

You should not work on the gh-pages branch. It is only for the document build. Please use a new feature branch. When merging, it shall be merged to main. The gh-pages branch is only used for building the docs, as GitHub automatically publishes that branch.

Could you please move the .md-file to the examples folder, and put the images to the images folder, or maybe we should make an img sub-folder under examples.

Also, it would be nice if you in the .md file write something like This example is provided by <your name> and maybe also with a link to your GitHub page.