Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105856

Error when splitting up my config. Component utility_meter cannot be merged. Expected a dict

$
0
0

Like others I am following @frenck’s example and I am splitting up my config even more than I have done previously.

I’ve made good progress but I’m getting hung up on the config for my utility meters.

In …/integrations/ I have a file called utility_meters.yaml which contains…

utility_meter: !include_dir_list ../entities/utility_meters

To keep troubleshooting simple I cut it down to a single utility meter file config, but multiple also fail.

In …/entities/utility_meters/ I have a file called network_utility_meter_daily.yaml which contains…

network_utility_meter_daily:
source: sensor.network_energy
cycle: daily

When I check my config, I get the following error:

Package utility_meters setup failed. Component utility_meter cannot be merged. Expected a dict.

I’ve tried different indentations, no luck…

network_utility_meter_daily:
  source: sensor.network_energy
  cycle: daily
  network_utility_meter_daily:
  source: sensor.network_energy
  cycle: daily

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105856

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>