Skip to content

Docs: API level 3, retoon.notify and retoon.sound - #1

Merged
IgorYbema merged 1 commit into
mainfrom
api-level-3
Oct 29, 2026
Merged

IgorYbema merged 1 commit into
mainfrom
api-level-3

Conversation

@IgorYbema

Copy link
Copy Markdown
Contributor

Documents app interface level 3, which comes with ReToon 1.15:

  • retoon.notify(msg, fn): a banner at the top or a popup in the middle of the Toon's screen, with the same message fields Home Assistant uses (title, message, level, icon, buttons, sound, timeout, tag...). fn(button) gets the tapped button's label, or null when closed without one.
  • retoon.sound(name, volume): a beep, a chime or a WAV file.

Changed: docs/writing-apps.md (table rows, a Notifications section with examples, level 3 in API levels) and AGENTS.md (the short reference).

Merge at the ReToon 1.15 release: until then no Toon has level 3, and an app published with `"api": 3" could not be installed anywhere.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@IgorYbema
IgorYbema merged commit 7a5f2f6 into main Oct 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant