Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_platform.py", line 217, in async_add_entities

for entity in new_entities]


 "/usr/src/app/homeassistant/helpers/entity_platform.py", line 215, in <listcomp>

self._async_add_entity(entity, update_before_add,


 "/usr/src/app/homeassistant/components/light/tradfri.py", line 50, in <genexpr>

TradfriLight(light, api, gateway_id) for light in lights)


 "/usr/src/app/homeassistant/components/light/tradfri.py", line 171, in __init__

self._refresh(light)


 "/usr/src/app/homeassistant/components/light/tradfri.py", line 353, in _refresh

if light.light_control.can_set_dimmer:
AttributeError: 'LightControl' object has no attribute 'can_set_dimmer'

Traceback (most recent call last):


 "/Users/cytadel/.pyenv/versions/3.7.5/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 121, in worker

result = (True, func(*args, **kwds))


 "/Users/cytadel/.pyenv/versions/3.7.5/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar

return list(map(*args))


 "/Users/cytadel/Library/Caches/pypoetry/virtualenvs/feedly.ml-cyber-attacks-4LjjtgqO-py3.7/lib/python3.7/site-packages/transformers/data/processors/squad.py", line 110, in squad_convert_example_to_features

for (i, token) in enumerate(example.doc_tokens):
AttributeError: 'list' object has no attribute 'doc_tokens'
