Skip to content

Commit f66fd03

Browse files
committed
Meter (Quatt): add heat pump power template
1 parent 1005f07 commit f66fd03

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
template: quatt
2+
products:
3+
- brand: Quatt
4+
description:
5+
generic: Hybrid Heat Pump
6+
group: heating
7+
params:
8+
- name: usage
9+
choice: ["aux"]
10+
- name: host
11+
- name: port
12+
default: 8080
13+
render: |
14+
type: custom
15+
power:
16+
source: http
17+
uri: http://{{ .host }}:{{ .port }}/beta/feed/data.json
18+
jq: ((.hp1.powerInput // 0) + (.hp2.powerInput // 0)) * 1000

0 commit comments

Comments
 (0)