ich will einen Sensor in gewissen Abständen (z.B. 15 Minuten) duplizieren. Hintergrund ist, der Eingangsensor liefert alle paar Sekunden einen Wert. Den Zielwert will ich in Grafana abspeichern. Damit sich nicht zu viele Daten Grafana ansammeln, will ich den Eingangsensor in gewissen Abständen kopieren.
Der folgend Eintrag in “template.yaml” funktioniert bis auf den timer. Was mache ich da falsch? Hab schon zahlreiche Varianten ausprobiert, aber nichts hat funktioniert.
Invalid config for ‘template’ at template.yaml, line 946: ‘name’ is an invalid option for ‘template’, check: name Invalid config for ‘template’ at template.yaml, line 946: ‘sensor’ is an invalid option for ‘template’, check: sensor Invalid config for ‘template’ at template.yaml, line 946: ‘state’ is an invalid option for ‘template’, check: state Invalid config for ‘template’ at template.yaml, line 946: ‘unique_id’ is an invalid option for ‘template’, check: unique_id Invalid config for ‘template’ at template.yaml, line 946: ‘unit_of_measurement’ is an invalid option for ‘template’, check: unit_of_measurement
Invalid config for ‘template’ at template.yaml, line 949: ‘for’ is an invalid option for ‘template’, check: for
Invalid config for ‘template’ at template.yaml, line 932: ‘sensor’ is an invalid option for ‘template’, check: sensor
Invalid config for ‘template’ at template.yaml, line 952: required key ‘trigger’ not provided
Invalid config for ‘template’ at template.yaml, line 953: required key ‘trigger’ not provided
Invalid config for ‘template’ at template.yaml, line 946: ‘name’ is an invalid option for ‘template’, check: name Invalid config for ‘template’ at template.yaml, line 946: ‘sensor’ is an invalid option for ‘template’, check: sensor Invalid config for ‘template’ at template.yaml, line 946: ‘state’ is an invalid option for ‘template’, check: state Invalid config for ‘template’ at template.yaml, line 946: ‘unique_id’ is an invalid option for ‘template’, check: unique_id Invalid config for ‘template’ at template.yaml, line 946: ‘unit_of_measurement’ is an invalid option for ‘template’, check: unit_of_measurement
Invalid config for ‘template’ at template.yaml, line 949: ‘for’ is an invalid option for ‘template’, check: for
Invalid config for ‘template’ at template.yaml, line 932: ‘sensor’ is an invalid option for ‘template’, check: sensor
Invalid config for ‘template’ at template.yaml, line 952: required key ‘trigger’ not provided
Invalid config for ‘template’ at template.yaml, line 953: required key ‘trigger’ not provided