diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml index 3688b10..536745e 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_asciugatrice.yaml @@ -690,7 +690,7 @@ custom_fields: - grid-template-areas: '"i" "n" "s"' - grid-template-columns: 1fr - grid-template-rows: 50% auto auto - tap_action: + double_action: action: fire-dom-event browser_mod: service: browser_mod.popup diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml index 94a767e..90f1888 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml @@ -664,180 +664,180 @@ custom_fields: - grid-template-areas: '"i" "n" "s"' - grid-template-columns: 1fr - grid-template-rows: 50% auto auto - double_action: - action: fire-dom-event - browser_mod: - service: browser_mod.popup - data: - style: |- - --popup-min-width: 950px; - --popup-max-width: 1050px; - --popup-border-radius: var(--ha-card-border-radius); - title: Energia forno - content: - type: vertical-stack - cards: - - type: custom:bar-card - positions: - name: inside - value: inside - #indicator: inside - minmax: 'off' - icon: 'off' - height: 40px - columns: 3 - entities: - - entity: TAG_01 - name: Potenza - max: 3000 - severity: - - color: '#27b376' - from: 0 - to: 99.9 - - color: '#fl9a73e' - from: 100 - to: 399.9 - - color: '#bf212f' - from: 400 - to: 1999 - - entity: TAG_03 - name: Tensione - max: 255 - severity: - - color: '#27b376' - from: 230 - to: 249 - - color: '#fl9a73e' - from: 220 - to: 229 - - color: rgb(163,0,0,0.80) - from: 250 - to: 255 - - entity: TAG_04 - name: Corrente - max: 10 - severity: - - color: '#27b376' - from: 1 - to: 5.9 - - color: '#fl9a73e' - from: 6 - to: 7.9 - - color: '#bf212f' - from: 8 - to: 10 - - type: grid - square: false - columns: 5 - cards: - - type: statistic - entity: TAG_02 - name: Mese corrente - unit: kWh - period: - calendar: - period: month - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 1 - unit: kWh - period: - calendar: - period: month - offset: -1 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 2 - unit: kWh - period: - calendar: - period: month - offset: -2 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 3 - unit: kWh - period: - calendar: - period: month - offset: -3 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 4 - unit: kWh - period: - calendar: - period: month - offset: -4 - stat_type: change - - type: custom:apexcharts-card - # style: | - # ha-card { - # border-radius: 0px; - # box-shadow: none; - # background-image: none; - # background-color: transparent; - # } - experimental: - color_threshold: true - apex_config: - chart: - height: 200px - dataLabels: + double_action: + action: fire-dom-event + browser_mod: + service: browser_mod.popup + data: + style: |- + --popup-min-width: 950px; + --popup-max-width: 1050px; + --popup-border-radius: var(--ha-card-border-radius); + title: Energia forno + content: + type: vertical-stack + cards: + - type: custom:bar-card + positions: + name: inside + value: inside + #indicator: inside + minmax: 'off' + icon: 'off' + height: 40px + columns: 3 + entities: + - entity: TAG_01 + name: Potenza + max: 3000 + severity: + - color: '#27b376' + from: 0 + to: 99.9 + - color: '#fl9a73e' + from: 100 + to: 399.9 + - color: '#bf212f' + from: 400 + to: 1999 + - entity: TAG_03 + name: Tensione + max: 255 + severity: + - color: '#27b376' + from: 230 + to: 249 + - color: '#fl9a73e' + from: 220 + to: 229 + - color: rgb(163,0,0,0.80) + from: 250 + to: 255 + - entity: TAG_04 + name: Corrente + max: 10 + severity: + - color: '#27b376' + from: 1 + to: 5.9 + - color: '#fl9a73e' + from: 6 + to: 7.9 + - color: '#bf212f' + from: 8 + to: 10 + - type: grid + square: false + columns: 5 + cards: + - type: statistic + entity: TAG_02 + name: Mese corrente + unit: kWh + period: + calendar: + period: month + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 1 + unit: kWh + period: + calendar: + period: month + offset: -1 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 2 + unit: kWh + period: + calendar: + period: month + offset: -2 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 3 + unit: kWh + period: + calendar: + period: month + offset: -3 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 4 + unit: kWh + period: + calendar: + period: month + offset: -4 + stat_type: change + - type: custom:apexcharts-card + # style: | + # ha-card { + # border-radius: 0px; + # box-shadow: none; + # background-image: none; + # background-color: transparent; + # } + experimental: + color_threshold: true + apex_config: + chart: + height: 200px + dataLabels: + enabled: true + dropShadow: enabled: true - dropShadow: - enabled: true - yaxis: - forceNiceScale: true - labels: - style: - fontSize: 10px - fontFamily: Segoe UI Light - xaxis: - axisBorder: - show: true - labels: - show: false - style: - fontSize: 10px - fontFamily: Segoe UI Light - grid: + yaxis: + forceNiceScale: true + labels: + style: + fontSize: 10px + fontFamily: Segoe UI Light + xaxis: + axisBorder: show: true - borderColor: rgba(112, 135, 164, 0.5) - show: - last_updated: false - header: - standard_format: false + labels: + show: false + style: + fontSize: 10px + fontFamily: Segoe UI Light + grid: show: true - show_states: true - colorize_states: true - title: Consumo giornaliero - ultimi 30 giorni - graph_span: 30d - update_interval: 1h - series: - - entity: TAG_02 - name: Energia - type: column - statistics: - type: state - period: day - align: start - show: - datalabels: true - header_color_threshold: true - name_in_header: false - legend_value: false - opacity: 0.8 - color_threshold: - - color: "#27b376" - value: 0.4 - - color: "#006f3c" - value: 0.8 - - color: "#fl9a73e" - value: 1.2 - - color: "#bf212f" - value: 1.6 + borderColor: rgba(112, 135, 164, 0.5) + show: + last_updated: false + header: + standard_format: false + show: true + show_states: true + colorize_states: true + title: Consumo giornaliero - ultimi 30 giorni + graph_span: 30d + update_interval: 1h + series: + - entity: TAG_02 + name: Energia + type: column + statistics: + type: state + period: day + align: start + show: + datalabels: true + header_color_threshold: true + name_in_header: false + legend_value: false + opacity: 0.8 + color_threshold: + - color: "#27b376" + value: 0.4 + - color: "#006f3c" + value: 0.8 + - color: "#fl9a73e" + value: 1.2 + - color: "#bf212f" + value: 1.6 diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml index 267a634..456837e 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavastoviglie.yaml @@ -663,174 +663,174 @@ custom_fields: - grid-template-areas: '"i" "n" "s"' - grid-template-columns: 1fr - grid-template-rows: 50% auto auto - double_action: - action: fire-dom-event - browser_mod: - service: browser_mod.popup - data: - style: |- - --popup-min-width: 950px; - --popup-max-width: 1050px; - --popup-border-radius: var(--ha-card-border-radius); - title: Energia Lavastoviglie - content: - type: vertical-stack - cards: - - type: custom:bar-card - ## INSERIRE LE ENTITA' CORRETTE O ELIMINARE SE NON SI HANNO ### - positions: - name: inside - value: inside - #indicator: inside - minmax: 'off' - icon: 'off' - height: 40px - columns: 3 - entities: - - entity: TAG_01 - name: Potenza - max: 2000 - severity: - - color: '#27b376' - from: 0 - to: 99.9 - - color: '#fl9a73e' - from: 100 - to: 399.9 - - color: '#bf212f' - from: 400 - to: 1999 - - entity: TAG_03 - name: Tensione - max: 255 - severity: - - color: '#27b376' - from: 230 - to: 249 - - color: '#fl9a73e' - from: 220 - to: 229 - - color: rgb(163,0,0,0.80) - from: 250 - to: 255 - - entity: TAG_04 - name: Corrente - max: 10 - severity: - - color: '#27b376' - from: 1 - to: 5.9 - - color: '#fl9a73e' - from: 6 - to: 7.9 - - color: '#bf212f' - from: 8 - to: 10 - - type: grid - square: false - columns: 5 - cards: - - type: statistic - entity: TAG_02 - name: Mese corrente - unit: kWh - period: - calendar: - period: month - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 1 - unit: kWh - period: - calendar: - period: month - offset: -1 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 2 - unit: kWh - period: - calendar: - period: month - offset: -2 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 3 - unit: kWh - period: - calendar: - period: month - offset: -3 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 4 - unit: kWh - period: - calendar: - period: month - offset: -4 - stat_type: change - - type: custom:apexcharts-card - experimental: - color_threshold: true - apex_config: - chart: - height: 200px - dataLabels: + double_action: + action: fire-dom-event + browser_mod: + service: browser_mod.popup + data: + style: |- + --popup-min-width: 950px; + --popup-max-width: 1050px; + --popup-border-radius: var(--ha-card-border-radius); + title: Energia Lavastoviglie + content: + type: vertical-stack + cards: + - type: custom:bar-card + ## INSERIRE LE ENTITA' CORRETTE O ELIMINARE SE NON SI HANNO ### + positions: + name: inside + value: inside + #indicator: inside + minmax: 'off' + icon: 'off' + height: 40px + columns: 3 + entities: + - entity: TAG_01 + name: Potenza + max: 2000 + severity: + - color: '#27b376' + from: 0 + to: 99.9 + - color: '#fl9a73e' + from: 100 + to: 399.9 + - color: '#bf212f' + from: 400 + to: 1999 + - entity: TAG_03 + name: Tensione + max: 255 + severity: + - color: '#27b376' + from: 230 + to: 249 + - color: '#fl9a73e' + from: 220 + to: 229 + - color: rgb(163,0,0,0.80) + from: 250 + to: 255 + - entity: TAG_04 + name: Corrente + max: 10 + severity: + - color: '#27b376' + from: 1 + to: 5.9 + - color: '#fl9a73e' + from: 6 + to: 7.9 + - color: '#bf212f' + from: 8 + to: 10 + - type: grid + square: false + columns: 5 + cards: + - type: statistic + entity: TAG_02 + name: Mese corrente + unit: kWh + period: + calendar: + period: month + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 1 + unit: kWh + period: + calendar: + period: month + offset: -1 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 2 + unit: kWh + period: + calendar: + period: month + offset: -2 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 3 + unit: kWh + period: + calendar: + period: month + offset: -3 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 4 + unit: kWh + period: + calendar: + period: month + offset: -4 + stat_type: change + - type: custom:apexcharts-card + experimental: + color_threshold: true + apex_config: + chart: + height: 200px + dataLabels: + enabled: true + dropShadow: enabled: true - dropShadow: - enabled: true - yaxis: - forceNiceScale: true - labels: - style: - fontSize: 10px - fontFamily: Segoe UI Light - xaxis: - axisBorder: - show: true - labels: - show: false - style: - fontSize: 10px - fontFamily: Segoe UI Light - grid: + yaxis: + forceNiceScale: true + labels: + style: + fontSize: 10px + fontFamily: Segoe UI Light + xaxis: + axisBorder: show: true - borderColor: rgba(112, 135, 164, 0.5) - show: - last_updated: false - header: - standard_format: false + labels: + show: false + style: + fontSize: 10px + fontFamily: Segoe UI Light + grid: show: true - show_states: true - colorize_states: true - title: Consumo giornaliero - ultimi 30 giorni - graph_span: 30d - update_interval: 1h - series: - - entity: TAG_02 - name: Energia - type: column - statistics: - type: state - period: day - align: start - show: - datalabels: true - header_color_threshold: true - name_in_header: false - legend_value: false - opacity: 0.8 - color_threshold: - - color: "#27b376" - value: 0.4 - - color: "#006f3c" - value: 0.8 - - color: "#fl9a73e" - value: 1.2 - - color: "#bf212f" - value: 1.6 + borderColor: rgba(112, 135, 164, 0.5) + show: + last_updated: false + header: + standard_format: false + show: true + show_states: true + colorize_states: true + title: Consumo giornaliero - ultimi 30 giorni + graph_span: 30d + update_interval: 1h + series: + - entity: TAG_02 + name: Energia + type: column + statistics: + type: state + period: day + align: start + show: + datalabels: true + header_color_threshold: true + name_in_header: false + legend_value: false + opacity: 0.8 + color_threshold: + - color: "#27b376" + value: 0.4 + - color: "#006f3c" + value: 0.8 + - color: "#fl9a73e" + value: 1.2 + - color: "#bf212f" + value: 1.6 diff --git a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml index ba627d5..3253e20 100644 --- a/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml +++ b/elettrodomestici_2023/lovelace/card_elettrodomestici/card_lavatrice.yaml @@ -695,181 +695,181 @@ custom_fields: - grid-template-areas: '"i" "n" "s"' - grid-template-columns: 1fr - grid-template-rows: 50% auto auto - double_action: - action: fire-dom-event - browser_mod: - service: browser_mod.popup - data: - style: |- - --popup-min-width: 950px; - --popup-max-width: 1050px; - --popup-border-radius: var(--ha-card-border-radius); - title: Energia Lavatrice - content: - type: vertical-stack - cards: - - type: custom:bar-card - ## INSERIRE LE ENTITA' CORRETTE O ELIMINARE SE NON SI HANNO ### - positions: - name: inside - value: inside - #indicator: inside - minmax: 'off' - icon: 'off' - height: 40px - columns: 3 - entities: - - entity: TAG_01 - name: Potenza - max: 2000 - severity: - - color: '#27b376' - from: 0 - to: 99.9 - - color: '#fl9a73e' - from: 100 - to: 399.9 - - color: '#bf212f' - from: 400 - to: 1999 - - entity: TAG_03 - name: Tensione - max: 255 - severity: - - color: '#27b376' - from: 230 - to: 249 - - color: '#fl9a73e' - from: 220 - to: 229 - - color: rgb(163,0,0,0.80) - from: 250 - to: 255 - - entity: TAG_04 - name: Corrente - max: 10 - severity: - - color: '#27b376' - from: 1 - to: 5.9 - - color: '#fl9a73e' - from: 6 - to: 7.9 - - color: '#bf212f' - from: 8 - to: 10 - - type: grid - square: false - columns: 5 - cards: - - type: statistic - entity: TAG_02 - name: Mese corrente - unit: kWh - period: - calendar: - period: month - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 1 - unit: kWh - period: - calendar: - period: month - offset: -1 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 2 - unit: kWh - period: - calendar: - period: month - offset: -2 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 3 - unit: kWh - period: - calendar: - period: month - offset: -3 - stat_type: change - - type: statistic - entity: TAG_02 - name: Mese - 4 - unit: kWh - period: - calendar: - period: month - offset: -4 - stat_type: change - - type: custom:apexcharts-card - # style: | - # ha-card { - # border-radius: 0px; - # box-shadow: none; - # background-image: none; - # background-color: transparent; - # } - experimental: - color_threshold: true - apex_config: - chart: - height: 200px - dataLabels: + double_action: + action: fire-dom-event + browser_mod: + service: browser_mod.popup + data: + style: |- + --popup-min-width: 950px; + --popup-max-width: 1050px; + --popup-border-radius: var(--ha-card-border-radius); + title: Energia Lavatrice + content: + type: vertical-stack + cards: + - type: custom:bar-card + ## INSERIRE LE ENTITA' CORRETTE O ELIMINARE SE NON SI HANNO ### + positions: + name: inside + value: inside + #indicator: inside + minmax: 'off' + icon: 'off' + height: 40px + columns: 3 + entities: + - entity: TAG_01 + name: Potenza + max: 2000 + severity: + - color: '#27b376' + from: 0 + to: 99.9 + - color: '#fl9a73e' + from: 100 + to: 399.9 + - color: '#bf212f' + from: 400 + to: 1999 + - entity: TAG_03 + name: Tensione + max: 255 + severity: + - color: '#27b376' + from: 230 + to: 249 + - color: '#fl9a73e' + from: 220 + to: 229 + - color: rgb(163,0,0,0.80) + from: 250 + to: 255 + - entity: TAG_04 + name: Corrente + max: 10 + severity: + - color: '#27b376' + from: 1 + to: 5.9 + - color: '#fl9a73e' + from: 6 + to: 7.9 + - color: '#bf212f' + from: 8 + to: 10 + - type: grid + square: false + columns: 5 + cards: + - type: statistic + entity: TAG_02 + name: Mese corrente + unit: kWh + period: + calendar: + period: month + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 1 + unit: kWh + period: + calendar: + period: month + offset: -1 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 2 + unit: kWh + period: + calendar: + period: month + offset: -2 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 3 + unit: kWh + period: + calendar: + period: month + offset: -3 + stat_type: change + - type: statistic + entity: TAG_02 + name: Mese - 4 + unit: kWh + period: + calendar: + period: month + offset: -4 + stat_type: change + - type: custom:apexcharts-card + # style: | + # ha-card { + # border-radius: 0px; + # box-shadow: none; + # background-image: none; + # background-color: transparent; + # } + experimental: + color_threshold: true + apex_config: + chart: + height: 200px + dataLabels: + enabled: true + dropShadow: enabled: true - dropShadow: - enabled: true - yaxis: - forceNiceScale: true - labels: - style: - fontSize: 10px - fontFamily: Segoe UI Light - xaxis: - axisBorder: - show: true - labels: - show: false - style: - fontSize: 10px - fontFamily: Segoe UI Light - grid: + yaxis: + forceNiceScale: true + labels: + style: + fontSize: 10px + fontFamily: Segoe UI Light + xaxis: + axisBorder: show: true - borderColor: rgba(112, 135, 164, 0.5) - show: - last_updated: false - header: - standard_format: false + labels: + show: false + style: + fontSize: 10px + fontFamily: Segoe UI Light + grid: show: true - show_states: true - colorize_states: true - title: Consumo giornaliero - ultimi 30 giorni - graph_span: 30d - update_interval: 1h - series: - - entity: TAG_02 - name: Energia - type: column - statistics: - type: state - period: day - align: start - show: - datalabels: true - header_color_threshold: true - name_in_header: false - legend_value: false - opacity: 0.8 - color_threshold: - - color: "#27b376" - value: 0.4 - - color: "#006f3c" - value: 0.8 - - color: "#fl9a73e" - value: 1.2 - - color: "#bf212f" - value: 1.6 + borderColor: rgba(112, 135, 164, 0.5) + show: + last_updated: false + header: + standard_format: false + show: true + show_states: true + colorize_states: true + title: Consumo giornaliero - ultimi 30 giorni + graph_span: 30d + update_interval: 1h + series: + - entity: TAG_02 + name: Energia + type: column + statistics: + type: state + period: day + align: start + show: + datalabels: true + header_color_threshold: true + name_in_header: false + legend_value: false + opacity: 0.8 + color_threshold: + - color: "#27b376" + value: 0.4 + - color: "#006f3c" + value: 0.8 + - color: "#fl9a73e" + value: 1.2 + - color: "#bf212f" + value: 1.6