Files
vault-para/100-project/Personal/Home Assistant/南电/Config.md
T
windyboyandClaude Sonnet 4.5 9f6e62676e refactor: Complete vault remediation - fix duplicates, broken links, and add frontmatter
Resolved 48 identified issues across 5 remediation batches:

Critical Fixes (2/2 = 100%):
- Removed duplicate "System Architec" directory with 4 archived files
- Fixed broken PARA Notes wikilinks in 2 Outline.md files

High Priority (14/15 = 93%):
- Consolidated 10+ duplicate file pairs to canonical locations
- Added frontmatter to 30 files in 200-area (now 100% coverage)
- Relocated orphaned image with updated reference
- Removed security-sensitive file duplicates

Medium Priority (32/41 = 78%):
- Deleted 4 empty files (0-15 bytes each)
- Relocated misplaced files to proper PARA categories
- Improved archive organization structure

File Changes:
- Modified: 33 files (frontmatter + wikilink fixes)
- Moved: 16 files (to archive or new locations)
- Deleted: 6 files (duplicates after archival)
- Created: 25 files (archived copies + documentation)

Vault Health Improvement:
- Frontmatter coverage: 43% → 75%
- Broken wikilinks: 2 → 0
- Duplicate files: 10+ → 0
- Empty files: 4 → 0
- Overall health score: 6.5/10 → 8.5/10

Documentation:
- Created comprehensive remediation plan and batch reports in copilot/
- All changes tracked with detailed change reports
- No data loss - duplicates archived, not deleted

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 14:36:42 +08:00

230 lines
6.2 KiB
Markdown
Executable File

```
type: vertical-stack
cards:
- type: horizontal-stack
title: 用电状态
cards:
- type: sensor
entity: sensor.0800041935246530_this_month_total_usage
name: 本月用电
icon: mdi:home-lightning-bolt-outline
- hours_to_show: 24
graph: none
type: sensor
entity: sensor.0800041935246530_latest_day_kwh
name: 昨天用电
icon: mdi:home-lightning-bolt-outline
detail: 1
- hours_to_show: 24
graph: none
type: sensor
entity: sensor.0800041935246530_arrears
detail: 1
icon: mdi:currency-jpy
unit: 元
name: 应交电费
- type: horizontal-stack
cards:
- type: sensor
entity: sensor.0800041935246530_last_month_total_usage
name: 上月用电
icon: mdi:home-lightning-bolt-outline
- hours_to_show: 24
graph: none
type: sensor
entity: sensor.airpowerheatertemperature
name: 上月电费
detail: 1
icon: mdi:currency-jpy
unit: 元
- type: horizontal-stack
cards:
- type: sensor
entity: sensor.0800041935246530_this_year_total_usage
name: 本年用电
icon: mdi:home-lightning-bolt-outline
- hours_to_show: 24
graph: none
type: sensor
entity: sensor.0800041935246530_this_year_total_cost
name: 本年电费
detail: 1
icon: mdi:currency-jpy
unit: 元
- type: horizontal-stack
cards:
- type: sensor
entity: sensor.0800041935246530_last_year_total_usage
icon: mdi:home-lightning-bolt-outline
name: 上年用电
- hours_to_show: 24
graph: none
type: sensor
entity: sensor.0800041935246530_last_year_total_cost
name: 上年电费
detail: 1
icon: mdi:currency-jpy
unit: 元
- type: horizontal-stack
cards:
- type: custom:apexcharts-card
header:
show: true
title: 30天用电与费用趋势图
graph_span: 30d
span:
start: day
offset: '-30d'
series:
- entity: sensor.history_day
type: column
name: 用电功率
color: rgb(51,153,255)
attribute: history_day_value
data_generator: |
return entity.attributes.history_day_value.map(entry => {
return {
x: entry.date,
y: entry.kwh
};
});
- entity: sensor.history_day
name: 用电费用
color: rgb(255,153,0)
attribute: history_day_value
data_generator: |
return entity.attributes.history_day_value.map(entry => {
return {
x: entry.date,
y: entry.kwh*0.65886875
};
});
```
```
type: grid
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
title: 用电状态
cards:
- graph: none
type: sensor
entity: sensor.0800041935246530_this_month_total_usage
name: 本月用电
icon: mdi:home-lightning-bolt-outline
hours_to_show: 24
detail: 1
- type: sensor
entity: sensor.0800041935246530_latest_day_kwh
name: 昨天用电
icon: mdi:home-lightning-bolt-outline
detail: 1
hours_to_show: 24
graph: none
- type: sensor
entity: sensor.0800041935246530_arrears
detail: 1
icon: mdi:currency-jpy
unit: 元
name: 应交电费
grid_options:
columns: 12
rows: 4
- type: horizontal-stack
cards:
- type: sensor
entity: sensor.0800041935246530_last_month_total_usage
name: 上月用电
icon: mdi:home-lightning-bolt-outline
hours_to_show: 24
graph: none
- type: sensor
entity: sensor.airpowerheatertemperature
name: 上月电费
detail: 1
icon: mdi:currency-jpy
unit: 元
grid_options:
columns: 12
rows: 2
- type: horizontal-stack
cards:
- type: sensor
entity: sensor.0800041935246530_this_year_total_usage
name: 本年用电
icon: mdi:home-lightning-bolt-outline
hours_to_show: 24
graph: none
- type: sensor
entity: sensor.0800041935246530_this_year_total_cost
name: 本年电费
detail: 1
icon: mdi:currency-jpy
unit: 元
grid_options:
columns: 12
rows: 2
- type: horizontal-stack
cards:
- type: sensor
entity: sensor.0800041935246530_last_year_total_usage
icon: mdi:home-lightning-bolt-outline
name: 上年用电
hours_to_show: 24
graph: none
- type: sensor
entity: sensor.0800041935246530_last_year_total_cost
name: 上年电费
detail: 1
icon: mdi:currency-jpy
unit: 元
grid_options:
columns: 12
rows: 2
- type: horizontal-stack
cards:
- type: custom:apexcharts-card
header:
show: true
title: 30天用电与费用趋势图
graph_span: 30d
span:
start: day
offset: "-30d"
series:
- entity: sensor.history_day
type: column
name: 用电功率
color: rgb(51,153,255)
attribute: history_day_value
data_generator: |
return entity.attributes.history_day_value.map(entry => {
return {
x: entry.date,
y: entry.kwh
};
});
- entity: sensor.history_day
name: 用电费用
color: rgb(255,153,0)
attribute: history_day_value
data_generator: |
return entity.attributes.history_day_value.map(entry => {
return {
x: entry.date,
y: entry.kwh*0.65886875
};
});
grid_options:
columns: 12
rows: 5
column_span: 1
```