René's URL Explorer Experiment


Title: Slow startup (5min websocket timeout) + TypeError in switch.py:474 with HA 2026.04 · Issue #28 · Connectlife-LLC/HomeAssistantPlugin · GitHub

Open Graph Title: Slow startup (5min websocket timeout) + TypeError in switch.py:474 with HA 2026.04 · Issue #28 · Connectlife-LLC/HomeAssistantPlugin

X Title: Slow startup (5min websocket timeout) + TypeError in switch.py:474 with HA 2026.04 · Issue #28 · Connectlife-LLC/HomeAssistantPlugin

Description: Environment Home Assistant version: 2026.04 Integration version: v1.0.0 (via HACS) Python version: 3.14 Hardware: Raspberry Pi (Home Assistant OS) Devices: 5x Hisense split AC (model 009-199), managed via ConnectLife Bug 1: Websocket blo...

Open Graph Description: Environment Home Assistant version: 2026.04 Integration version: v1.0.0 (via HACS) Python version: 3.14 Hardware: Raspberry Pi (Home Assistant OS) Devices: 5x Hisense split AC (model 009-199), mana...

X Description: Environment Home Assistant version: 2026.04 Integration version: v1.0.0 (via HACS) Python version: 3.14 Hardware: Raspberry Pi (Home Assistant OS) Devices: 5x Hisense split AC (model 009-199), mana...

