11 Commits

Author SHA1 Message Date
xiaoshi
53e06aacf7 Update xiaoshi-device-todo-card.js 2025-11-25 13:35:29 +08:00
xiaoshi
9a59c2bb90 Create xiaoshi-device-todo-card.js 2025-11-25 13:34:43 +08:00
xiaoshi
0ae5851361 Update xiaoshi-pad-card.js 2025-11-25 13:34:07 +08:00
xiaoshi
a17033c0f0 Update README.md 2025-11-25 13:33:09 +08:00
xiaoshi
44a1d81265 Update xiaoshi-pad-card.js 2025-11-24 15:34:14 +08:00
xiaoshi
2de0668d37 Update xiaoshi-device-balance-card.js 2025-11-24 15:33:59 +08:00
xiaoshi
a03a54663b Update README.md 2025-11-24 14:59:22 +08:00
xiaoshi
6efa2864cc Update xiaoshi-pad-card.js 2025-11-24 14:56:54 +08:00
xiaoshi
f4a37ff29c Update xiaoshi-device-balance-card.js 2025-11-24 14:55:54 +08:00
xiaoshi
1c5717f5d5 Create xiaoshi-device-balance-card.js 2025-11-24 13:27:17 +08:00
xiaoshi
15fcbf0250 Update xiaoshi-pad-card.js 2025-11-24 13:25:31 +08:00
4 changed files with 2384 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ mode: 湿度 # 【温度】或者【湿度】
**引用示例**
~~~
type: custom:xiaoshi-update-card
width: 100p%
width: 100%
theme: on
~~~
@@ -36,9 +36,45 @@ theme: on
**引用示例**
~~~
type: custom:xiaoshi-offline-card
width: 320px
width: 100%
theme: on
exclude_devices:
- *设备*
exclude_entities:
- *shiti*
~~~
## 功能4电话信息余额卡(手机平板端通用)
**引用示例**
~~~
type: custom:xiaoshi-balance-card
name: 电话余额信息
width: 100%
theme: on
entities:
- entity_id: sensor.999
attribute: null
overrides:
icon: ""
name: ""
unit_of_measurement: ""
warning: ""
- entity_id: input_boolean.777
attribute: friendly_name
overrides:
name: ""
icon: ""
unit_of_measurement: ""
warning: "99"
~~~
## 功能4待办事项卡(手机平板端通用)
**引用示例**
~~~
type: custom:xiaoshi-todo-card
width: 100%
theme: on
entities:
- todo.kuai_di
- todo.ji_shi_ben
~~~

File diff suppressed because it is too large Load Diff

1285
xiaoshi-device-todo-card.js Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,11 @@
console.info("%c 消逝卡-平板端 \n%c v 0.0.4 ", "color: red; font-weight: bold; background: black", "color: white; font-weight: bold; background: black");
console.info("%c 消逝卡-平板端 \n%c v 0.0.8 ", "color: red; font-weight: bold; background: black", "color: white; font-weight: bold; background: black");
const loadCards = async () => {
await import('./xiaoshi-pad-grid-card.js');
await import('./xiaoshi-device-update-card.js');
await import('./xiaoshi-device-offline-card.js');
await import('./xiaoshi-device-balance-card.js');
await import('./xiaoshi-device-todo-card.js');
window.customCards = window.customCards || [];
window.customCards.push(...cardConfigs);
@@ -26,6 +28,18 @@ const cardConfigs = [
name: '消逝卡HA离线设备卡片',
description: '显示所有离线的设备和实体',
preview: true
},
{
type: 'xiaoshi-balance-card',
name: '消逝电话余额卡',
description: '消逝电话余额卡',
preview: true
},
{
type: 'xiaoshi-todo-card',
name: '消逝待办事项',
description: '消逝待办事项',
preview: true
}
];