chore: use 'source' as plugin selector
This commit is contained in:
parent
4382259b6c
commit
fe0478ff43
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ render: |
|
|||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
power:
|
||||
type: calc
|
||||
source: calc
|
||||
mul:
|
||||
- source: modbus
|
||||
{{include "modbus" . | indent 4}}
|
||||
|
|
@ -41,7 +41,7 @@ render: |
|
|||
address: 13021 # Battery power
|
||||
type: input
|
||||
decode: int16
|
||||
- type: calc
|
||||
- source: calc
|
||||
add:
|
||||
- source: modbus
|
||||
{{include "modbus" . | indent 6}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue