Open tikismoke opened 3 months ago
Not sure that this id
is published outside the solar router, but this is a good idea.
I'll apply the proposed change like this, we will be 100% sure to avoid any possible conflict.
Id is not published, but as I have a common.yaml include for all my esp device containing common things (wifi/basic sensor/etc.) containing the same id (as a lot of other people because it's the one used in esphome doc) it failed to compile as we got 2 times the sames id in code.
https://github.com/XavierBerger/Solar-Router-for-ESPHome/blob/22c3912fd9d19e2ae506fbb93b6e8a1131450b1b/solar_router/energy_saved_counter_theorical.yaml#L40
A lot of user use talready this id in common packages (with wifi and other stuff). Just rename the id to avoid duplicate and compilation issue please.
something like: