mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
72_XiaomiDevice: fix redefine code warnings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18882 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
59f0b172c6
commit
57e4fc5d78
@ -984,11 +984,11 @@ sub XiaomiDevice_Set($$@) {
|
||||
$hash->{helper}{packetid} = $packetid+1;
|
||||
$hash->{helper}{packet}{$packetid} = "get_persist_map";
|
||||
XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"get_persist_map","params":[]}' );
|
||||
my $packetid = $hash->{helper}{packetid};
|
||||
$packetid = $hash->{helper}{packetid};
|
||||
$hash->{helper}{packetid} = $packetid+1;
|
||||
$hash->{helper}{packet}{$packetid} = "get_persist_map";
|
||||
XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"get_persist_map_v1","params":[]}' );
|
||||
my $packetid = $hash->{helper}{packetid};
|
||||
$packetid = $hash->{helper}{packetid};
|
||||
$hash->{helper}{packetid} = $packetid+1;
|
||||
$hash->{helper}{packet}{$packetid} = "get_persist_map";
|
||||
XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"get_persist_map_v2","params":[]}' );
|
||||
@ -999,11 +999,11 @@ sub XiaomiDevice_Set($$@) {
|
||||
$hash->{helper}{packetid} = $packetid+1;
|
||||
$hash->{helper}{packet}{$packetid} = "get_fresh_map";
|
||||
XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"get_fresh_map","params":[]}' );
|
||||
my $packetid = $hash->{helper}{packetid};
|
||||
$packetid = $hash->{helper}{packetid};
|
||||
$hash->{helper}{packetid} = $packetid+1;
|
||||
$hash->{helper}{packet}{$packetid} = "get_fresh_map";
|
||||
XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"get_fresh_map_v1","params":[]}' );
|
||||
my $packetid = $hash->{helper}{packetid};
|
||||
$packetid = $hash->{helper}{packetid};
|
||||
$hash->{helper}{packetid} = $packetid+1;
|
||||
$hash->{helper}{packet}{$packetid} = "get_fresh_map";
|
||||
XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"get_fresh_map_v2","params":[]}' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user