My Konnected Alarm panel failed to update with ESPHome 2024.4.2 due to errors in the Konnected Master and warning beep yaml files.
These are the error logs:
INFO ESPHome 2024.4.2
INFO Reading configuration /config/esphome/konnected-6ac924.yaml…
INFO Updating http://github.com/konnected-io/konnected-esphome@master
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see output->0->id) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘error_tone_${warning_beep_index}’ (see script->0->id) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->0->output.turn_on) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->2->output.turn_off) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->4->output.turn_on) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->6->output.turn_off) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->8->output.turn_on) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->10->output.turn_off) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘warning_beep_${warning_beep_index}’ (see light->0->id) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘${warning_beep_name}’ (see light->0->name) which looks like a substitution, but ‘warning_beep_name’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see light->0->output) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see output->0->id) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘error_tone_${warning_beep_index}’ (see script->0->id) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->0->output.turn_on) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->2->output.turn_off) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->4->output.turn_on) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->6->output.turn_off) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->8->output.turn_on) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see script->0->then->10->output.turn_off) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘warning_beep_${warning_beep_index}’ (see light->0->id) which looks like a substitution, but ‘warning_beep_index’ was not declared
WARNING Found ‘${warning_beep_name}’ (see light->0->name) which looks like a substitution, but ‘warning_beep_name’ was not declared
WARNING Found ‘buzzer_out_${warning_beep_index}’ (see light->0->output) which looks like a substitution, but ‘warning_beep_index’ was not declared
Failed config
defaults: [source /data/packages/d9505d5d/packages/warning-beep.yaml:2]
Component not found: defaults.
warning_beep_index: 1
warning_beep_name: Warning Beep
warning_beep_shared: False
warning_beep_internal_only: False
output.gpio: [source /data/packages/d9505d5d/packages/warning-beep.yaml:8]
IDs must only consist of upper/lowercase characters, the underscorecharacter and numbers. The character ‘$’ cannot be used.
id: buzzer_out_${warning_beep_index}
platform: gpio
pin:
number: D7
allow_other_uses: false
script: [source /data/packages/d9505d5d/packages/warning-beep.yaml:14]
-
id: error_tone_${warning_beep_index}
then:IDs must only consist of upper/lowercase characters, the underscorecharacter and numbers. The character '$' cannot be used. output.turn_on: buzzer_out_${warning_beep_index}
- delay: 60ms
- output.turn_off: buzzer_out_${warning_beep_index}
- delay: 50ms
- output.turn_on: buzzer_out_${warning_beep_index}
- delay: 60ms
- output.turn_off: buzzer_out_${warning_beep_index}
- delay: 50ms
- output.turn_on: buzzer_out_${warning_beep_index}
- delay: 60ms
- output.turn_off: buzzer_out_${warning_beep_index}
- id: blink_status_led
then:- light.turn_on: blue_status_led
- delay: 100ms
- light.turn_off: blue_status_led
light.binary: [source /data/packages/d9505d5d/packages/warning-beep.yaml:30]
IDs must only consist of upper/lowercase characters, the underscorecharacter and numbers. The character ‘$’ cannot be used.
id: warning_beep_${warning_beep_index}
name: ${warning_beep_name}
platform: binary
IDs must only consist of upper/lowercase characters, the underscorecharacter and numbers. The character ‘$’ cannot be used.
output: buzzer_out_${warning_beep_index}
effects:
- strobe:
colors:
- state: True
duration: 150ms
- state: False
duration: 500ms
internal: false