Add v9 templates

This commit is contained in:
Theo Arends 2020-11-21 12:27:11 +01:00
parent 90bb0292ed
commit e105d5b4f4
3 changed files with 3524 additions and 1661 deletions

1816
TEMPLATES-PRE9.md Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,6 @@
Requirements:
- Python
- pip pycurl certifi
Instructions:
Execute command to produce file TEMPLATE.md as found in the Tasmota root folder
@ -324,7 +323,7 @@ def get_templates_list():
return response.text.split('\n')
def main():
print ("\n*** templates.py v20200514 by Theo Arends ***")
print ("\n*** templates.py v20201121 by Theo Arends and Barbudor ***")
now = datetime.now()
month = now.strftime('%B')
@ -368,7 +367,7 @@ def main():
except json.decoder.JSONDecodeError as ex:
template = "Not available"
fout.write(f"{name:<{COLUMN}} {json.dumps(template)}\n")
fout.write(f"{name:<{COLUMN}} {json.dumps(template, separators=(',', ':'))}\n")
fout.write('```\n')