mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 13:26:02 +00:00
msgSchema.pm: fix language for AMADDevice, introduce MTYPE for TelegramBot
git-svn-id: https://svn.fhem.de/fhem/trunk@15175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9c62cd3276
commit
f16928a190
@ -12,9 +12,9 @@ my $db = {
|
||||
'audio' => {
|
||||
|
||||
'AMADDevice' => {
|
||||
'Normal' => 'set %DEVICE% ttsMsg &%LANG%; %MSGSHRT%',
|
||||
'ShortPrio' => 'set %DEVICE% ttsMsg &%LANG%; %SHOUTOUT%',
|
||||
'Short' => 'set %DEVICE% ttsMsg &%LANG%; %SHOUTOUT%',
|
||||
'Normal' => 'set %DEVICE% ttsMsg &%LANG%;; %MSGSHRT%',
|
||||
'ShortPrio' => 'set %DEVICE% ttsMsg &%LANG%;; %SHOUTOUT%',
|
||||
'Short' => 'set %DEVICE% ttsMsg &%LANG%;; %SHOUTOUT%',
|
||||
'defaultValues' => {
|
||||
'Normal' => {
|
||||
'LANG' => 'de',
|
||||
@ -254,18 +254,21 @@ my $db = {
|
||||
},
|
||||
|
||||
'TelegramBot' => {
|
||||
'Normal' => 'set %DEVICE% message %RECIPIENT% %MSG%',
|
||||
'High' => 'set %DEVICE% message %RECIPIENT% %MSG%',
|
||||
'Low' => 'set %DEVICE% message %RECIPIENT% %MSG%',
|
||||
'Normal' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
|
||||
'High' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
|
||||
'Low' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
|
||||
'defaultValues' => {
|
||||
'Normal' => {
|
||||
'RECIPIENT' => '',
|
||||
'RECIPIENT' => '',
|
||||
'TelegramBot_MTYPE' => 'message',
|
||||
},
|
||||
'High' => {
|
||||
'RECIPIENT' => '',
|
||||
'RECIPIENT' => '',
|
||||
'TelegramBot_MTYPE' => 'message',
|
||||
},
|
||||
'Low' => {
|
||||
'RECIPIENT' => '',
|
||||
'RECIPIENT' => '',
|
||||
'TelegramBot_MTYPE' => 'message',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user