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

extensive use results in platform XY is taking over 10 seconds. #5

Closed
Underknowledge opened this issue May 14, 2019 · 4 comments
Closed
Assignees
Labels

Comments

@Underknowledge
Copy link
Contributor

Underknowledge commented May 14, 2019

Version of the custom_component
0.1.2

Describe the bug
When more then 10 sensors are set up HA is getting hiccups while starting up.

log

2019-05-14 11:54:00 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for youtube which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.


2019-05-14 11:54:06 WARNING (MainThread) [homeassistant.setup] Setup of android_ip_webcam is taking over 10 seconds.
2019-05-14 11:54:06 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.climate] Setup of platform tado is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform androidtv is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.calendar] Setup of platform google is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.calendar] Setup of platform google is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.calendar] Setup of platform google is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.calendar] Setup of platform google is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.calendar] Setup of platform google is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform file is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform file is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform file is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform time_date is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform yr is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform systemmonitor is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform youtube is taking over 10 seconds.
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2019-05-14 11:54:24 ERROR (MainThread) [homeassistant.components.yr.sensor] Retrying in 16 minutes: 
2019-05-14 11:54:24 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 30 seconds.
2019-05-14 11:54:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 357, in _async_add_entity
    raise HomeAssistantError(msg)

@ludeeus ludeeus self-assigned this May 14, 2019
@ludeeus
Copy link
Collaborator

ludeeus commented May 14, 2019

Please share your configuration for this integration.

@Underknowledge
Copy link
Contributor Author

sensor:

  - platform: youtube
    # franck_nijhof  aka franck
    channel_id: UCZ2Ku6wrhdYDHCaBzLaA3bw

  - platform: youtube
    # manda
    channel_id: UCeeq-2NCFFEjcSQC9VXNVEA

  - platform: youtube
    # lefloid
    channel_id: UCLm6s42r_wCbBX0QqXNCTwg

  - platform: youtube
    # Dr.Zzz
    channel_id: UC7G4tLa4Kt6A9e3hJ-HO8ng

  - platform: youtube
    # BurnsHA
    channel_id: UCSKQutOXuNLvFetrKuwudpg

  - platform: youtube
    # kanzlei_wbs aka solmecke
    channel_id: UCb5TfGtSgvNPVPQawfCFuAw

  - platform: youtube
    # maiLab
    channel_id: UCyHDQ5C6z1NDmJ4g6SerW8g

  - platform: youtube
    # SemperVideo
    channel_id: UCCI6C8hD-hTZi2JEmS7zvQw

  - platform: youtube
    # Kurzgesagt – In a Nutshell
    channel_id: UCsXVk37bltHxD1rDPwtNM8Q

  - platform: youtube
    # Dinge Erklärt – Kurzgesagt
    channel_id: UCwRH985XgMYXQ6NxXDo8npw

  - platform: youtube
    # Laut Gedacht
    channel_id: UCII9X0AMyy21VRwSVBjeBrw

  - platform: youtube
    # dosdude
    channel_id: UCBPLij8RWsQrMxl_bjk-R8w

  - platform: youtube
    # ghidra
    channel_id: UC3S8vxwRfqLBdIhgRlDRVzw

@stale
Copy link

stale bot commented May 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label May 28, 2019
@stale stale bot closed this as completed Jun 4, 2019
@ludeeus
Copy link
Collaborator

ludeeus commented Jun 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants