Suneman

Epaper troubleshooting

Nov 19th, 2023
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. alias: Tag 04 - ST 2.9" (White)
  2. description: ""
  3. trigger:
  4. - platform: time_pattern
  5. minutes: /1
  6. condition: []
  7. action:
  8. - service: open_epaper_link.drawcustom
  9. data:
  10. width: 296
  11. height: 128
  12. background: white
  13. rotate: 270
  14. dry-run: false
  15. payload:
  16. - type: text
  17. value: Ute
  18. x: 5
  19. "y": 5
  20. color: black
  21. size: 25
  22. - type: text
  23. value: " {{ states('sensor.temperature_ute_veranda', rounded=True, with_unit=True) | string }} "
  24. x: 5
  25. "y": 30
  26. color: red
  27. size: 30
  28. font: ppb.ttf
  29. - type: line
  30. fill: black
  31. width: 3
  32. x_start: 0
  33. y_start: 60
  34. x_end: 128
  35. y_end: 60
  36. - type: text
  37. value: Hall 1etg
  38. x: 5
  39. "y": 65
  40. color: black
  41. size: 25
  42. font: ppb.ttf
  43. - type: text
  44. value: " {{ states('sensor.temperature_hall_1etg', rounded=True, with_unit=True) | string }} "
  45. x: 5
  46. "y": 90
  47. color: red
  48. size: 30
  49. font: ppb.ttf
  50. - type: line
  51. fill: black
  52. width: 3
  53. x_start: 0
  54. y_start: 120
  55. x_end: 128
  56. y_end: 120
  57. - type: text
  58. value: TV Stue
  59. x: 5
  60. "y": 125
  61. color: black
  62. size: 25
  63. font: ppb.ttf
  64. - type: text
  65. value: " {{ states('sensor.temperature_tv_stue', rounded=True, with_unit=True) | string }} "
  66. x: 5
  67. "y": 150
  68. color: red
  69. size: 30
  70. font: ppb.ttf
  71. - type: line
  72. fill: black
  73. width: 3
  74. x_start: 0
  75. y_start: 180
  76. x_end: 128
  77. y_end: 180
  78. - type: text
  79. value: WC 1etg
  80. x: 5
  81. "y": 185
  82. color: black
  83. size: 25
  84. font: ppb.ttf
  85. - type: text
  86. value: " {{ states('sensor.temperature_wc_1etg', rounded=True, with_unit=True) | string }} "
  87. x: 5
  88. "y": 210
  89. color: red
  90. size: 30
  91. font: ppb.ttf
  92. - type: line
  93. fill: black
  94. width: 3
  95. x_start: 0
  96. y_start: 240
  97. x_end: 128
  98. y_end: 240
  99. - type: text
  100. value: "{{ now() | as_timestamp() | timestamp_custom('%a %d/%m') }} "
  101. x: 5
  102. "y": 245
  103. color: red
  104. size: 25
  105. font: ppb.ttf
  106. - type: text
  107. value: "t04upd{{ now() | as_timestamp() | timestamp_custom('%H:%M') }} "
  108. x: 14
  109. "y": 285
  110. color: black
  111. size: 14
  112. font: ppb.ttf
  113. target:
  114. entity_id:
  115. - open_epaper_link.0000021C446C3B1C
  116. mode: single
  117.  
Advertisement
Add Comment
Please, Sign In to add comment