From 9c124d9665d4bdac08df257df160db372dedabc8 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 17 Mar 2024 08:44:09 +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} (72%) diff --git a/config_example/config.py b/config_example/config.j2 similarity index 72% rename from config_example/config.py rename to config_example/config.j2 index 1af406b..40197e5 100644 --- a/config_example/config.py +++ b/config_example/config.j2 @@ -8,10 +8,10 @@ from remotes import technics_eur642100 as cd_player __BASEPATH__ = os.path.abspath(os.path.dirname(__file__)) -MQTT_SERVER = "" -MQTT_USER = "" -MQTT_PASS = "" -MQTT_TOPIC = "" +MQTT_SERVER = "{{ smart_sat_remotectrl_hostname }}" +MQTT_USER = "{{ smart_sat_remotectrl_username }}" +MQTT_PASS = "{{ smart_sat_remotectrl_password }}" +MQTT_TOPIC = "{{ smart_sat_remotectrl_topic }}" SUPPORTED_REMOTES = { amplifier.NAME: amplifier.ALL,