Witam mam fajny dodatek karty flex-horseshoe-card ale nie chcę mi to działać.
Mam zainstalowane w HACS Flexible Horseshoe Card w interfejsie użytkownika.
Po instalacji wykonałeś restart HA?
Najprawdopodobniej masz zły format wpisów, dla testu popraw kod jak poniżej:
type: 'custom:flex-horseshoe-card'
entities:
- entity: weather.dark_sky
attribute: temperature
decimals: 1
unit: '°C'
area: De Maan
show:
horseshoe_style: 'lineargradient'
layout:
states:
- id: 0
entity_index: 0
xpos: 50
ypos: 60
styles:
- font-size: 3.5em;
areas:
i tak dalej
type: 'custom:flex-horseshoe-card'
entities:
- entity: weather.dark_sky
attribute: temperature
decimals: 1
unit: '°C'
area: De Maan
show:
horseshoe_style: 'lineargradient'
layout:
states:
- id: 0
entity_index: 0
xpos: 50
ypos: 60
styles:
- font-size: 3.5em;
areas:
- id: 0
entity_index: 0
xpos: 50
ypos: 35
styles:
- font-size: 1.5em;
- opacity: 0.8;
horseshoe_scale:
min: -10
max: 40
color_stops:
'10': red
'18': blue
Tak mam ale dalej nie działa.
Masz taką encję u Siebie?
Edit:
Na stronie projektu jest zgłoszony taki sam błąd. Z tego co napisał autor po długiej przerwie dostosowuje kod karty do nowych wydań HA.
- Usunąć flex-horseshoe-card z HACS
- Usunąć pozostałości flex-horseshoe-card z folderu /local/community/
- Dodać nowe repo
https://github.com/Lau-ie/flex-horseshoe-card
- CTRL + F5 lub restart jeżeli nie działa
Działa wielkie dzięki.