mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-24 02:59:22 +00:00
msgSchema: add KODI
git-svn-id: https://svn.fhem.de/fhem/trunk@13326 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7e435f646d
commit
0934813601
@ -342,6 +342,32 @@ my $db = {
|
||||
},
|
||||
},
|
||||
|
||||
'KODI' => {
|
||||
'Normal' =>
|
||||
'{ my $d=\'%DEVICE%\'; my $msg=\'%MSG%\'; my $title=\'%TITLE%\'; my $timeout=%TIMEOUT%*1000; fhem "set $d msg \'$title\' \'$msg\' $timeout %KODI_ICON%"; }',
|
||||
'High' =>
|
||||
'{ my $d=\'%DEVICE%\'; my $msg=\'%MSG%\'; my $title=\'%TITLE%\'; my $timeout=%TIMEOUT%*1000; fhem "set $d msg \'$title\' \'$msg\' $timeout %KODI_ICON%"; }',
|
||||
'Low' =>
|
||||
'{ my $d=\'%DEVICE%\'; my $msg=\'%MSG%\'; my $title=\'%TITLE%\'; my $timeout=%TIMEOUT%*1000; fhem "set $d msg \'$title\' \'$msg\' $timeout %KODI_ICON%"; }',
|
||||
'defaultValues' => {
|
||||
'Normal' => {
|
||||
'TIMEOUT' => 8,
|
||||
'TITLE' => 'Info',
|
||||
'KODI_ICON' => 'info',
|
||||
},
|
||||
'High' => {
|
||||
'TIMEOUT' => 12,
|
||||
'TITLE' => 'Warning',
|
||||
'KODI_ICON' => 'warning',
|
||||
},
|
||||
'Low' => {
|
||||
'TIMEOUT' => 8,
|
||||
'TITLE' => 'Notice',
|
||||
'KODI_ICON' => '',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
'XBMC' => {
|
||||
'Normal' =>
|
||||
'{ my $d=\'%DEVICE%\'; my $msg=\'%MSG%\'; my $title=\'%TITLE%\'; my $timeout=%TIMEOUT%*1000; fhem "set $d msg \'$title\' \'$msg\' $timeout %XBMC_ICON%"; }',
|
||||
|
Loading…
x
Reference in New Issue
Block a user