Fix Cloud UI bug preventing managing Google 2FA (#34241)

* Fix Cloud UI bug preventing managing Google 2FA

* Update comment
This commit is contained in:
Paulus Schoutsen 2020-04-15 08:43:43 -07:00 committed by GitHub
parent e47b548192
commit 1ac8442c63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 10 deletions

View file

@ -492,7 +492,7 @@ async def google_assistant_list(hass, connection, msg):
{
"entity_id": entity.entity_id,
"traits": [trait.name for trait in entity.traits()],
"might_2fa": entity.might_2fa(),
"might_2fa": entity.might_2fa_traits(),
}
)