You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
Logger: homeassistant.components.switch
Source: custom_components/mealie/switch.py:43
Integration: Kontakt (documentation, issues)
First occurred: 21.46.47 (2 occurrences)
Last logged: 21.46.47
Error adding entities for domain switch with platform mealie
Error while setting up mealie platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 397, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 641, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 776, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 570, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 969, in state
if (is_on := self.is_on) is None:
File "/config/custom_components/mealie/switch.py", line 43, in is_on
return self.coordinator.data.get("title", "") == "foo"
AttributeError: 'NoneType' object has no attribute 'get'
-->
Version of the custom_component
Configuration
Add your logs here.
Describe the bug
after setup 3 entities is added but not avalible
Debug log
Add your logs here.
Logger: homeassistant
Source: custom_components/mealie/binary_sensor.py:33
Integration: Mealie ([documentation](https://github.com/mealie-recipes/mealie-hacs), [issues](https://github.com/mealie-recipes/mealie-hacs/issues))
First occurred: 21.47.16 (1 occurrences)
Last logged: 21.47.16
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 110, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 339, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 570, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 209, in state
if (is_on := self.is_on) is None:
File "/config/custom_components/mealie/binary_sensor.py", line 33, in is_on
return self.coordinator.data.get("title", "") == "foo"
AttributeError: 'NoneType' object has no attribute 'get'
Home Asssistant version
Home Assistant 2022.7.5 Supervisor 2022.07.0 Operating System 8.3 Brugerfladeversion: 20220707.1 - latest
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Logger: homeassistant.components.switch
Source: custom_components/mealie/switch.py:43
Integration: Kontakt (documentation, issues)
First occurred: 21.46.47 (2 occurrences)
Last logged: 21.46.47
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 397, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 641, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 776, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 570, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 969, in state
if (is_on := self.is_on) is None:
File "/config/custom_components/mealie/switch.py", line 43, in is_on
return self.coordinator.data.get("title", "") == "foo"
AttributeError: 'NoneType' object has no attribute 'get'
-->
Version of the custom_component
Configuration
Add your logs here.
Describe the bug
after setup 3 entities is added but not avalible
Debug log
Home Asssistant version
Home Assistant 2022.7.5 Supervisor 2022.07.0 Operating System 8.3 Brugerfladeversion: 20220707.1 - latest
The text was updated successfully, but these errors were encountered: