2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

73_GasCalculator.pm: Spelling error "di(s)abled" corrected

git-svn-id: https://svn.fhem.de/fhem/trunk@16261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor 2018-02-25 09:26:04 +00:00
parent e74ac27fd8
commit 4e4d928e4b

View File

@ -143,7 +143,7 @@ sub GasCalculator_Attr(@)
my $name = $a[1]; my $name = $a[1];
my $hash = $defs{$name}; my $hash = $defs{$name};
### Check whether "disbale" attribute has been provided ### Check whether "disable" attribute has been provided
if ($a[2] eq "disable") if ($a[2] eq "disable")
{ {
if ($a[3] eq 0) if ($a[3] eq 0)
@ -152,7 +152,7 @@ sub GasCalculator_Attr(@)
} }
elsif ($a[3] eq 1) elsif ($a[3] eq 1)
{ {
$hash->{STATE} = "diabled"; $hash->{STATE} = "disabled";
} }
} }