From ede952c4e8b9ef5aa7627e2e8ef0ed2984e8ac20 Mon Sep 17 00:00:00 2001 From: aderusha Date: Mon, 15 Mar 2021 08:45:18 -0400 Subject: [PATCH] Adjust calendar font to fit --- Home_Assistant/blueprints/hasp_Display_Calendar_with_Icon.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Home_Assistant/blueprints/hasp_Display_Calendar_with_Icon.yaml b/Home_Assistant/blueprints/hasp_Display_Calendar_with_Icon.yaml index df2b7ba..3d3c852 100644 --- a/Home_Assistant/blueprints/hasp_Display_Calendar_with_Icon.yaml +++ b/Home_Assistant/blueprints/hasp_Display_Calendar_with_Icon.yaml @@ -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: ""