Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform

SLOW_SETUP_MAX_WAIT)


 "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for

return fut.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 293, in result

raise self._exception


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sleepiq/sensor.py", line 18, in setup_platform

dev.append(SleepNumberSensor(data, bed_id, side))


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sleepiq/sensor.py", line 33, in __init__

self.update()


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sleepiq/sensor.py", line 48, in update

self._state = self.side.sleep_number
AttributeError: 'NoneType' object has no attribute 'sleep_number'

Traceback (most recent call last):


 "/home/celso/projects/semantic_code_search/source/semantic_code_search.py", line 236, in <module>

dev_run()


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/hydra/main.py", line 24, in decorated_main

strict=strict,


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/hydra/_internal/utils.py", line 174, in run_hydra

overrides=args.overrides,


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/hydra/_internal/hydra.py", line 86, in run

job_subdir_key=None,


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/hydra/plugins/common/utils.py", line 109, in run_job

ret.return_value = task_function(task_cfg)


 "/home/celso/projects/semantic_code_search/source/semantic_code_search.py", line 45, in dev_run

trainer.fit(model)


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/pytorch_lightning/trainer/states.py", line 48, in wrapped_fn

result = fn(self, *args, **kwargs)


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1073, in fit

results = self.accelerator_backend.train(model)


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/pytorch_lightning/accelerators/gpu_backend.py", line 51, in train

results = self.trainer.run_pretrain_routine(model)


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1169, in run_pretrain_routine

self.logger.save()


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/pytorch_lightning/utilities/distributed.py", line 27, in wrapped_fn

return fn(*args, **kwargs)


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/pytorch_lightning/loggers/tensorboard.py", line 212, in save

save_hparams_to_yaml(hparams_file, self.hparams)


 "/home/celso/projects/venvs/semantic_code_search/lib/python3.7/site-packages/pytorch_lightning/core/saving.py", line 357, in save_hparams_to_yaml

if OmegaConf.is_config(hparams):
AttributeError: type object 'OmegaConf' has no attribute 'is_config'
