Added power graph.
This commit is contained in:
parent
f7ffbdc183
commit
bcf8b11758
@ -165,6 +165,13 @@ text_sensor:
|
|||||||
entity_id: sensor.wohnzimmer_feinstaub_warnstufe
|
entity_id: sensor.wohnzimmer_feinstaub_warnstufe
|
||||||
id: wzpm
|
id: wzpm
|
||||||
|
|
||||||
|
graph:
|
||||||
|
- id: line_power_graph
|
||||||
|
sensor: power_total
|
||||||
|
duration: 2h
|
||||||
|
width: 235
|
||||||
|
height: 100
|
||||||
|
|
||||||
time:
|
time:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
id: homeassistant_time
|
id: homeassistant_time
|
||||||
@ -654,7 +661,7 @@ display:
|
|||||||
Draw the outline of a rectangle with the top left at [86,21],
|
Draw the outline of a rectangle with the top left at [86,21],
|
||||||
a width of 297 and a height of 3
|
a width of 297 and a height of 3
|
||||||
*/
|
*/
|
||||||
it.filled_rectangle(76, 21, 317, 3);
|
it.filled_rectangle(76, 21, 307, 3);
|
||||||
|
|
||||||
/* C1024 logo */
|
/* C1024 logo */
|
||||||
it.image(10 , 37, id(c1024_logo));
|
it.image(10 , 37, id(c1024_logo));
|
||||||
@ -763,6 +770,8 @@ display:
|
|||||||
it.print(207 + offsetX, 20 + offsetY, id(sub_sensor_font), TextAlign::BASELINE_RIGHT, " - W");
|
it.print(207 + offsetX, 20 + offsetY, id(sub_sensor_font), TextAlign::BASELINE_RIGHT, " - W");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
it.graph(10 + offsetX, 30 + offsetY, id(line_power_graph));
|
||||||
|
|
||||||
/* Serverroom */
|
/* Serverroom */
|
||||||
offsetY = 247;
|
offsetY = 247;
|
||||||
it.print(10 + offsetX, 10 + offsetY, id(sensor_unit), "Serverraum");
|
it.print(10 + offsetX, 10 + offsetY, id(sensor_unit), "Serverraum");
|
||||||
|
Loading…
Reference in New Issue
Block a user