fixing missing state reading and missing STATUS value with new readings handling

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2426 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2013-01-03 23:41:24 +00:00
parent f5dd249fb1
commit 7fa06db752

View File

@@ -118,7 +118,7 @@ YAMAHA_AVR_GetStatus($;$)
$power = "Off";
}
$hash->{STATE} = lc($power);
readingsBulkUpdate($hash, "state", lc($power));
}