ITADN

[Bug]: Conflict with apexcharts-card: Uncaught TypeError: e.put is not a function

#294Closedhmeiser2000 创建于 2026-02-26
bugStale
H
hmeiser2000commented
### Short summary 📝 When vehicle-info-card is installed and loaded in the same browser session as apexcharts-card, the ApexCharts card fails to render and shows an endless loading spinner. ### Detailed description 📋 Description: When vehicle-info-card is installed and loaded in the same browser session as apexcharts-card, the ApexCharts card fails to render and shows an endless loading spinner. It appears that vehicle-info-card is modifying or overriding global browser storage functions (like localForage or IndexedDB), which breaks the caching mechanism of apexcharts-card. Error from Firefox Console: Plaintext Uncaught (in promise) TypeError: e.put is not a function addTo vehicle-info-card.js:38 value apexcharts-card.js:1 Steps to reproduce: 1. Install apexcharts-card (v2.2.3) and vehicle-info-card. 2. Add an apexcharts-card to a dashboard. 3. Switch dashboards or reload the page. 4. ApexCharts shows a loading spinner forever, throwing the TypeError in the console. Environment: * OS: Arch Linux * Browser: Firefox * Home Assistant Core: Latest * apexcharts-card version: 2.2.3 ### Version 📦 v1.11.0 ### Card Configuration ```yaml type: custom:vehicle-info-card name: Mercedes EQA 250 entity: sensor.xxx_ai_808_car model_name: EQA 250 selected_language: system show_slides: false show_map: true show_buttons: true show_header_info: true show_background: true enable_map_popup: true enable_services_control: false show_error_notify: false device_tracker: device_tracker.xxx_ai_808_device_tracker map_popup_config: hours_to_show: 0 default_zoom: 14 theme_mode: auto single_map_card: false extra_entities: - entity: device_tracker.xxx_ai_808_device_tracker use_zone_name: false selected_theme: theme: default mode: auto extra_configs: tire_card_custom: background: "" horizontal: false image_size: 100 value_size: 100 top: 50 left: 50 images_swipe: max_height: 150 max_width: 450 autoplay: false loop: true delay: 5000 speed: 500 effect: slide mini_map_height: 150 show_address: true section_order: - header_info - buttons - mini_map maptiler_api_key: tiU1UqkrFhgfCr2Qxxxx button_grid: use_swiper: false rows_size: 2 services: auxheat: false charge: false doorsLock: false engine: false preheat: false sendRoute: false sigPos: false sunroof: false windows: false use_custom_cards: vehicle_card: false trip_card: false eco_card: false tyre_card: false images: [] vehicle_card: - type: tile entity: switch.xxx_ai_808_vorklimatisierung features_position: bottom vertical: false ``` ### Environment 🌐 Firefox in KDE Plasma ### Logs and screenshots 📂 _No response_
关闭于 2026-03-12 1 条评论