Good day, Community!
I am trying to show a custom “weather-card”, downloaded using HACS. Card sources are located to the path: “/home/homeassistant/.homeassistant/www/community/weather-card”. But Lovelace does not see her.
My config files:
configuration.yaml
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
lovelace:
mode: yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# Light control on the kitchen
#light: !include kitchen_leds.yaml
switch: !include KITCHEN/switches.yaml
sensor: !include KITCHEN/sensors.yaml
ui-lovelace.yaml
title: Home Assistant
resources:
- url: /local/community/weather-card.js
views:
- path: default_view
title: Главная
panel: true
badges:
- entity: binary_sensor.updater
- entity: person.aleksei
- entity: sun.sun
cards:
- type: horizontal-stack
cards:
- type: 'custom:weather-card'
entity: weather.home_assistant
number_of_forecasts: '5'
hourly_forecast: false
.
.
.
I tried to use different paths to the “weather-card.js” file:
- url: /local/weather-card.js
- url: /hacsfiles/weather-card.js
- url: /local/weather-card.js
resources:
- url: /local/weather-card.js
type: js
But none of this works. Please tell me what am I doing wrong?