API Service not showing up in HA

C&P from the rtttl buzzer:

esphome:
  name: esphome-web-7695cc

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  services:
    - service: play_rtttl
      variables:
        song_str: string
      then:
        - rtttl.play:
            rtttl: !lambda 'return song_str;'

output:
  - platform: ledc
    pin: GPIO25
    id: rtttl_out

rtttl:
  output: rtttl_out
  on_finished_playback:
    - logger.log: 'Song ended!'

ota:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

captive_portal:

Device is adopted in integrations yet no esphome.* service showing up in HA.

Any ideas?

Thx.

Did you try searching for it in the services tab?

Yes. Nothing showing up there.

Logs? Always logs.

Nothing in the logs. But for future reference: It works after updating esphome to 2022.12.8 and upgrading esp firmware. Seems to be an incompatibility between esphome 2022.10.1 and HA 2023.1.7.

Thanks for the input!

2 Likes