bugfix for on/off status to be reflected in UI

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6305 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
fhemrocks
2014-07-23 09:00:59 +00:00
parent aa5c62374a
commit 963499847c

View File

@@ -1427,6 +1427,8 @@ sub SB_PLAYER_RecBroadcast( $$@ ) {
SB_PLAYER_Amplifier( $hash );
} elsif( $args[ 0 ] eq "ON" ) {
# the server is back
readingsSingleUpdate( $hash, "state", "on", 1 );
readingsSingleUpdate( $hash, "power", "on", 1 );
# do and update of the status
InternalTimer( gettimeofday() + 10,
"SB_PLAYER_GetStatus",