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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user