mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
39_Talk2Fhem.pm: fixed attribute not load at bootup
git-svn-id: https://svn.fhem.de/fhem/trunk@16231 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1cc5ba4f49
commit
97b84a7641
@ -83,6 +83,8 @@
|
|||||||
# nested bracket crash in arraymod fixed
|
# nested bracket crash in arraymod fixed
|
||||||
# syntaxissues on extendet commands fixed
|
# syntaxissues on extendet commands fixed
|
||||||
# umlautfix
|
# umlautfix
|
||||||
|
# 20.02.2018 0.4.3
|
||||||
|
# Bug that not load attributes at bootup fixed
|
||||||
################################################################
|
################################################################
|
||||||
# TODO:
|
# TODO:
|
||||||
#
|
#
|
||||||
@ -90,7 +92,7 @@
|
|||||||
# get compare lists
|
# get compare lists
|
||||||
# answerx
|
# answerx
|
||||||
# klammern in keywordlists sollen die $n nummerierung nicht beeinflussen
|
# klammern in keywordlists sollen die $n nummerierung nicht beeinflussen
|
||||||
#
|
#
|
||||||
|
|
||||||
package main;
|
package main;
|
||||||
|
|
||||||
@ -105,7 +107,7 @@ use Encode qw(decode encode);
|
|||||||
my %Talk2Fhem_globals;
|
my %Talk2Fhem_globals;
|
||||||
|
|
||||||
|
|
||||||
$Talk2Fhem_globals{version}="0.4.2";
|
$Talk2Fhem_globals{version}="0.4.3";
|
||||||
|
|
||||||
$Talk2Fhem_globals{EN}{erase} = ['\bplease\b', '\balso\b', '^msgtext:'];
|
$Talk2Fhem_globals{EN}{erase} = ['\bplease\b', '\balso\b', '^msgtext:'];
|
||||||
$Talk2Fhem_globals{EN}{numbers} = {
|
$Talk2Fhem_globals{EN}{numbers} = {
|
||||||
@ -739,7 +741,7 @@ sub Talk2Fhem_Attr(@)
|
|||||||
# $cmd - Vorgangsart - kann die Werte "del" (löschen) oder "set" (setzen) annehmen
|
# $cmd - Vorgangsart - kann die Werte "del" (löschen) oder "set" (setzen) annehmen
|
||||||
# $name - Gerätename
|
# $name - Gerätename
|
||||||
# $attrName/$attrValue sind Attribut-Name und Attribut-Wert
|
# $attrName/$attrValue sind Attribut-Name und Attribut-Wert
|
||||||
|
return unless $init_done;
|
||||||
#Log 1, Dumper @_;
|
#Log 1, Dumper @_;
|
||||||
if ($attrName eq "T2F_keywordlist" or $attrName eq "T2F_modwordlist") {
|
if ($attrName eq "T2F_keywordlist" or $attrName eq "T2F_modwordlist") {
|
||||||
$defs{$name}{helper}{phrase} = undef;
|
$defs{$name}{helper}{phrase} = undef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user