Help PLEASE…

Hello, can anyone help to resolve the following error below…

“Failed to call service homebase/undefined. required key not provided @ data['service]. Got None”

This error occurs when I hold / long press a button to execute a script.

show_name: true
show_icon: true
type: button
entity: alarm_control_panel.aqara_m1s_hub_security_system
show_state: true
name: Yard
hold_action:
action: call-service
service: homebase
target: {}

My HA versions are

  • Core 2024.3.3
  • Supervisor 2024.03.1
  • Operating System 12.1
  • Frontend 20240307.0

Thanks in advance

Please format your code correctly

Is that from a custom integration ?

And edit your title to something more meaningful, so people know what the question is about.

do u have a script called homebase? if so you should be invoking script.homebase not just homebase

Yes, I created a script name “HomeBase” & you solve my issue…
THANKS!!!