Closed jhbruhn closed 1 year ago
Describe the bug When using a 7.5" display and the dlimg service, it fails with this error:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 703, in _async_call_service_step response_data = await self._async_run_long_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 665, in _async_run_long_action return long_task.result() ^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/open_epaper_link/__init__.py", line 37, in dlimg hwtype = hass.states.get(DOMAIN + "." + mac.lower() + "hwtype").state ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'state'
To Reproduce Steps to reproduce the behavior:
Also happens with 2.9" display
Describe the bug When using a 7.5" display and the dlimg service, it fails with this error:
To Reproduce Steps to reproduce the behavior: