Status-Widgets

status.collapse status.log status.message status.notify


status.notify

Displays a notification edge window

Parameters
{{status.notify(id, item_trigger, item_message, signal, title, text, mode) }}
id
unique id for this widget
item_trigger
a item witch triggers the notification
item_message
a item with the dynamic message
signal
a word for the signal corner
title
a title of the messagebox
text
a additional static text
mode
the mode: 'info', 'warning', 'error' (optional, default 'info')
Examples
If you flip the switch to 'on' the alert is been triggerd and the notification will be shown.
{{ status.notify('n1', 'bath.alert.info', 'bath.alert.text', 'INFO', 'Information', 'The heating ist to hot!', 'info') }}
Info

Information

The heating ist to hot!

Warning

Warning

The heating ist to hot! Please switch it off!

Error

Error

The heating ist to hot! It will burn now!

Widgets

Design

Misc