I will try to check with browser. I think before posted code is still the same, but I’m sending again
uid: PV_widget_by_ALDA_v2
tags: []
props:
parameters:
- context: item
label: Grid L1
name: Grid_L1
required: true
type: TEXT
- context: item
label: Grid L2
name: Grid_L2
required: true
type: TEXT
- context: item
label: Grid L3
name: Grid_L3
required: true
type: TEXT
- context: item
label: Complete consumption L1
name: complete_L1
required: true
type: TEXT
- context: item
label: PV Production
name: pv_leistung
required: true
type: TEXT
- context: item
label: Battery Power
name: batterieleistung
required: true
type: TEXT
- context: item
label: Batterie SOC
name: batterylevel
required: true
type: TEXT
parameterGroups: []
timestamp: Oct 9, 2022, 7:33:26 PM
component: f7-card
config:
style:
noShadow: false
padding: 0px
border-radius: var(--f7-card-expandable-border-radius)
box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.1)
background-color: "=props.bgcolor ? props.bgcolor : ''"
margin-left: 5px
margin-right: 5px
slots:
content:
- component: f7-block
config:
style:
--f7-theme-color: var(--f7-text-color)
padding: 0
slots:
default:
- component: f7-row
config:
style:
align-items: center
display: flex
slots:
default:
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
slots:
default:
- component: oh-icon
config:
width: 80%
icon: sma_pv_2
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
- component: f7-row
config:
style:
align-items: center
display: flex
slots:
default:
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
slots:
default:
- component: oh-icon
config:
width: 80%
icon: sma_grid_2
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
slots:
default:
- component: oh-icon
config:
width: 80%
icon: sma_battery_2
- component: f7-row
config:
style:
align-items: center
display: flex
slots:
default:
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column
slots:
default:
- component: oh-icon
config:
width: 80%
icon: sma_consumption_2
- component: f7-col
config:
style:
width: 33%
display: flex
align-items: center
flex-direction: column