486 lines
18 KiB
Plaintext
486 lines
18 KiB
Plaintext
{
|
|
"version": 1,
|
|
"minor_version": 1,
|
|
"key": "lovelace.dashboard_calendar",
|
|
"data": {
|
|
"config": {
|
|
"views": [
|
|
{
|
|
"type": "sections",
|
|
"sections": [
|
|
{
|
|
"type": "grid",
|
|
"cards": [
|
|
{
|
|
"type": "heading",
|
|
"heading": "New section"
|
|
},
|
|
{
|
|
"type": "custom:power-flow-card-plus",
|
|
"title": "Heavy Appliance Energy Distribution",
|
|
"entities": {
|
|
"grid": {
|
|
"entity": "sensor.meter00_daily_grid_energy",
|
|
"name": "Hydro Grid"
|
|
},
|
|
"home": {
|
|
"name": "House Footprint"
|
|
},
|
|
"individual": [
|
|
{
|
|
"entity": "sensor.pool_pump_estimated_power_draw",
|
|
"name": "Pool Pump",
|
|
"icon": "mdi:pool",
|
|
"color": "#ff9800"
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_real_time_power_draw",
|
|
"name": "HVAC System",
|
|
"icon": "mdi:hvac",
|
|
"color": "#2196f3",
|
|
"display_zero": true
|
|
},
|
|
{
|
|
"entity": "sensor.basement_heater_power_draw",
|
|
"name": "Hilo Basement",
|
|
"icon": "mdi:thermostat",
|
|
"color": "#e91e63",
|
|
"display_zero": true
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_power_draw",
|
|
"name": "Water Heater",
|
|
"icon": "mdi:water-boiler",
|
|
"color": "#009688",
|
|
"display_zero": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "grid",
|
|
"cards": [
|
|
{
|
|
"type": "heading",
|
|
"heading": "New section"
|
|
},
|
|
{
|
|
"type": "entities",
|
|
"title": "⚡ Appliance Financial Tracker",
|
|
"show_header_toggle": false,
|
|
"entities": [
|
|
{
|
|
"entity": "sensor.hydro_quebec_active_rate",
|
|
"name": "Active Hilo Rate",
|
|
"icon": "mdi:cash-multiple"
|
|
},
|
|
{
|
|
"type": "section",
|
|
"label": "🏊 Pool Pump Costs"
|
|
},
|
|
{
|
|
"entity": "sensor.pool_pump_estimated_power_draw",
|
|
"name": "Live Power Draw"
|
|
},
|
|
{
|
|
"entity": "sensor.pool_pump_live_running_cost",
|
|
"name": "Active Running Cost"
|
|
},
|
|
{
|
|
"entity": "sensor.pool_pump_total_cost_today",
|
|
"name": "Total Dollars Spent Today"
|
|
},
|
|
{
|
|
"type": "section",
|
|
"label": "🎛️ HVAC System Costs"
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_real_time_power_draw",
|
|
"name": "Live Power Draw"
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_live_running_cost",
|
|
"name": "Active Running Cost"
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_total_cost_today",
|
|
"name": "Total Dollars Spent Today"
|
|
},
|
|
{
|
|
"type": "section",
|
|
"label": "🌡️ Hilo Basement Costs"
|
|
},
|
|
{
|
|
"entity": "sensor.basement_heater_power_draw",
|
|
"name": "Live Power Draw"
|
|
},
|
|
{
|
|
"entity": "sensor.basement_live_running_cost",
|
|
"name": "Active Running Cost"
|
|
},
|
|
{
|
|
"entity": "sensor.basement_total_cost_today",
|
|
"name": "Total Dollars Spent Today"
|
|
},
|
|
{
|
|
"type": "section",
|
|
"label": "🛢️ Water Heater Costs"
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_power_draw",
|
|
"name": "Live Power Draw"
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_live_running_cost",
|
|
"name": "Active Running Cost"
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_total_cost_today",
|
|
"name": "Total Dollars Spent Today"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "grid",
|
|
"cards": [
|
|
{
|
|
"type": "heading",
|
|
"heading": "New section"
|
|
},
|
|
{
|
|
"type": "history-graph",
|
|
"title": "📊 Live Accumulative Spend Today (CAD)",
|
|
"hours_to_show": 24,
|
|
"entities": [
|
|
{
|
|
"entity": "sensor.pool_pump_total_cost_today",
|
|
"name": "Pool Pump Spend"
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_total_cost_today",
|
|
"name": "HVAC Spend"
|
|
},
|
|
{
|
|
"entity": "sensor.basement_total_cost_today",
|
|
"name": "Hilo Basement Spend"
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_total_cost_today",
|
|
"name": "Water Heater Spend"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "vertical-stack",
|
|
"cards": [
|
|
{
|
|
"type": "entities",
|
|
"show_header_toggle": false,
|
|
"entities": [
|
|
{
|
|
"entity": "input_select.chart_view_selector",
|
|
"name": "Choose Timeframe",
|
|
"icon": "mdi:calendar-clock"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "conditional",
|
|
"conditions": [
|
|
{
|
|
"condition": "state",
|
|
"entity": "input_select.chart_view_selector",
|
|
"state": "Daily"
|
|
}
|
|
],
|
|
"card": {
|
|
"type": "custom:apexcharts-card",
|
|
"header": {
|
|
"show": true,
|
|
"title": "📊 7-Day Spend History",
|
|
"show_states": false
|
|
},
|
|
"graph_span": "7d",
|
|
"span": {
|
|
"end": "day"
|
|
},
|
|
"series": [
|
|
{
|
|
"entity": "sensor.pool_pump_total_cost_today",
|
|
"name": "Pool Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "1d",
|
|
"func": "last"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_total_cost_today",
|
|
"name": "HVAC Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "1d",
|
|
"func": "last"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.basement_total_cost_today",
|
|
"name": "Basement Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "1d",
|
|
"func": "last"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_total_cost_today",
|
|
"name": "Water Heater Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "1d",
|
|
"func": "last"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "conditional",
|
|
"conditions": [
|
|
{
|
|
"condition": "state",
|
|
"entity": "input_select.chart_view_selector",
|
|
"state": "Monthly"
|
|
}
|
|
],
|
|
"card": {
|
|
"type": "custom:apexcharts-card",
|
|
"header": {
|
|
"show": true,
|
|
"title": "📊 30-Day Spend History",
|
|
"show_states": false
|
|
},
|
|
"graph_span": "30d",
|
|
"span": {
|
|
"end": "day"
|
|
},
|
|
"series": [
|
|
{
|
|
"entity": "sensor.pool_pump_total_cost_today",
|
|
"name": "Pool Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "24h",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_total_cost_today",
|
|
"name": "HVAC Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "24h",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.basement_total_cost_today",
|
|
"name": "Basement Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "24h",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_total_cost_today",
|
|
"name": "Water Heater Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "24h",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "conditional",
|
|
"conditions": [
|
|
{
|
|
"condition": "state",
|
|
"entity": "input_select.chart_view_selector",
|
|
"state": "Yearly"
|
|
}
|
|
],
|
|
"card": {
|
|
"type": "custom:apexcharts-card",
|
|
"header": {
|
|
"show": true,
|
|
"title": "📊 365-Day Spend History",
|
|
"show_states": false
|
|
},
|
|
"graph_span": "365d",
|
|
"span": {
|
|
"end": "day"
|
|
},
|
|
"series": [
|
|
{
|
|
"entity": "sensor.pool_pump_total_cost_today",
|
|
"name": "Pool Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "7d",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.hvac_total_cost_today",
|
|
"name": "HVAC Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "7d",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.basement_total_cost_today",
|
|
"name": "Basement Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "7d",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
},
|
|
{
|
|
"entity": "sensor.water_heater_total_cost_today",
|
|
"name": "Water Heater Spend",
|
|
"type": "column",
|
|
"group_by": {
|
|
"duration": "7d",
|
|
"func": "last",
|
|
"fill": "zero"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "grid",
|
|
"cards": [
|
|
{
|
|
"type": "heading",
|
|
"heading": "New section"
|
|
},
|
|
{
|
|
"type": "tile",
|
|
"entity": "sun.sun",
|
|
"name": "Go to Dashboard",
|
|
"vertical": false,
|
|
"tap_action": {
|
|
"action": "navigate",
|
|
"navigation_path": "/dashboard-spotify"
|
|
},
|
|
"features_position": "bottom"
|
|
},
|
|
{
|
|
"type": "custom:bubble-card",
|
|
"card_type": "button",
|
|
"button_type": "name",
|
|
"sub_button": {
|
|
"main": [
|
|
{
|
|
"tap_action": {
|
|
"action": "navigate",
|
|
"navigation_path": "#home-pop"
|
|
},
|
|
"entity": null
|
|
}
|
|
],
|
|
"bottom": []
|
|
},
|
|
"grid_options": {
|
|
"columns": 3,
|
|
"rows": 1
|
|
},
|
|
"icon": "mdi:account-arrow-right"
|
|
},
|
|
{
|
|
"type": "custom:bubble-card",
|
|
"card_type": "pop-up",
|
|
"hash": "#home-pop",
|
|
"button_type": "name",
|
|
"sub_button": {
|
|
"main": [],
|
|
"bottom": []
|
|
},
|
|
"cards": [
|
|
{
|
|
"type": "clock",
|
|
"grid_options": {
|
|
"columns": 12,
|
|
"rows": "auto"
|
|
}
|
|
},
|
|
{
|
|
"type": "custom:clock-weather-card",
|
|
"entity": "weather.forecast_home"
|
|
},
|
|
{
|
|
"enableModeChange": true,
|
|
"type": "custom:atomic-calendar-revive",
|
|
"name": "Calendar",
|
|
"entities": [
|
|
{
|
|
"entity": "calendar.family_calendar"
|
|
}
|
|
],
|
|
"defaultMode": "Event",
|
|
"showProgressBar": true,
|
|
"showCurrentEventLine": true,
|
|
"maxDaysToShow": 30
|
|
},
|
|
{
|
|
"type": "custom:atomic-calendar-revive",
|
|
"name": "Family Calendar",
|
|
"enableModeChange": true,
|
|
"defaultMode": "Calendar",
|
|
"firstDaysOfWeek": 1,
|
|
"maxDaysToSHow": 7,
|
|
"showCurrentEventLine": true,
|
|
"showProgressBar": true,
|
|
"showDescription": true,
|
|
"showLocation": true,
|
|
"entities": [
|
|
{
|
|
"entity": "calendar.family_calendar",
|
|
"color": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"popup_mode": "default"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |