mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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' => {
|
'audio' => {
|
||||||
|
|
||||||
'AMADDevice' => {
|
'AMADDevice' => {
|
||||||
'Normal' => 'set %DEVICE% ttsMsg &%LANG%; %MSGSHRT%',
|
'Normal' => 'set %DEVICE% ttsMsg &%LANG%;; %MSGSHRT%',
|
||||||
'ShortPrio' => 'set %DEVICE% ttsMsg &%LANG%; %SHOUTOUT%',
|
'ShortPrio' => 'set %DEVICE% ttsMsg &%LANG%;; %SHOUTOUT%',
|
||||||
'Short' => 'set %DEVICE% ttsMsg &%LANG%; %SHOUTOUT%',
|
'Short' => 'set %DEVICE% ttsMsg &%LANG%;; %SHOUTOUT%',
|
||||||
'defaultValues' => {
|
'defaultValues' => {
|
||||||
'Normal' => {
|
'Normal' => {
|
||||||
'LANG' => 'de',
|
'LANG' => 'de',
|
||||||
@ -254,18 +254,21 @@ my $db = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
'TelegramBot' => {
|
'TelegramBot' => {
|
||||||
'Normal' => 'set %DEVICE% message %RECIPIENT% %MSG%',
|
'Normal' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
|
||||||
'High' => 'set %DEVICE% message %RECIPIENT% %MSG%',
|
'High' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
|
||||||
'Low' => 'set %DEVICE% message %RECIPIENT% %MSG%',
|
'Low' => 'set %DEVICE% %TelegramBot_MTYPE% %RECIPIENT% %MSG%',
|
||||||
'defaultValues' => {
|
'defaultValues' => {
|
||||||
'Normal' => {
|
'Normal' => {
|
||||||
'RECIPIENT' => '',
|
'RECIPIENT' => '',
|
||||||
|
'TelegramBot_MTYPE' => 'message',
|
||||||
},
|
},
|
||||||
'High' => {
|
'High' => {
|
||||||
'RECIPIENT' => '',
|
'RECIPIENT' => '',
|
||||||
|
'TelegramBot_MTYPE' => 'message',
|
||||||
},
|
},
|
||||||
'Low' => {
|
'Low' => {
|
||||||
'RECIPIENT' => '',
|
'RECIPIENT' => '',
|
||||||
|
'TelegramBot_MTYPE' => 'message',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user