{ "version": 1, "minor_version": 1, "key": "lovelace.solar_optimization", "data": { "config": { "views": [ { "title": "Home", "cards": [ { "type": "entities", "entities": [ { "entity": "input_select.charger_mode", "icon": "mdi:ev-plug-type2" }, { "entity": "input_boolean.solar_limit" } ] }, { "type": "custom:power-distribution-card", "title": "", "entities": [ { "decimals": "1", "display_abs": true, "name": "Grid", "unit_of_display": "kW", "icon": "mdi:transmission-tower", "entity": "sensor.solarnet_power_grid", "preset": "grid", "color_threshold": "3000", "threshold": "", "icon_color": { "bigger": "red", "equal": "#4287f5", "smaller": "green" }, "arrow_color": { "bigger": "red", "equal": "", "smaller": "green" }, "grid_buy_entity": "", "grid_sell_entity": "", "hide_arrows": false }, { "decimals": "2", "display_abs": false, "name": "Current hour", "unit_of_display": "kWh", "consumer": true, "icon": "mdi:home-assistant", "entity": "sensor.hourly_energy", "preset": "consumer", "color_threshold": "0", "threshold": "", "icon_color": { "equal": "#02c8eb", "bigger": "Green", "smaller": "#dd5500" }, "arrow_color": { "equal": "#02c8eb", "bigger": "Green", "smaller": "#dd5500" }, "invert_value": false, "hide_arrows": true, "secondary_info_entity": "", "secondary_info_replace_name": false, "attribute": "" }, { "decimals": "1", "display_abs": true, "name": "Solar", "unit_of_display": "kW", "icon": "mdi:solar-power", "producer": true, "entity": "sensor.solarnet_power_photovoltaics", "preset": "solar", "color_threshold": "0", "threshold": "", "icon_color": { "bigger": "#dd5500", "equal": "", "smaller": "" }, "arrow_color": { "bigger": "#dd5500", "equal": "", "smaller": "" }, "hide_arrows": false }, { "decimals": 2, "display_abs": false, "name": "Current Price", "unit_of_display": "cent", "consumer": true, "icon": "mdi:currency-eur", "entity": "sensor.nordpool_kwh_fi_eur_3_10_024", "preset": "consumer", "color_threshold": "8", "threshold": "", "icon_color": { "bigger": "green", "equal": "", "smaller": "#deeb2f" }, "arrow_color": { "bigger": "", "equal": "", "smaller": "" }, "hide_arrows": true, "double_tap_action": {} }, { "decimals": 1, "display_abs": true, "name": "car", "unit_of_display": "kW", "consumer": true, "icon": "mdi:car-electric", "entity": "sensor.goecharger_go_echarger_042248_p_all", "preset": "car_charger", "color_threshold": "0", "threshold": "", "icon_color": { "bigger": "", "equal": "", "smaller": "" }, "arrow_color": { "bigger": "", "equal": "", "smaller": "" }, "invert_value": true }, { "decimals": "1", "display_abs": true, "name": "Current Day", "unit_of_display": "kWh", "icon": "mdi:solar-panel", "producer": true, "entity": "sensor.symo_6_0_3_m_1_energy_day", "preset": "consumer", "color_threshold": "0", "threshold": "", "icon_color": { "bigger": "", "equal": "", "smaller": "" }, "arrow_color": { "bigger": "", "equal": "", "smaller": "" }, "hide_arrows": true } ], "center": { "type": "bars", "content": [ { "preset": "autarky", "name": "Solar ratio", "bar_color": "green", "bar_bg_color": "", "invert_value": false, "entity": "sensor.relative_autonomy_fronius_power_flow_0_http_192_168_1_245" } ] }, "animation": "slide" }, { "type": "entity-filter", "entities": [ "switch.tmble9ny4nf039390_charging", "switch.mazda_charging", "switch.kattila", "switch.goecharger_go_echarger_042248_allow_charging", "switch.t1_wlan_katkaisin", "input_boolean.solar_limit", "binary_sensor.vicare_compressor_active" ], "state_filter": [ "on" ], "card": { "type": "glance" } }, { "type": "entities", "entities": [ { "entity": "sensor.solarnet_power_photovoltaics", "name": "Solar Power", "icon": "mdi:solar-power" }, { "entity": "sensor.hourly_energy" }, { "entity": "sensor.hourly_kwh" }, { "entity": "sensor.nordpool_kwh_fi_eur_3_10_024", "name": "Current Price", "icon": "mdi:currency-eur" }, { "entity": "sensor.mazda_remaining_range" }, { "entity": "sensor.mazda_charge_level" }, { "entity": "sensor.tmble9ny4nf039390_electric_range", "name": "Skoda Range", "icon": "mdi:map-marker-distance" }, { "entity": "sensor.tmble9ny4nf039390_battery_level", "name": "Skoda State of charge" }, { "entity": "sensor.goecharger_go_echarger_042248_charger_max_current" }, { "entity": "switch.goecharger_go_echarger_042248_allow_charging", "name": "Auton laturi", "icon": "mdi:ev-station" }, { "entity": "switch.mazda_charging" }, { "entity": "switch.tmble9ny4nf039390_charging" }, { "entity": "switch.t1_wlan_katkaisin", "name": "Pikalataus", "icon": "mdi:car-emergency" }, { "entity": "switch.lammitysjarjestelma_switch_0" }, { "entity": "sensor.kattila_savukaasu" }, { "entity": "sensor.kattila_temperature_temperature" }, { "entity": "sensor.puskurivaraaja_alalampotila" }, { "entity": "sensor.vicare_buffer_top_temperature" } ], "state_color": true }, { "type": "custom:apexcharts-card", "experimental": { "color_threshold": true }, "graph_span": "48h", "header": { "title": "Electricity Price 48h", "show": true, "show_states": true }, "span": { "start": "day", "offset": "+0d" }, "apex_config": { "chart": { "type": "area", "height": 300 }, "stroke": { "show": true }, "legend": { "show": false }, "dataLabels": { "enabled": false }, "fill": { "type": "gradient", "gradient": { "shadeIntensity": 1, "inverseColors": false, "opacityFrom": 0.45, "opacityTo": 0.05, "stops": [ 20, 100, 100, 100 ] } } }, "now": { "show": true, "label": "Nyt" }, "series": [ { "entity": "sensor.nordpool_kwh_fi_eur_3_10_024", "type": "area", "stroke_width": 1, "name": "Nyt", "data_generator": "return entity.attributes.raw_today.map((start, index) => {\n return [new Date(start[\"start\"]).getTime(), entity.attributes.raw_today[index][\"value\"]];\n});\n", "show": { "extremas": true, "in_header": "before_now" }, "curve": "stepline", "extend_to": false, "color_threshold": [ { "value": 20, "color": "green", "opacity": 1 }, { "value": 10, "color": "yellow" }, { "value": 0, "color": "red" } ] }, { "entity": "sensor.nordpool_kwh_fi_eur_3_10_024", "type": "area", "stroke_width": 1, "name": "Huomenna", "data_generator": "return entity.attributes.raw_tomorrow.map((start, index) => {\n return [new Date(start[\"start\"]).getTime(), entity.attributes.raw_tomorrow[index][\"value\"]];\n});\n", "show": { "extremas": true }, "curve": "stepline", "color_threshold": [ { "value": 20, "color": "green", "opacity": 1 }, { "value": 10, "color": "yellow" }, { "value": 0, "color": "red" } ] }, { "entity": "sensor.hourly_kwh", "type": "line", "extend_to": "now", "stroke_width": 2, "opacity": 1, "curve": "stepline", "color_threshold": [ { "value": -1, "color": "green", "opacity": 1 }, { "value": -0.1, "color": "orange" }, { "value": 0, "color": "blue" } ] } ] }, { "type": "history-graph", "entities": [ { "entity": "sensor.hourly_energy" }, { "entity": "sensor.nordpool_kwh_fi_eur_3_10_024" }, { "entity": "sensor.hourly_kwh" } ], "title": "Sähkönkulutus/-tuotto", "hours_to_show": 12 }, { "type": "entities", "entities": [ { "entity": "sensor.energy_next_hour", "name": "Energy Next Hour" }, { "entity": "sensor.power_production_next_12hours", "name": "Energy Next 12 Hours" }, { "entity": "sensor.energy_production_tomorrow", "name": "Energy Tomorrow" } ] }, { "type": "history-graph", "entities": [ { "entity": "sensor.hourly_energy" } ], "title": "Hourly energy last 3h", "hours_to_show": 3 }, { "type": "history-graph", "entities": [ { "entity": "sensor.kattila_savukaasu" }, { "entity": "sensor.kattila_temperature_temperature" } ], "hours_to_show": 3, "title": "Kattila lämpötilat 3h" } ] } ] } } }