Untitled

 avatar
unknown
plain_text
a year ago
5.4 kB
27
Indexable
service: open_epaper_link.drawcustom
target:
  entity_id: open_epaper_link.0000021f848e738f
data:
  background: white
  rotate: 0
  payload:
    - type: rectangle
      x_start: 0
      x_end: 296
      y_start: 0
      y_end: 128
      fill: white
      outline: black
      width: 2
    - type: rectangle
      x_start: 1
      x_end: 296
      y_start: 30
      y_end: 30
      fill: black
      outline: black
      width: 1
    - type: rectangle
      x_start: 1
      x_end: 296
      y_start: 55
      y_end: 55
      fill: black
      outline: black
      width: 1
    - type: rectangle
      x_start: 2
      x_end: 296
      y_start: 80
      y_end: 80
      fill: black
      outline: black
      width: 1
    - type: rectangle
      x_start: 2
      x_end: 296
      y_start: 105
      y_end: 105
      fill: black
      outline: black
      width: 1
    - type: rectangle
      x_start: 148
      x_end: 148
      y_start: 30
      y_end: 104
      fill: black
      outline: black
      width: 1
    - type: rectangle
      x_start: 2
      x_end: 294
      y_start: 2
      y_end: 29
      fill: red
      outline: red
      width: 1
    - type: rectangle
      x_start: 262
      x_end: 296
      y_start: 118
      y_end: 128
      fill: black
      outline: black
      width: 1
    - type: text
      value: Energieverbruik
      font: ppb.ttf
      x: 148
      "y": 3
      size: 24
      anchor: mt
      color: white
    - type: icon
      value: transmission-tower-export
      x: 5
      "y": 32
      size: 20
      color: >-
        {{'red' if (states('sensor.power_consumed_2')| float)  > 0 else 'black'
        }}
    - type: text
      y_padding: 25
      value: "{{states('sensor.energy_consumed_total_kwh')| string }}"
      font: ppb.ttf
      x: 102
      "y": 34
      size: 18
      anchor: rt
      color: black
    - type: text
      y_padding: 25
      value: kWh
      font: ppb.ttf
      x: 105
      "y": 34
      size: 18
      anchor: lt
      color: black
    - type: icon
      value: transmission-tower-import
      x: 150
      "y": 32
      size: 20
      color: >-
        {{'black' if (states('sensor.power_consumed_2')| float)  > 0 else 'red'
        }}
    - type: text
      y_padding: 25
      value: "{{states('sensor.energy_teruggeleverd_kwh')| string }}"
      font: ppb.ttf
      x: 248
      "y": 34
      size: 18
      anchor: rt
      color: black
    - type: text
      y_padding: 25
      value: kWh
      font: ppb.ttf
      x: 252
      "y": 34
      size: 18
      anchor: lt
      color: black
    - type: icon
      value: lightning-bolt-circle
      x: 5
      "y": 58
      size: 20
      color: >-
        {{'black' if (states('sensor.energy_netto_usage')| float)  > 0 else
        'red' }}
    - type: text
      y_padding: 25
      value: "{{states('sensor.energy_netto_usage')| round(3) | string }}"
      font: ppb.ttf
      x: 102
      "y": 60
      size: 18
      anchor: rt
      color: >-
        {{'black' if (states('sensor.energy_netto_usage')| float)  > 0 else
        'red' }}
    - type: text
      y_padding: 25
      value: kWh
      font: ppb.ttf
      x: 105
      "y": 60
      size: 18
      anchor: lt
      color: >-
        {{'black' if (states('sensor.energy_netto_usage')| float)  > 0 else
        'red' }}
    - type: icon
      value: solar-power-variant
      x: 150
      "y": 58
      size: 20
      color: "{{'red' if (states('sensor.power_produced')| float)  > 0 else 'black' }}"
    - type: text
      y_padding: 25
      value: "{{ (states('sensor.energy_generated')| int / 1000) | string }}"
      font: ppb.ttf
      x: 248
      "y": 60
      size: 18
      anchor: rt
      color: black
    - type: text
      y_padding: 25
      value: kWh
      font: ppb.ttf
      x: 252
      "y": 60
      size: 18
      anchor: lt
      color: black
    - type: icon
      value: home-lightning-bolt-outline
      x: 4
      "y": 80
      size: 24
      color: black
    - type: text
      y_padding: 25
      value: "{{ states('sensor.energy_real_usage') | string }}"
      font: ppb.ttf
      x: 102
      "y": 84
      size: 18
      anchor: rt
      color: black
    - type: text
      y_padding: 25
      value: kWh
      font: ppb.ttf
      x: 105
      "y": 84
      size: 18
      anchor: lt
      color: black
    - type: icon
      value: gas-burner
      x: 150
      "y": 80
      size: 24
      color: black
    - type: text
      y_padding: 25
      value: "{{states('sensor.energy_gas')| string }}"
      font: ppb.ttf
      x: 248
      "y": 84
      size: 18
      anchor: rt
      color: black
    - type: text
      y_padding: 25
      value: m³
      font: ppb.ttf
      x: 252
      "y": 84
      size: 18
      anchor: lt
      color: black
    - type: icon
      value: home-lightning-bolt
      x: 4
      "y": 105
      size: 24
      color: black
    - type: text
      y_padding: 25
      value: >-
        Yest:{{ states('input_number.energy_yesterday') | string }}kWh/{{
        states('input_number.energy_gas_yesterday') | string }}m³
      font: ppb.ttf
      x: 28
      "y": 106
      size: 18
      anchor: lt
      color: black
    - type: text
      "y": 127
      value: "{{(now()).strftime('%H:%M') }}"
      font: ppb.ttf
      x: 296
      size: 10
      anchor: rb
      color: white
alias: Update ePaper Slimme Meter
Editor is loading...
Leave a Comment