rbroker / ecodan-ha-local

Local HomeAssistant support for Air to Water Heat Pump Data/Control for Mitsubishi Ecodan
GNU General Public License v3.0
46 stars 10 forks source link

Add configuration parameter to be able to set the unique id part in HA #30

Closed khakhux closed 5 months ago

khakhux commented 5 months ago

I made a change to be able to set the unique identifier part in sensors name in Home Assistant.

This can be useful in case you want to replace the ESP without having to reconfigure automations, etc in Home Assistant.

I tested the changes replacing my ESP with a new one and managing the device in Home Assistant as it was the old one.

Consider merging the code in case you think it could benefit anyone.

Thanks

Carlos

khakhux commented 5 months ago

Thanks Richard I made both changes as suggested.

rbroker commented 5 months ago

Thank you!

khakhux commented 5 months ago

Thanks Richard for your good work and generosity.

The idea for this change originated when I had a problem with my ESP and tried to replace it with a different one.

I was a whole day without data from my HVAC and I felt a little bit lost. That's how much I benefit from this project :grinning: