mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 00:26:03 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@11809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d604381ec3
commit
6b973c3d34
@ -221,7 +221,7 @@ sub EDIPLUG_Read($$$)
|
|||||||
$buffer =~s/UTF8/utf-8/g;
|
$buffer =~s/UTF8/utf-8/g;
|
||||||
|
|
||||||
my $xml = XML::Simple->new(ForceArray => ['entry', 'link'], KeyAttr => []);
|
my $xml = XML::Simple->new(ForceArray => ['entry', 'link'], KeyAttr => []);
|
||||||
my $xmlres = $xml->EDIPLUG::XMLin($buffer);
|
my $xmlres = $xml->XMLin($buffer);
|
||||||
|
|
||||||
# Device.System.Power.State (Status der Steckdose)
|
# Device.System.Power.State (Status der Steckdose)
|
||||||
if (exists $xmlres->{CMD}->{'Device.System.Power.State'})
|
if (exists $xmlres->{CMD}->{'Device.System.Power.State'})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user