About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This action will display notification on your LaMetric device.
- API endpoint slug
- lametric.notification
- Filter code method
- Lametric.notification.skip(string?: reason)
- Runtime method
- runAction("lametric.notification", {})
Action fields
Device Dropdown list
- Label
- Device to display notification on
- Helper text
- If you do not see your device in the list – make sure it runs firmware 1.6.1 or newer.
- Slug
- device
- Required
- true
- Can have default value
- false
Icon Dropdown list
- Label
- Icon or animation
- Helper text
- Preview icons and animations here.
- Slug
- icon
- Required
- true
- Can have default value
- false
Text Text input > Short text
- Label
- Message
- Slug
- text
- Required
- true
- Can have default value
- true
- Filter code method
- Lametric.notification.setText(string: text)
Sound Dropdown list
- Label
- Sound
- Helper text
- Notification sound is played on LaMetric TIME when message is delivered.
- Slug
- sound
- Required
- false
- Can have default value
- true
- Filter code method
- Lametric.notification.setSound(string: sound)
Priority Dropdown list
- Label
- Priority
- Helper text
- Only important messages will be delivered when screensaver is active.
- Slug
- priority
- Required
- true
- Can have default value
- true
- Filter code method
- Lametric.notification.setPriority(string: priority)