2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

bugfix for on/off status to be reflected in UI

git-svn-id: https://svn.fhem.de/fhem/trunk@6305 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
fhemrocks 2014-07-23 09:00:59 +00:00
parent f43704a452
commit b349c629e0

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",