Hi All,
I have a custom component based on manual alarm panel and I want to add some new parameters to its alarm_arm_xxx services.
How can I do that?
Tried hass.services.async_register(DOMAIN, SERVICE_ALARM_ARM, async_alarm_arm_away, EXTENDED_ALARM_SERVICE_SCHEMA)
but HA ignores my schema and complains when I try to call the service with an extra parameter from frontend (“no extra keys allowed”) and it shows a standard service’s description from services.yaml.
I cannot even remove the service, can still see it after hass.services.async_remove(DOMAIN, SERVICE_ALARM_ARM_AWAY) in the list of available services in fronted.
However, everything works just fine if I choose another name for my service.
I.e I can ADD a new service, but cannot REPLACE a service that already registered even though I’m doing it with my own custom component, not a standard HA one.
Any hints?