konnected-io / konnected-esphome

ESPHome firmware configuration and recipes for Konnected devices
Other
50 stars 31 forks source link

Since a few days, alarm panel pro became adoptable (double suffix?) #9

Closed Woutch closed 1 year ago

Woutch commented 1 year ago

Hi, since a few days, my alarm panel became adoptable again? image

It appears the suffix has been added extra to the name? I tried to change the name in the config to remove the prefix and OTA the file, but this does not help.

Original config: name: alarm-panel-pro-bd7394 friendly_name: Alarm Panel Pro project_name: konnected.alarm-panel-pro-esp32

Maybe something changed with the last ESPHome update, or the included packages?

Woutch commented 1 year ago

After a few recompiles and failures to import, I started from scratch and saw that the base template is different.

copied the new settings from alarm-panel-pro-esp32-ethernet.yaml

I was able to flash, but still a new device appeared in the dashboard. With one suffix. But now I was able to import. After import I saw the following settings:

substitutions: name: alarm-panel-pro-bd7394 packages: konnected.alarm-panel-pro-esp32-ethernet: github://konnected-io/konnected-esphome/alarm-panel-pro-esp32-ethernet.yaml@master esphome: name: ${name} name_add_mac_suffix: false

And now everything works again...