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

Detected code that calls async_forward_entry_setup during setup without awaiting async_forward_entry_setup #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

myTselection
Copy link

2024-09-02 21:47:26.481 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration holidays with title: Holidays and entry_id: XXX, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.

2024-09-02 21:47:26.481 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration holidays with title: Holidays and entry_id: XXX, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
@tjorim
Copy link

tjorim commented Sep 3, 2024

End of Support
Home Assistant has introduced native holiday integration in the 2024.1 release. I have therefore ended developing this custom integration.

@CaptainKarma
Copy link

Found this page due to the error displayed in HA, appreciate this integration is now EoL so thank you for creating and maintaining it.

I installed the HA Holiday integration, fiddled around and came up with the below code to show the next bank holiday on the dashboard in UK format using a mushroom-chips-card.

Hope it helps someone

`type: custom:mushroom-chips-card
chips:

  • type: template
    icon: mdi:balloon
    entity: calendar.united_kingdom_eng
    content: >-
    {{ 'Next Bank Holiday - ' + state_attr('calendar.united_kingdom_eng',
    'message') + ' - ' }} {{
    as_timestamp(state_attr('calendar.united_kingdom_eng', 'start_time')) |
    timestamp_custom('%d %B') + ' ' }}
    alignment: center
    `

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

Successfully merging this pull request may close these issues.

3 participants