Upgrade to sqlalchemy 1.4.11 (#49538)

This commit is contained in:
J. Nick Koston
2021-04-21 20:29:36 -10:00
committed by GitHub
parent 303ab36c54
commit c10836fcee
12 changed files with 84 additions and 74 deletions

View File

@@ -151,7 +151,7 @@ class SQLSensor(SensorEntity):
self._state = None
return
for res in result:
for res in result.mappings():
_LOGGER.debug("result = %s", res.items())
data = res[self._column_name]
for key, value in res.items():