2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 08:11:44 +00:00

74_Unifi: fixed start-typo in poe

git-svn-id: https://svn.fhem.de/fhem/trunk@16638 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wuehler 2018-04-20 19:15:38 +00:00
parent 2a2bc2e812
commit 8b30264bed

View File

@ -20,6 +20,8 @@
# - feature: 74_Unifi: added set updateClien, encrypt user and password # - feature: 74_Unifi: added set updateClien, encrypt user and password
# V 2.2.1 # V 2.2.1
# - feature: 74_Unifi: update VC-readings immediately when getting voucher # - feature: 74_Unifi: update VC-readings immediately when getting voucher
# V 2.2.2
# - fixed: 74_Unifi: restart-typo in poe
package main; package main;
@ -364,7 +366,7 @@ sub Unifi_Set($@) {
$port_overrides->[$idx]{poe_mode} = "passthrough"; $port_overrides->[$idx]{poe_mode} = "passthrough";
Unifi_RestJson_Send($hash, $apRef->{device_id}, {port_overrides => $port_overrides }); Unifi_RestJson_Send($hash, $apRef->{device_id}, {port_overrides => $port_overrides });
} elsif( $setVal3 eq 'restsart' ) { } elsif( $setVal3 eq 'restart' ) {
Unifi_ApJson_Send($hash,{cmd => 'power-cycle', mac => $apRef->{mac}, port_idx => $setVal2+0}); Unifi_ApJson_Send($hash,{cmd => 'power-cycle', mac => $apRef->{mac}, port_idx => $setVal2+0});
} else { } else {