Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 148, in _async_setup_platform

entity_platform.add_entities, discovery_info


 "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:95269)


 "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:98428)


 "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:93687)


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

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


 "/usr/src/app/homeassistant/components/light/yeelight.py", line 40, in setup_platform

add_devices(lights)


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 288, in add_entities

self.component.hass.loop


 "/usr/local/lib/python3.5/concurrent/futures/_base.py", line 405, in result

return self.__get_result()


 "/usr/local/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result

raise self._exception


 "uvloop/future.pyx", line 374, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:97244)


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 304, in async_add_entities

yield from asyncio.gather(*tasks, loop=self.component.hass.loop)


 "/usr/local/lib/python3.5/asyncio/futures.py", line 361, in __iter__

yield self
# This tells Task to wait for completion.


 "uvloop/future.pyx", line 434, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:98463)


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

raise self._exception


 "uvloop/future.pyx", line 372, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:97209)


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 320, in _async_process_entity

new_entity, self, update_before_add=update_before_add


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 194, in async_add_entity

yield from entity.async_update_ha_state()


 "/usr/src/app/homeassistant/helpers/entity.py", line 216, in async_update_ha_state

state = self.state


 "/usr/src/app/homeassistant/helpers/entity.py", line 318, in state

return STATE_ON if self.is_on else STATE_OFF


 "/usr/src/app/homeassistant/components/light/yeelight.py", line 77, in is_on

return self._state == self._bulb.POWER_ON
AttributeError: 'NoneType' object has no attribute 'POWER_ON'

Traceback (most recent call last):


 "c:\development\mlops-example\env\lib\site-packages\dvc\remote\base.py", line 35, in wrapper

func(from_info, to_info, *args, **kwargs)


 "c:\development\mlops-example\env\lib\site-packages\dvc\fs\base.py", line 238, in upload

self._upload(
# noqa, pylint: disable=no-member


 "c:\development\mlops-example\env\lib\site-packages\dvc\fs\fsspec_wrapper.py", line 118, in _upload

self.upload_fobj(


 "c:\development\mlops-example\env\lib\site-packages\dvc\fs\base.py", line 252, in upload_fobj

self._upload_fobj(wrapped, to_info)
# pylint: disable=no-member


 "c:\development\mlops-example\env\lib\site-packages\dvc\fs\fsspec_wrapper.py", line 111, in _upload_fobj

shutil.copyfileobj(fobj, fdest, length=fdest.blocksize)


 "c:\development\mlops-example\env\lib\site-packages\fsspec\spec.py", line 1557, in __exit__

self.close()


 "c:\development\mlops-example\env\lib\site-packages\fsspec\spec.py", line 1524, in close

self.flush(force=True)


 "c:\development\mlops-example\env\lib\site-packages\fsspec\spec.py", line 1397, in flush

if self._upload_chunk(final=force) is not False:


 "c:\development\mlops-example\env\lib\site-packages\gcsfs\core.py", line 1448, in _upload_chunk

headers, contents = self.gcsfs.call(


 "c:\development\mlops-example\env\lib\site-packages\fsspec\asyn.py", line 121, in wrapper

return maybe_sync(func, self, *args, **kwargs)


 "c:\development\mlops-example\env\lib\site-packages\fsspec\asyn.py", line 100, in maybe_sync

return sync(loop, func, *args, **kwargs)


 "c:\development\mlops-example\env\lib\site-packages\fsspec\asyn.py", line 71, in sync

raise exc.with_traceback(tb)


 "c:\development\mlops-example\env\lib\site-packages\fsspec\asyn.py", line 55, in f

result[0] = await future


 "c:\development\mlops-example\env\lib\site-packages\gcsfs\core.py", line 508, in _call

path, jsonin, datain, headers, kwargs = self._get_args(


 "c:\development\mlops-example\env\lib\site-packages\gcsfs\core.py", line 483, in _get_args

if not path.startswith("http"):
AttributeError: 'NoneType' object has no attribute 'startswith'
