mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 03:44:52 +00:00
74_AutomowerConnect: convert model to upper case due to changed spelling
git-svn-id: https://svn.fhem.de/fhem/trunk@29189 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c98dbb463d
commit
3c2837fc32
@ -2415,7 +2415,7 @@ sub fillReadings {
|
||||
|
||||
$pref = 'system';
|
||||
readingsBulkUpdateIfChanged( $hash, $pref."_name", $hash->{helper}{mower}{attributes}{$pref}{name} );
|
||||
my $model = $hash->{helper}{mower}{attributes}{$pref}{model};
|
||||
my $model = uc $hash->{helper}{mower}{attributes}{$pref}{model};
|
||||
$model =~ s/AUTOMOWER./AM/;
|
||||
readingsBulkUpdateIfChanged( $hash, "model", $model );
|
||||
$pref = 'planner';
|
||||
|
Loading…
x
Reference in New Issue
Block a user