Hi!
I have been adding new entities (lights, sensors etc) to my Home Assistant setup by adding new entities into seperate knx.yaml which I include into configuration.yaml and everything works just fine. I’m using official KNX integration.
Now we had to rearrange almost all addresses in KNX environment so I need to update new addresses, state_addresses_ brighness_addresses etc in Home Assistant.
If I just update new address to knx.yaml and reboot Home Assistant it will create duplicate entities because unique_id is created based on address information.
How can I update just KNX addresses and keep current entities and sensor history graphs etc?
I disabled KNX integration before changing addresses in our system, but I would like to know how to fix entities before restarting KNX because I would like to avoid second entities at all cost
Example in knx.yaml:
Light:
- name: "Living room light"
address: "2/0/15"
state_address: "2/0/16"
brightness_address: "2/0/18"
brightness_state_address: "2/0/19"
And updated addresses should be:
Light:
- name: "Living room light"
address: "2/0/1"
state_address: "2/0/2"
brightness_address: "2/0/3"
brightness_state_address: "2/0/4"
I found earlier topics but no actual answers were found. Change KNX group address --> new 2nd entity or KNX group address change not working
Thank you for your answers!