Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity switch #269

Closed
alandtse opened this issue Aug 8, 2019 · 6 comments · Fixed by #296
Closed
Labels
bug Something isn't working

Comments

@alandtse
Copy link
Owner

alandtse commented Aug 8, 2019

Describe the bug
ha_schedule_update is called before entity_id is assigned on startup

To Reproduce
Steps to reproduce the behavior:

  1. Restart HA

Expected behavior
Exception should not be thrown

Screenshots
If applicable, add screenshots to help explain your problem.

System details

  • Home-assistant (version): 0.97.0
  • Hassio (Yes/No): No
  • alexa_media (version from const.py or HA startup): 1.4.0
  • alexapy (version from pip show alexapy or HA startup): 0.7.1

Additional context
Does not seem to degrade functionality

@KennethLavrsen
Copy link

I am being flooded with errors like this too.

@alandtse
Copy link
Owner Author

alandtse commented Aug 8, 2019

You should only see this on startup and after that you won't see it. Let me know if you see it more than that or if you see functionality problems.

@snakuzzo
Copy link

snakuzzo commented Aug 8, 2019

same here after upgrade to 1.4.1 and...yes...there are errors just on startup

@mauog
Copy link

mauog commented Aug 8, 2019

Same here after moving to HACS and 1.4.1 (previously I had 1.3.1 with custom_updater)
HA is 0.96.5 running in a docker container.

2019-08-08 14:16:42 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 216, in async_update_ha_state
    "No entity id specified for entity {}".format(self.name))
homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Ovunque shuffle switch

A line for each entities related to Alexa.
It looks that the errors are showed just at the startup

@alandtse alandtse added the bug Something isn't working label Aug 8, 2019
@anrada73
Copy link

same Problem

@supersonical
Copy link

I´m having the same problem

homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity This Device repeat switch
2019-08-16 21:00:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 243, in async_update_ha_state
"No entity id specified for entity {}".format(self.name)
homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Alexa Apps repeat switch
2019-08-16 21:00:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 243, in async_update_ha_state
"No entity id specified for entity {}".format(self.name)
homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity do not disturb switch
2019-08-16 21:00:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants