Skip to content

Commit

Permalink
versione 2023.10.4 - fix card
Browse files Browse the repository at this point in the history
  • Loading branch information
jumping2000 committed Oct 18, 2023
1 parent 9d4c049 commit 0768c5d
Show file tree
Hide file tree
Showing 4 changed files with 518 additions and 518 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
348 changes: 174 additions & 174 deletions elettrodomestici_2023/lovelace/card_elettrodomestici/card_forno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 0768c5d

Please sign in to comment.