From ac09e5f235b71be6fdcd2c2de2b3ad0f26b54578 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Thu, 9 Apr 2026 18:41:46 +0000 Subject: [PATCH] fix(docs): avoid mdx/ssg runtime error in energy-tax formula Replace the inline KaTeX block in the Energy Price & Tax Breakdown section with a plain inline equation string. The previous expression caused a Docusaurus SSG runtime failure on the sensors page (ReferenceError during static rendering). Impact: User docs build now succeeds consistently for the sensors page. --- docs/user/docs/sensors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/docs/sensors.md b/docs/user/docs/sensors.md index 4646325..83b9222 100644 --- a/docs/user/docs/sensors.md +++ b/docs/user/docs/sensors.md @@ -470,7 +470,7 @@ All min/max sensors include: Many price sensors expose the **raw energy price** (spot price) and the **tax component** as additional attributes. These are sourced directly from the Tibber API's `energy` and `tax` fields, which together make up the `total` price you see in the sensor state: -$$\text{total} = \text{energy} + \text{tax}$$ +`total = energy + tax` ### Where These Attributes Appear