Fix recorder test intermittently failing (#39468)

pull/39454/head
J. Nick Koston 2020-08-30 13:58:00 -05:00 committed by GitHub
parent 9ec870c750
commit 56ddbd87b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ def wait_recording_done(hass):
trigger_db_commit(hass)
hass.block_till_done()
hass.data[recorder.DATA_INSTANCE].block_till_done()
hass.block_till_done()
def trigger_db_commit(hass):