AmoebeLabs / AmoebeLabs/flex-horseshoe-card

cant get flex horse shoe to work

オープン
#93 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
397
フォーク
66
平均マージ
7分
マージ済み PR(30日)
81

説明

i have installed via HACS
then I went to resources manager and added

![Sin título](https://github.com/user-attachments/assets/6922f4dc-d8f8-4288-97d4-ad46e5535c90)

> - 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:
# Refers to the first entity in the list, ie index 0
# State value is positioned at (50%,60%) with a large font size
# The size of the units are automatically calculated at 60% of the
# state value font size and shifted upwards.
# The default font color is the theme defined primary-text-color.
- id: 0
entity_index: 0
xpos: 50
ypos: 60
styles:
- font-size: 3.5em;
areas:
# Refers to the first entity in the list, ie index 1
# Area value is positioned at (50%,35%) with font-size 1.5 and
# an opacity of 80%.
# The default font color is the theme defined primary-text-color.
- 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'

resulting in no card type configured when just trying this code

obviously changed the entity to enter one existing in my HAOS

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。