Adjust calendar font to fit

This commit is contained in:
aderusha 2021-03-15 08:45:18 -04:00
parent 5ccfb7eac0
commit ede952c4e8

View File

@ -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: ""