Browse Source

config template to jinja2

master
Dirk Alders 9 months ago
parent
commit
7d1f7de1c7
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      config_example/config.j2

config_example/config.py → config_example/config.j2 View File

@@ -3,10 +3,10 @@
3 3
 import os
4 4
 import report
5 5
 
6
-MQTT_USER = "<mqtt_smarthome_username>"
7
-MQTT_PASS = "<mqtt_smarthome_password>"
8
-MQTT_SERVER = "<mqtt_smarthome_hostname>"
9
-MQTT_TOPIC = "<mqtt_powerplug_topic>"
6
+MQTT_USER = "{{ smart_sat_powerplug_username }}"
7
+MQTT_PASS = "{{ smart_sat_powerplug_password }}"
8
+MQTT_SERVER = "{{ smart_sat_powerplug_hostname }}"
9
+MQTT_TOPIC = "{{ smart_sat_powerplug_topic }}"
10 10
 
11 11
 #
12 12
 # Logging

Loading…
Cancel
Save