Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.16 KB

0-how-to.md

File metadata and controls

19 lines (13 loc) · 1.16 KB

HOW TO USE THIS MACRO

The information below explains how to use the macro in several sections, each section explains how the different related parameters of the macro work.

🚨 IMPORTANT NOTE 🚨

  • The macro doesn't automatically update. If you use it in a template sensor for example, it will only update on changes of the source sensor (which usually happens at midnight, when tomorrow becomes today, and when the prices for tomorrow become available). To make sure it updates on the right interval you can create a trigger based template sensor and choose when it should update by adding the right triggers, or add a line with {% set n = now() %} in your template to make it update each minute.

CONTENTS

  1. Source sensor
  2. Basic data selection
  3. Advanced data selection (using weight factors)
  4. Data output
  5. Error handling
  6. Examples

NAVIGATION

NEXT: SOURCE SENSOR