Bladeren bron

config template to jinja2

master
Dirk Alders 9 maanden geleden
bovenliggende
commit
9c124d9665
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4
    4
      config_example/config.j2

config_example/config.py → config_example/config.j2 Bestand weergeven

@@ -8,10 +8,10 @@ from remotes import technics_eur642100 as cd_player
8 8
 
9 9
 __BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
10 10
 
11
-MQTT_SERVER = "<mqtt_smarthome_hostname>"
12
-MQTT_USER = "<mqtt_smarthome_username>"
13
-MQTT_PASS = "<mqtt_smarthome_password>"
14
-MQTT_TOPIC = "<mqtt_remote_topic>"
11
+MQTT_SERVER = "{{ smart_sat_remotectrl_hostname }}"
12
+MQTT_USER = "{{ smart_sat_remotectrl_username }}"
13
+MQTT_PASS = "{{ smart_sat_remotectrl_password }}"
14
+MQTT_TOPIC = "{{ smart_sat_remotectrl_topic }}"
15 15
 
16 16
 SUPPORTED_REMOTES = {
17 17
     amplifier.NAME: amplifier.ALL,

Laden…
Annuleren
Opslaan