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

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

View File

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