from config import ConfigSubsection
from config import ConfigSlider
from config import configSelection
+from config import configText
def InitSetupDevices():
config.timezone = ConfigSubsection();
config.expert.skipconfirm = configElement("config.expert.skipconfirm", configSelection, 1, ("Enable", "Disable") );
config.expert.hideerrors = configElement("config.expert.hideerrors", configSelection, 1, ("Enable", "Disable") );
config.expert.autoinfo = configElement("config.expert.autoinfo", configSelection, 1, ("Enable", "Disable") );
+
+ #here?
+ config.tv = ConfigSubsection();
+ config.tv.lastservice = configElement("config.tv.lastservice", configText, "", 0);
+
+ config.tv.lastservice.value = "blasel"
+ config.tv.lastservice.save()
+