Allow external integrations to declare their own scene triggers/actions

External integrations should be able to declare scene triggers and actions, to extend Gladys without core updates.

Hi everyone!

This topic is now in development.

A PR has been opened to specify the triggers and actions of scenes declared by external integrations:

Feel free to follow the PR, test (optional, especially for small requests) and give your feedback here if needed.

Hi everyone :waving_hand:

Development is ready, and I would need a few testers to check that it meets the requirements before going into production :grinning_face_with_smiling_eyes:

Here is the result:

The PR containing the spec is here:

You can test with this Docker image:

ghcr.io/gladysassistant/gladys-preview:claude-wonderful-albattani-8v9pbw

All feedback is welcome! If everything is good, I plan to publish this on Monday :rocket:

I’d try that too :eyes:

Tested with Intégration externe - Prochains passages de l'ISS :rocket:
No issues, either during development or testing (the trigger retrieves usable values in variables for the rest of the scene)

Tested on « Fuel Prices Â» it’s good :slight_smile: :

Triggers :


Actions :

Thanks @prohand for testing « Fuel Prices », and thanks @cicoub13 for the ISS :folded_hands:

Looking at your screenshots, I noticed a small display issue in the trigger and action selector: with long labels, the titles of the three columns weren’t aligned, and the integration name was wrapping in the middle of the title.

This is fixed in the PR: the entries are now aligned at the top, and the integration name is on its own line under the title :slight_smile:


This will be in the same release as the feature!