Trying to set things up to keep track of my Octopus Go tariff. Nearly there but I selected the wrong sensor for grid import when I first set up the helper.
You can see the daily meter is showing ;power (kW) not energy (kWh)
I found the yaml controlling the set up in core.config_entries
{
"entry_id": "c522d0df1064fda566e83f0cb9f606fb",
"version": 1,
"domain": "utility_meter",
"title": "Octopus Go Daily",
"data": {},
"options": {
"name": "Octopus Go Daily",
"source": "sensor.kyrles_cross_solar_imported_energy",
"cycle": "daily",
"offset": 0.0,
"tariffs": [
"Peak rate",
"Cheap rate"
],
"net_consumption": false,
"delta_values": false
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"unique_id": null,
"disabled_by": null
}
and changed the source to be the correct sensorā¦
Restarted but card still shows kW not kWh and states display in Developer tools shows the wrong units but the correct source.
OK I fixed it changing the unit of measurement in Set State up at the top of the Developer States screen for the two entities - peak and cheap rate. The screen shows some YAML but where is it - itās not in core.config_entries, the yaml there is unchanged?
Please can someone explain what is going on?
- How best to modify utility meter after first config?
- Where is unit of measurement stored?
- Why is it in a different place to the rest of the meter config?
Once again I freely admit Iām poking around without much knowledge but it would be nice to understand some principles to guide me.
Thanks