ESPHome cannotn compile with tagreader.yaml

Does anyone have an issue while compiling the tagreader.yaml through ESPHome addon?

I am getting all kinds of errors, and can’t figure out why that is?

INFO Reading configuration /config/esphome/nfc_scaner_1.yaml...
Failed config

esphome: [source /config/esphome/nfc_scaner_1.yaml:25]
  name: tagreader
  platform: ESP8266
  board: d1_mini
  on_boot:  [source /config/esphome/nfc_scaner_1.yaml:31]
    priority: -10
    then: 
      - wait_until: 
          api.connected: {}
      - logger.log: API is connected!
      - [source /config/esphome/nfc_scaner_1.yaml:36]
        
        Unable to find action with the name 'rtttl.play'.
        rtttl.play: success:d=24,o=5,b=100:c,g,b [source /config/esphome/nfc_scaner_1.yaml:36]
api: [source /config/esphome/nfc_scaner_1.yaml:56]
  services: 
    - [source /config/esphome/nfc_scaner_1.yaml:57]
      service: rfidreader_tag_ok
      then: 
        - [source /config/esphome/nfc_scaner_1.yaml:59]
          
          Unable to find action with the name 'rtttl.play'.
          rtttl.play: beep:d=16,o=5,b=100:b [source /config/esphome/nfc_scaner_1.yaml:59]
    - service: rfidreader_tag_ko
      then: 
        - rtttl.play: beep:d=8,o=5,b=100:b
    - service: play_rtttl
      variables: 
        song_str: string
      then: 
        - rtttl.play: !lambda |-
            return song_str;
pn532: 
  - [source /config/esphome/nfc_scaner_1.yaml:82]
    cs_pin: D3
    update_interval: 2s
    on_tag:  [source /config/esphome/nfc_scaner_1.yaml:87]
      then: 
        - [source /config/esphome/nfc_scaner_1.yaml:88]
          
          Unable to find action with the name 'homeassistant.tag_scanned'.
          homeassistant.tag_scanned: !lambda |-
            return x; [source /config/esphome/nfc_scaner_1.yaml:88]
        - [source /config/esphome/nfc_scaner_1.yaml:89]
          if:  [source /config/esphome/nfc_scaner_1.yaml:90]
            condition: 
              switch.is_on: buzzer_enabled
            then: 
              - [source /config/esphome/nfc_scaner_1.yaml:93]
                
                Unable to find action with the name 'rtttl.play'.
                rtttl.play: success:d=24,o=5,b=100:c,g,b [source /config/esphome/nfc_scaner_1.yaml:93]
        - if: 
            condition: 
              switch.is_on: led_enabled
            then: 
              - light.turn_on: 
                  id: activity_led
                  brightness: 100%
                  red: 0%
                  green: 100%
                  blue: 0%
                  flash_length: 500ms
rtttl: [source /config/esphome/nfc_scaner_1.yaml:118]
  
  Component not found: rtttl.
  output: buzzer

Any help would be much appreciated.

what version of esphome are you using? rtttl was only added in 1.15.0.

I am using the HA addon. It is the latest version, but I see that it is version 1.14.5.
So I guess I have to wait for Frenck to update the addon ??

Frenck’s addon is at 1.15.2 on my system.

Are you running developers HA or standard?
I am at Home Assistant 0.116.2

And i don’t have option to update ESPHome

I had some doubt after your post, but having checked I am sure I am running the community addons version.

The difference may be our architectures. I am on a 64 bit debian+supervised install.

I don’t know how, but I have ESPHome installed and I could manage all my devices, but when I go to addon store it is showing like it is not installed, and I have the option to install.

Now I have two versions of ESPHome installed in my HA

I installed new, and now it is the correct version. I made sure all my devices are in there, then i uninstalled the old one.

Now to update all devices with the new firmware, and hopefully i will no longer get errors.
Ths for helping

Yeah I cannot figure out what was going on, so glad you sorted it!