jrouvier / esphome-emporia-vue-utility

Alternative ESPHome firmware for the Emporia Vue Utility Connect
GNU General Public License v2.0
75 stars 17 forks source link

esphome: Dashes are not supported in IDs #7

Open j9brown opened 2 years ago

j9brown commented 2 years ago

Simply changing id: vue-utility to id: vue_utility resolves the issue.

My esphome version is 2022.9.4, if that helps.

% esphome run vue-utility-solar.yaml
INFO Reading configuration vue-utility-solar.yaml...
Failed config

mqtt: [source vue-utility-solar.yaml:27]
  broker: !secret mqtt_broker

  Dashes are not supported in IDs, please use underscores instead.
  id: vue-utility
  username: !secret mqtt_username
  password: !secret mqtt_password