mirror of
https://github.com/home-assistant/android
synced 2024-09-06 09:13:57 +00:00
Fix getStateChanges call always returning empty flow (#2073)
This commit is contained in:
parent
38534bc456
commit
04e269ce52
|
@ -174,10 +174,12 @@ class WebSocketRepositoryImpl @Inject constructor(
|
|||
}.shareIn(ioScope, SharingStarted.WhileSubscribed())
|
||||
}
|
||||
}
|
||||
|
||||
return stateChangedFlow!!
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Unable to get flow of entities", e)
|
||||
return emptyFlow()
|
||||
}
|
||||
return emptyFlow()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue