Compare commits

..

30 Commits

Author SHA1 Message Date
xiaoshi
4aca5983e6 Update xiaoshi-pad-climate-card.js 2026-01-25 22:12:52 +08:00
xiaoshi
16e8cb8493 Update xiaoshi-pad-climate-card.js 2026-01-25 20:08:20 +08:00
xiaoshi
d0c11c3f08 Update xiaoshi-pad-climate-card.js 2026-01-25 20:01:09 +08:00
xiaoshi
1908ec0fae Update version number in console log 2026-01-25 19:50:50 +08:00
xiaoshi
98ec3bfd5e Update xiaoshi-pad-climate-card.js 2026-01-25 19:50:39 +08:00
xiaoshi
57d4627fa0 Update xiaoshi-pad-climate-card.js 2026-01-25 19:48:42 +08:00
xiaoshi
e12f60b284 Update xiaoshi-pad-card.js 2026-01-25 16:46:02 +08:00
xiaoshi
b12c5c633a Update xiaoshi-pad-climate-card.js 2026-01-25 16:45:51 +08:00
xiaoshi
49e3ce2b0d Update xiaoshi-pad-climate-card.js 2026-01-25 16:39:28 +08:00
xiaoshi
366d9625bb Update xiaoshi-pad-climate-card.js 2026-01-25 16:36:00 +08:00
xiaoshi
db7c3c7b34 Update xiaoshi-pad-card.js 2026-01-25 16:35:48 +08:00
xiaoshi
2f8c0c2beb Update xiaoshi-pad-card.js 2026-01-25 16:17:34 +08:00
xiaoshi
4cd1f4c320 Add files via upload 2026-01-25 16:17:16 +08:00
xiaoshi
c42339343d Update xiaoshi-pad-card.js 2026-01-24 00:29:26 +08:00
xiaoshi
5c95ac49a5 Delete xiaoshi-device-todo-card.js 2026-01-24 00:28:56 +08:00
xiaoshi
844b44c46a Delete xiaoshi-device-todo-button.js 2026-01-24 00:28:49 +08:00
xiaoshi
c2d18c7643 Delete xiaoshi-device-ha-info-card.js 2026-01-24 00:28:42 +08:00
xiaoshi
972909bb44 Delete xiaoshi-device-ha-info-button.js 2026-01-24 00:28:35 +08:00
xiaoshi
3a30464a45 Delete xiaoshi-device-consumables-card.js 2026-01-24 00:28:28 +08:00
xiaoshi
d409ce2ea2 Delete xiaoshi-device-consumables-button.js 2026-01-24 00:28:20 +08:00
xiaoshi
292ed95f04 Delete xiaoshi-device-balance-card.js 2026-01-24 00:28:12 +08:00
xiaoshi
870780c612 Delete xiaoshi-device-balance-button.js 2026-01-24 00:28:03 +08:00
xiaoshi
6af60fa9de Update README.md 2026-01-24 00:22:40 +08:00
xiaoshi
6e1c745a47 Update xiaoshi-pad-card.js 2026-01-03 22:08:35 +08:00
xiaoshi
e4e2a218c1 Update xiaoshi-pad-card.js 2026-01-03 22:08:27 +08:00
xiaoshi
2aeca95db9 Update xiaoshi-pad-card.js 2026-01-01 15:45:28 +08:00
xiaoshi
bf6c7d9a1a Update xiaoshi-device-todo-button.js 2026-01-01 15:45:11 +08:00
xiaoshi
b5dfe6ac0a Update xiaoshi-device-ha-info-button.js 2026-01-01 15:44:59 +08:00
xiaoshi
e4c9bcfe32 Update xiaoshi-device-consumables-button.js 2026-01-01 15:44:49 +08:00
xiaoshi
c30a918614 Update xiaoshi-device-balance-button.js 2026-01-01 15:44:35 +08:00
11 changed files with 2382 additions and 13499 deletions

View File

@@ -24,76 +24,4 @@ max: 80 # 当前地区最大值
mode: 湿度 # 【温度】或者【湿度】
~~~
## 功能2HA信息卡(手机平板端通用)
**引用示例**
~~~
type: custom:xiaoshi-update-card
width: 100%
skip_updates: false #是否包含已跳过的更新
theme: on
exclude_devices:
- *设备*
exclude_entities:
- *shiti*
~~~
## 功能3电话信息余额卡(手机平板端通用)
**引用示例**
~~~
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
~~~
## 功能5耗材信息卡片(手机平板端通用)
**引用示例**
~~~
type: custom:xiaoshi-consumables-card
width: 100%
global_warning: <8
columns: "2"
entities:
- entity_id: input_text.aaa
overrides:
name: 奥斯卡德拉萨达实打实实打实
unit_of_measurement: "%"
warning: <10
conversion: "*2"
icon: ""
- entity_id: input_text.aaa1
- entity_id: input_text.aaa2
- entity_id: input_text.aaa3
- entity_id: input_text.aaa4
- entity_id: input_text.aaa5
- entity_id: input_text.aaa6
- entity_id: input_text.aaa7
~~~

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,15 +1,8 @@
console.info("%c 消逝卡-平板端 \n%c v 0.2.5 ", "color: red; font-weight: bold; background: black", "color: white; font-weight: bold; background: black");
console.info("%c 消逝卡-平板端 \n%c v 1.0.4 ", "color: red; font-weight: bold; background: black", "color: white; font-weight: bold; background: black");
const loadCards = () => {
import('./xiaoshi-pad-climate-card.js');
import('./xiaoshi-pad-grid-card.js');
import('./xiaoshi-device-balance-card.js');
import('./xiaoshi-device-balance-button.js');
import('./xiaoshi-device-todo-card.js');
import('./xiaoshi-device-todo-button.js');
import('./xiaoshi-device-consumables-card.js');
import('./xiaoshi-device-consumables-button.js');
import('./xiaoshi-device-ha-info-card.js');
import('./xiaoshi-device-ha-info-button.js');
window.customCards = window.customCards || [];
window.customCards.push(...cardConfigs);
@@ -22,51 +15,9 @@ const cardConfigs = [
description: '温度分布、湿度分布'
},
{
type: 'xiaoshi-ha-info-card',
name: '消逝HA信息卡片',
description: '消逝HA信息卡片',
preview: true
},
{
type: 'xiaoshi-ha-info-button',
name: '消逝HA信息按钮',
description: '消逝HA信息按钮',
preview: true
},
{
type: 'xiaoshi-balance-card',
name: '消逝余额信息卡片',
description: '消逝余额信息卡片',
preview: true
},
{
type: 'xiaoshi-balance-button',
name: '消逝余额信息按钮',
description: '消逝余额信息按钮',
preview: true
},
{
type: 'xiaoshi-todo-card',
name: '消逝待办信息卡片',
description: '消逝待办信息卡片',
preview: true
},
{
type: 'xiaoshi-todo-button',
name: '消逝待办信息按钮',
description: '消逝待办信息按钮',
preview: true
},
{
type: 'xiaoshi-consumables-card',
name: '消逝耗材信息卡片',
description: '消逝耗材信息卡片',
preview: true
},
{
type: 'xiaoshi-consumables-button',
name: '消逝耗材信息按钮',
description: '消逝耗材信息按钮',
type: 'xiaoshi-pad-climate-card',
name: '消逝卡(平板端)-空调/水暖毯/热水器卡',
description: '平板端空调/水暖毯/热水器卡',
preview: true
}
];

2377
xiaoshi-pad-climate-card.js Normal file

File diff suppressed because it is too large Load Diff