From 7d1f7de1c78d5600c692839e28899fd2021fc6fd Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sat, 16 Mar 2024 21:48:39 +0100 Subject: [PATCH] config template to jinja2 --- config_example/{config.py => config.j2} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename config_example/{config.py => config.j2} (61%) diff --git a/config_example/config.py b/config_example/config.j2 similarity index 61% rename from config_example/config.py rename to config_example/config.j2 index e6b3f0d..aa9628b 100644 --- a/config_example/config.py +++ b/config_example/config.j2 @@ -3,10 +3,10 @@ import os import report -MQTT_USER = "" -MQTT_PASS = "" -MQTT_SERVER = "" -MQTT_TOPIC = "" +MQTT_USER = "{{ smart_sat_powerplug_username }}" +MQTT_PASS = "{{ smart_sat_powerplug_password }}" +MQTT_SERVER = "{{ smart_sat_powerplug_hostname }}" +MQTT_TOPIC = "{{ smart_sat_powerplug_topic }}" # # Logging