From f3d448e93fb6fe6fc9cd99a939f6b0a9d6a3c1f2 Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Fri, 24 May 2024 00:46:05 -0700 Subject: [PATCH] restore the standard example number --- docs/software/integrations/mqtt/home-assistant.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/software/integrations/mqtt/home-assistant.mdx b/docs/software/integrations/mqtt/home-assistant.mdx index 5cb6116b..84a7dc2c 100644 --- a/docs/software/integrations/mqtt/home-assistant.mdx +++ b/docs/software/integrations/mqtt/home-assistant.mdx @@ -190,7 +190,7 @@ trigger: topic: msh/2/json/LongFast/!67ea9400 payload: "on" value_template: |- - {% if value_json.from == ("f0b94b6d" | int(base=16)) and + {% if value_json.from == 4038675309 and value_json.payload.latitude_i is defined and value_json.payload.longitude_i is defined %}on{% endif %} condition: []