KaufHA / kauf-rgbww-bulbs

Files for the KAUF RGBWW Smart Bulbs
39 stars 18 forks source link

In Home Assistant 2022.9.7 ESPHome every devices entities gets added as 'kauf_bulbxx*', nightmare #20

Open deepcoder opened 1 year ago

deepcoder commented 1 year ago

What am I doing wrong? No matter how I renamed the device in ESPHome, I end up with 12 entities (we are talking about the bulbs here) as kauf_bulbxx... (xx is a number, not the name I give the bulb). I want to add 10 bulbs, there is no way I am going to manually rename each of the 12 entities for each bulb. WTF?

bkaufx commented 1 year ago

In the ESPHome dashboard you need to add a friendly_name substitution, then that will be used to rename all the entities in Home Assistant. If you tried that already, then I'd try removing all the bulbs in Home Assistant and re-add them. Once you remove all the bulbs from Home Assistant then you should be able to restart Home Assistant to have them all automatically discovered again instead of having to add each one by its IP address.

The example yaml in the readme file shows how to do the friendly_name substitution: https://github.com/KaufHA/kauf-rgbww-bulbs/blob/main/README.md