Hi everyone,
I am currently exploring the energy dashboard possibilities and am scanning through the various threads.
However, I have some questions I did not find an answer for yet.
For those I struggled with and found answers to (for rookies like me) I will leave here, too.
For the others I would greatly appreciated your support.
- Costs: I have seen on some dashboards the cost overview (sources, energy, costs) and I have included my gas meter in the gas section and created a helper with the price.
The costs didn’t show up though.
Two things are crucial to solve this: a) the meter type must be gas for both below and the price needs to be in accordance the the unit used in the configs (both in configuration.yaml) below.
sensor:
- platform: template
sensors:
gas_meter:
friendly_name: Gas gesamt (m³)
unit_of_measurement: "m³"
icon_template: "mdi:counter"
device_class: gas
value_template: "{{ states ('counter.gas_zahler_rohwerte') | float(0) * 0.01}}"
and
homeassistant:
customize:
# gas energy sensor
sensor.gas_meter:
device_class: gas
state_class: total_increasing
accuracy_decimals: 2
-
Why can’t I select the same gas meter above with kWh? this seems to be possible as I have seen some dashboards with gas in combination with kWh.
-
Why don’t I see the entities I would expect: (e.g. old ones still show up)