Skip to content

evcc.yaml site.meters.consumers, not site.meters.consumer #31513

Description

@hacki11

Describe the bug

I'm not sure whats intended, but for me the doc doesn't match the actual configuration schema.

Here it says site.meters.consumer
https://docs.evcc.io/en/user-defined-devices/#meter

But in the evcc.yaml I need to set site.meters.consumers otherwise evcc will complain it can not have consumer within meters

Note: I haven't checked the nightly but the code on main:

Consumers = "consumers"

Steps to reproduce

1.Have a meter configured in evcc.yaml
2. Reference it in site with missing plural s

site:
  title: Mein Zuhause
  meters:
    consumer: 
      - Waermepumpe
  1. Start evcc, see log for error

Configuration details

site:
  title: Mein Zuhause
  meters:
    grid: grid
    pv:
      - Fronius
    consumers: 
      - Waermepumpe

Log details

evcc-1  | [main  ] FATAL 2026/07/05 21:29:38 decoding failed due to the following error(s):
evcc-1  | 
evcc-1  | 'meters' has invalid keys: consumer
evcc-1  | loadpoint [db:3] charger: not found: db:2
evcc-1  | decoding failed due to the following error(s):
evcc-1  | 
evcc-1  | 'meters' has invalid keys: consumer

What type of operating system or environment does evcc run on?

Linux

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

evcc version 0.310.1

Metadata

Metadata

Assignees

Labels

questionRather clarification than issueunfortunateNot nice but also not easily fixable

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions