mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
74_UnifiSwitch: fixed Log-Messages
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20018 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f1ab6f6856
commit
f4f687f0e5
@ -12,25 +12,27 @@
|
|||||||
# Model als Internal
|
# Model als Internal
|
||||||
# port-state als reading hinzugefügt
|
# port-state als reading hinzugefügt
|
||||||
# V 0.90
|
# V 0.90
|
||||||
# - feature: 74_UnififSwitch: setter for poe-Mode
|
# - feature: 74_UnifiSwitch: setter for poe-Mode
|
||||||
# added commandref
|
# added commandref
|
||||||
# V 0.91
|
# V 0.91
|
||||||
# - fixed: 74_UnififSwitch: fixed wording in commandref
|
# - fixed: 74_Unififwitch: fixed wording in commandref
|
||||||
# added new state-mappings
|
# added new state-mappings
|
||||||
# V 0.92
|
# V 0.92
|
||||||
# - fixed: 74_UnififSwitch: fixed possible log-error in eq in line 135
|
# - fixed: 74_UnifiSwitch: fixed possible log-error in eq in line 135
|
||||||
# V 0.93
|
# V 0.93
|
||||||
# - bugfix: 74_UnififSwitch: fixed poe restart
|
# - bugfix: 74_UnifiSwitch: fixed poe restart
|
||||||
# V 0.0.94
|
# V 0.0.94
|
||||||
# - feature: 74_UnififSwitch: supports new module UnifiClient
|
# - feature: 74_UnifiSwitch: supports new module UnifiClient
|
||||||
# V 0.0.95
|
# V 0.0.95
|
||||||
# - feature: 74_UnififSwitch: supports disablePort
|
# - feature: 74_UnifiSwitch: supports disablePort
|
||||||
|
# V 0.0.96
|
||||||
|
# - fixed: 74_UnifiSwitch: Log-Messages
|
||||||
#
|
#
|
||||||
# TODOs:
|
# TODOs:
|
||||||
# - state des USW für weiter state-Numbers korrekt in Worte übersetzen
|
# - state des USW für weiter state-Numbers korrekt in Worte übersetzen
|
||||||
|
|
||||||
package main;
|
package main;
|
||||||
my $version="0.0.95";
|
my $version="0.0.96";
|
||||||
# Laden evtl. abhängiger Perl- bzw. FHEM-Module
|
# Laden evtl. abhängiger Perl- bzw. FHEM-Module
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
@ -126,7 +128,7 @@ sub UnifiSwitch_Set($@){
|
|||||||
# return undef;
|
# return undef;
|
||||||
#}
|
#}
|
||||||
my $portProfileDisableID=AttrVal($name,"portProfileDisableID",undef);
|
my $portProfileDisableID=AttrVal($name,"portProfileDisableID",undef);
|
||||||
my $isPortprofileID = undef;
|
my $isPortprofileID = "";
|
||||||
$isPortprofileID ="disablePort" if (defined $portProfileDisableID);
|
$isPortprofileID ="disablePort" if (defined $portProfileDisableID);
|
||||||
if($setName !~ /clear|poeMode|disablePort/) {
|
if($setName !~ /clear|poeMode|disablePort/) {
|
||||||
return "Unknown argument $setName, choose one of "
|
return "Unknown argument $setName, choose one of "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user