mirror of
https://github.com/HASwitchPlate/HASPone.git
synced 2025-07-29 14:16:39 +00:00
Adjust calendar font to fit
This commit is contained in:
parent
5ccfb7eac0
commit
ede952c4e8
@ -135,7 +135,7 @@ variables:
|
||||
{%- set blue=(state_attr(color.source, "rgb_color")[2] * brightness)|int -%}
|
||||
{{ (red|bitwise_and(248)*256) + (green|bitwise_and(252)*8) + (blue|bitwise_and(248)/8)|int }}
|
||||
text: '{{(now().strftime("%b "))~now().day}}'
|
||||
font: 9
|
||||
font: 8
|
||||
ypos: "{{(haspbutton|int - 4) * 67 + 2}}" # calculate the top pixel position based on the selected button
|
||||
xpos: 0
|
||||
icon: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user