Opengraph URL: https://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Slow startup (5min websocket timeout) + TypeError in switch.py:474 with HA 2026.04","articleBody":"### Environment\n- **Home Assistant version:** 2026.04\n- **Integration version:** v1.0.0 (via HACS)\n- **Python version:** 3.14\n- **Hardware:** Raspberry Pi (Home Assistant OS)\n- **Devices:** 5x Hisense split AC (model 009-199), managed via ConnectLife\n\n### Bug 1: Websocket blocks HA startup for 5 minutes\n\nDuring Home Assistant startup, `HisenseWebSocket._connect_ws()` hangs and causes a 5-minute \ntimeout before HA can proceed. This blocks ALL other integrations from completing setup.\n\n**Log:**\n2026-04-06 18:50:39.442 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for\nbootstrap waiting on {\u003cTask pending name='Task-604'\ncoro=\u003cHisenseWebSocket._connect_ws() running at\n/config/custom_components/hisense_ac_plugin/websocket.py:119\u003e\nwait_for=\u003cFuture pending cb=[Task.task_wakeup()]\u003e cb=[set.remove()]\u003e} - moving forward\n\n**Expected behavior:** The websocket connection should either complete quickly or fail gracefully \nwithout blocking HA startup. Consider using `hass.async_create_background_task()` instead of \nblocking the setup phase.\n\n### Bug 2: TypeError in switch.py line 474 (15 occurrences per boot)\n\nAfter startup, multiple `TypeError: 'NoneType' object can't be awaited` errors are logged \nfrom `switch.py:474`. With 5 AC units × 3 switches each, this generates 15 errors per boot.\n\n**Log:**\n2026-04-06 18:45:21.509 ERROR (SyncWorker_5) [homeassistant] Error doing job:\nTask exception was never retrieved (task: None)\nTraceback (most recent call last):\nFile \"/config/custom_components/hisense_ac_plugin/switch.py\", line 474, in _async_schedule_update\nawait self.async_schedule_update_ha_state(True)\nTypeError: 'NoneType' object can't be awaited\n\n**Expected behavior:** `_async_schedule_update` should check if `async_schedule_update_ha_state` \nreturns a valid awaitable before awaiting it, or handle the None case gracefully.\n\n### Additional warnings (non-blocking)\n\nThe integration also logs these warnings for each device, which is expected behavior \nbut worth noting:\nWARNING [custom_components.hisense_ac_plugin.number] No supported numbers found\nWARNING [custom_components.hisense_ac_plugin.water_heater] Skipping unsupported device: 009-199 (...)\nWARNING [custom_components.hisense_ac_plugin.humidifier] Skipping unsupported device: 009-199 (...)\n\nThese are just informational (009-199 are AC units, not water heaters/humidifiers), but could \nbe silenced to keep logs clean.","author":{"url":"https://github.com/pifma","@type":"Person","name":"pifma"},"datePublished":"2026-04-06T17:35:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/28/HomeAssistantPlugin/issues/28"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:77298dcf-8dc2-7171-c25c-b0a36d6616c6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF02:29866E:6551AC:8E6C86:6A4BCEB0
html-safe-nonce9fcc7f0c8cde7c4118eeef74ca7a7ba2af4295cd523578d78c659a00ea02240f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjAyOjI5ODY2RTo2NTUxQUM6OEU2Qzg2OjZBNEJDRUIwIiwidmlzaXRvcl9pZCI6IjIwODE2Njc3ODU2ODc4MTM4MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac445a72c83183879731333b69e96fc47b86fa59a479c70522a54d95cafaa7ee38
hovercard-subject-tagissue:4213091341
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Connectlife-LLC/HomeAssistantPlugin/28/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eafd14758f23cd06416e11c5069ec9ee071f02ac0a4263d8e45662ff27d7bed8/Connectlife-LLC/HomeAssistantPlugin/issues/28
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eafd14758f23cd06416e11c5069ec9ee071f02ac0a4263d8e45662ff27d7bed8/Connectlife-LLC/HomeAssistantPlugin/issues/28
og:image:altEnvironment Home Assistant version: 2026.04 Integration version: v1.0.0 (via HACS) Python version: 3.14 Hardware: Raspberry Pi (Home Assistant OS) Devices: 5x Hisense split AC (model 009-199), mana...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepifma
hostnamegithub.com
expected-hostnamegithub.com
None9df996be9551ac02247d09a2f7f64ece66c35ca28885d346e98fdfda9cdaa37b
turbo-cache-controlno-preview
go-importgithub.com/Connectlife-LLC/HomeAssistantPlugin git https://github.com/Connectlife-LLC/HomeAssistantPlugin.git
octolytics-dimension-user_id189089286
octolytics-dimension-user_loginConnectlife-LLC
octolytics-dimension-repository_id999409885
octolytics-dimension-repository_nwoConnectlife-LLC/HomeAssistantPlugin
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id999409885
octolytics-dimension-repository_network_root_nwoConnectlife-LLC/HomeAssistantPlugin
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb71208a1c9ec7ccf364087569d0551f665dda674
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FConnectlife-LLC%2FHomeAssistantPlugin%2Fissues%2F28
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FConnectlife-LLC%2FHomeAssistantPlugin%2Fissues%2F28
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Connectlife-LLC%2FHomeAssistantPlugin
Reloadhttps://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28
Reloadhttps://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28
Reloadhttps://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28
Please reload this pagehttps://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28
Connectlife-LLC https://github.com/Connectlife-LLC
HomeAssistantPluginhttps://github.com/Connectlife-LLC/HomeAssistantPlugin
Notifications https://github.com/login?return_to=%2FConnectlife-LLC%2FHomeAssistantPlugin
Fork 20 https://github.com/login?return_to=%2FConnectlife-LLC%2FHomeAssistantPlugin
Star 39 https://github.com/login?return_to=%2FConnectlife-LLC%2FHomeAssistantPlugin
Code https://github.com/Connectlife-LLC/HomeAssistantPlugin
Issues 23 https://github.com/Connectlife-LLC/HomeAssistantPlugin/issues
Pull requests 7 https://github.com/Connectlife-LLC/HomeAssistantPlugin/pulls
Discussions https://github.com/Connectlife-LLC/HomeAssistantPlugin/discussions
Actions https://github.com/Connectlife-LLC/HomeAssistantPlugin/actions
Projects https://github.com/Connectlife-LLC/HomeAssistantPlugin/projects
Security and quality 0 https://github.com/Connectlife-LLC/HomeAssistantPlugin/security
Insights https://github.com/Connectlife-LLC/HomeAssistantPlugin/pulse
Code https://github.com/Connectlife-LLC/HomeAssistantPlugin
Issues https://github.com/Connectlife-LLC/HomeAssistantPlugin/issues
Pull requests https://github.com/Connectlife-LLC/HomeAssistantPlugin/pulls
Discussions https://github.com/Connectlife-LLC/HomeAssistantPlugin/discussions
Actions https://github.com/Connectlife-LLC/HomeAssistantPlugin/actions
Projects https://github.com/Connectlife-LLC/HomeAssistantPlugin/projects
Security and quality https://github.com/Connectlife-LLC/HomeAssistantPlugin/security
Insights https://github.com/Connectlife-LLC/HomeAssistantPlugin/pulse
Slow startup (5min websocket timeout) + TypeError in switch.py:474 with HA 2026.04https://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28#top
https://github.com/pifma
pifmahttps://github.com/pifma
on Apr 6, 2026https://github.com/Connectlife-LLC/HomeAssistantPlugin/issues/28#issue-4213091341
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.