RESIDENTStk: add missing ucfirst

git-svn-id: https://svn.fhem.de/fhem/trunk@17576 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2018-10-20 15:23:53 +00:00
parent 0e4e5432d1
commit 7977d235aa

View File

@@ -1571,7 +1571,7 @@ sub RESIDENTStk_SetLocation(@) {
)
{
my $currReading = $_;
my $lastReading = "last" . $_;
my $lastReading = "last" . ucfirst($_);
my $currVal = ReadingsVal( $name, $currReading, undef );
readingsBulkUpdate( $hash, $lastReading, $currVal )
if ( defined($currVal) );