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

Dashboard Picker does not show this card unless there is a Local Calendar #1495

Closed
2 tasks done
helicalchris opened this issue May 21, 2024 · 3 comments
Closed
2 tasks done
Labels

Comments

@helicalchris
Copy link

helicalchris commented May 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

HACS says atomic-calendar-revive is correctly loaded. However when I go into a dashboard and try to add a new card, the card picker shows a slot for atomic calendar revive but has a spinning wait icon inside it. In the browser console (Chrome, latest, but can also replicate on Safari) I see the error provided appear

This seems to relate to not having any calendars set up in integrations. I was installing the card ahead of the calendars (mass HACS install session prior to a new dashboard project), so while its understandable to assume there is a calendar, I hadn't done so yet.

Expected behaviour

No error, card shows in picker (and does as soon as you create a local calendar)

Steps To Reproduce

Install via HAS and try to add to a dashboard when you don't have a local calendar in HA Integrations

Mode

Event (default)

Card Version

9.7

Home Assistant Version

2024.5.4

Configuration

not applicable

Relevant log output

"Unhandled promise rejection from Chrome 125.0.0.0 on Mac OS 10.15.7
TypeError: Cannot read properties of undefined (reading 'entity_id')
/hacsfiles/atomic-calendar-revive/atomic-calendar-revive.js:983:26053
t.AtomicCalendarRevive.getStubConfig (/hacsfiles/atomic-calendar-revive/atomic-calendar-revive.js:983:26211)
getCardElementClass (src/panels/lovelace/editor/get-card-stub-config.ts:16:42)
getCustomCardEntry (src/panels/lovelace/editor/card-editor/hui-card-picker.ts:421:8)"

Code of Conduct

  • I agree to follow this project's Code of Conduct
@helicalchris helicalchris added the type/bug Something isn't working label May 21, 2024
Copy link

Hello @jackalsdance, thank you for your interest in our work!
If this is a bug report, please provide your configuration and any screenshots that would assist troubleshooting, otherwise we can not help you.

github-actions bot pushed a commit that referenced this issue Jun 24, 2024
## [10.0.0-beta.2](v10.0.0-beta.1...v10.0.0-beta.2) (2024-06-24)

### Bug Fixes

* resolve issue where dashboard picker shows error if no calendar integration ([85df6f3](85df6f3)), closes [#1495](#1495)
Copy link

🎉 This issue has been resolved in version 10.0.0-beta.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Jun 24, 2024
## [10.0.0](v9.7.0...v10.0.0) (2024-06-24)

### ⚠ BREAKING CHANGES

* **events:** removes europeanDate and showWeekDay options, this will cause the date to display
differently and so the new option eventDateFormat will need setting.

### Features

* add Spanish locale ([82fda4a](82fda4a))
* added Ukranian language ([3990c97](3990c97))
* **events:** remove europeanDate, remove showWeekDay, add eventDateFormat ([1054cbe](1054cbe))

### Bug Fixes

* fix import for Spanish locale ([a95d00b](a95d00b))
* fix import for Spanish locale ([2a28791](2a28791))
* re-adds support for iOS 12 by transpiling lit ([91e4f06](91e4f06))
* resolve issue where dashboard picker shows error if no calendar integration ([85df6f3](85df6f3)), closes [#1495](#1495)
Copy link

🎉 This issue has been resolved in version 10.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

No branches or pull requests

1 participant