mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
74_Unifi.pm: Fixed bug - http://forum.fhem.de/index.php/topic,40287.msg354932.html#msg354932
git-svn-id: https://svn.fhem.de/fhem/trunk@9785 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a088824f6e
commit
31ad18da51
@ -838,8 +838,8 @@ sub Unifi_SetHealthReadings($) {
|
||||
readingsBulkUpdate($hash,'#UC_wlan_users',$hash->{wlan_health}->{num_user});
|
||||
readingsBulkUpdate($hash,'#UC_wlan_accesspoints',$hash->{wlan_health}->{num_ap});
|
||||
readingsBulkUpdate($hash,'#UC_wlan_guests',$hash->{wlan_health}->{num_guest});
|
||||
readingsBulkUpdate($hash,'#UC_unarchived_alerts',scalar @{$hash->{alerts_unarchived}});
|
||||
readingsBulkUpdate($hash,'#UC_events',scalar(@{$hash->{events}}).' (last '.$hash->{unifi}->{eventPeriod}.'h)');
|
||||
readingsBulkUpdate($hash,'#UC_unarchived_alerts',scalar @{$hash->{alerts_unarchived}}) if(defined $hash->{alerts_unarchived});
|
||||
readingsBulkUpdate($hash,'#UC_events',scalar(@{$hash->{events}}).' (last '.$hash->{unifi}->{eventPeriod}.'h)') if(defined $hash->{events});
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user