Skip to content

Commit 67fd3c9

Browse files
authored
Update README.md
1 parent 86d54c0 commit 67fd3c9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,19 @@ Smart Meter:
9999
You can configure your dashboard like so:
100100
![alt text](https://github.com/cyberjunky/home-assistant-toon_smartmeter/blob/master/screenshots/dashboard.png?raw=true "Screenshot Toon Energy Dashboard")
101101

102+
## Tricks
103+
If you want to get usage of your house, disregarding tarif, do this:
104+
```
105+
sensor:
106+
- platform: template
107+
sensors:
108+
energie_verbruik_totaal:
109+
friendly_name: "Energieverbruik"
110+
unit_of_measurement: 'W'
111+
icon_template: mdi:lightning-bolt
112+
value_template: "{{ states('sensor.toon_p1_power_use_low') | int + states('sensor.toon_p1_power_use_high') | int }}"
113+
```
114+
102115
## Debugging
103116

104117
Add the relevant lines below to the `configuration.yaml`:

0 commit comments

Comments
 (0)