mirror of
https://github.com/HASwitchPlate/HASPone.git
synced 2025-07-30 22:56:36 +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 -%}
|
{%- 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 }}
|
{{ (red|bitwise_and(248)*256) + (green|bitwise_and(252)*8) + (blue|bitwise_and(248)/8)|int }}
|
||||||
text: '{{(now().strftime("%b "))~now().day}}'
|
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
|
ypos: "{{(haspbutton|int - 4) * 67 + 2}}" # calculate the top pixel position based on the selected button
|
||||||
xpos: 0
|
xpos: 0
|
||||||
icon: ""
|
icon: ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user