Skip to content

Commit 6cd261e

Browse files
authored
docs: Update Energy Summary example (#98)
1 parent 3f21245 commit 6cd261e

File tree

2 files changed

+27
-25
lines changed

2 files changed

+27
-25
lines changed

assets/summary.png

88.3 KB
Loading

examples.md

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -113,32 +113,33 @@ cards:
113113
type: vertical-stack
114114
cards:
115115
- chart_type: bar
116-
period: hour
116+
period: day
117117
type: statistics-graph
118118
entities:
119-
- sensor.last_iec_bill_length_in_days
119+
- sensor.last_iec_bill_length_in_days
120120
days_to_show: 2
121121
stat_types:
122-
- mean
123122
- min
123+
- mean
124124
- max
125125
title: מונה חברת חשמל
126+
hide_legend: true
126127
- show_name: true
127128
show_icon: true
128129
type: button
129130
tap_action:
130-
action: toggle
131+
action: toggle
131132
entity: input_boolean.power
132133
name: צריכת חשמל כללית
133134
icon_height: 60px
134135
- type: conditional
135136
conditions:
136-
- entity: input_boolean.power
137-
state: 'on'
138-
card:
139-
square: false
140-
type: grid
141-
cards:
137+
- entity: input_boolean.power
138+
state: 'on'
139+
card:
140+
square: false
141+
type: grid
142+
cards:
142143
- square: false
143144
type: grid
144145
cards:
@@ -148,28 +149,29 @@ cards:
148149
name: צריכה
149150
state_color: true
150151
- type: entity
151-
entity: sensor.last_iec_bill_length_in_days
152-
name: ימים שעברו
152+
entity: binary_sensor.iec_contract_347910537_meter_23511627_is_last_iec_invoice_paid
153+
name: תשלום חשבונית
154+
icon: mdi:cash-check
153155
- type: entity
154-
entity: sensor.last_iec_bill_electric_usage_to_date
155-
name: חשבון קודם
156+
entity: sensor.last_iec_bill_amount_to_pay
157+
name: חשבון קודם
156158
icon: mdi:cash
157159
- type: entity
158-
entity: sensor.last_iec_bill_electric_cost
160+
entity: sensor.next_bill_electric_forecasted_cost
159161
name: סכום לתשלום
160162
icon: mdi:cash-multiple
161163
columns: 2
162164
- type: grid
163165
cards:
164-
- type: entity
165-
entity: sensor.iec_this_month_electric_consumption
166-
name: צריכה חודשית
167-
icon: mdi:timer-sand
168-
state_color: true
169-
- type: entity
170-
entity: sensor.iec_kwh_tariff
171-
name: תעריף
172-
icon: mdi:cash-register
166+
- type: entity
167+
entity: sensor.iec_this_month_electric_consumption
168+
name: צריכה חודשית
169+
icon: mdi:timer-sand
170+
state_color: true
171+
- type: entity
172+
entity: sensor.iec_kwh_tariff
173+
name: תעריף
174+
icon: mdi:cash-register
173175
columns: 2
174176
square: false
175177
- type: grid
@@ -184,5 +186,5 @@ cards:
184186
icon: mdi:book-edit
185187
columns: 2
186188
square: false
187-
columns: 1
189+
columns: 1
188190
```

0 commit comments

Comments
 (0)