2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

74_Unifi: fixed bad readingnames for aps

git-svn-id: https://svn.fhem.de/fhem/trunk@19926 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wuehler 2019-07-31 05:54:07 +00:00
parent fa29b390bd
commit 97b445a2fd

View File

@ -1650,7 +1650,7 @@ sub Unifi_SetAccesspointReadings($) {
$essid = '';
$utiliz = '';
$apRef = $hash->{accespoints}->{$apID};
$apName = ($apRef->{name}) ? $apRef->{name} : $apRef->{ip};
$apName = ($apRef->{name}) ? makeReadingName($apRef->{name}) : $apRef->{ip};
if (defined $apRef->{vap_table} && scalar @{$apRef->{vap_table}}) {
for my $vap (@{$apRef->{vap_table}}) {