Update README.md

This commit is contained in:
xiaoshi
2025-11-23 22:52:02 +08:00
committed by GitHub
parent e1c926be4b
commit fe55af23e4

View File

@@ -24,18 +24,21 @@ max: 80 # 当前地区最大值
mode: 湿度 # 【温度】或者【湿度】 mode: 湿度 # 【温度】或者【湿度】
~~~ ~~~
## 功能2进度条 ## 功能2HA版本更新卡(手机平板端通用)
**引用示例** **引用示例**
~~~ ~~~
type: custom:xiaoshi-pad-slider-card type: custom:xiaoshi-update-card
entity: number.xxxxxxx width: 100p%
style: theme: on
slider-width: 110px # 总宽度默认100px ~~~
slider-height: 10px # 总高度默认30px
track-color: rgba(200,200,200,0.5) # 背景色默认rgba(255,255,255,0.3) ## 功能3HA离线设备卡(手机平板端通用)
thumb-size: 15px # 进度点大小默认15px **引用示例**
thumb-color: rgb(255,255,255) # 进度点颜色,默认,白色 ~~~
slider-color: rgb(25,155,125) # 进度条背景色,默认,浅蓝色 type: custom:xiaoshi-offline-card
track-height: 20px # 进度条高度默认5px width: 320px
track-radius: 4px # 圆角大小默认2px exclude_devices:
- *设备*
exclude_entities:
- *shiti*
~~~ ~~~