From 231d95a0f745653da1fcefe7cca9d20daf4fa01e Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 17 May 2025 00:15:24 +0200 Subject: [PATCH] Added license notice to the top of the tasmotonov.py file --- tasmotonov.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tasmotonov.py b/tasmotonov.py index 3370793..bc18ccd 100755 --- a/tasmotonov.py +++ b/tasmotonov.py @@ -1,5 +1,23 @@ #!/usr/bin/python3 +""" +Tasmotonov - A very simple script which allows you to turn on/off (or toggle) multiple tasmota devices specified. +Copyright (C) 2025 Benjamin Burkhardt + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +""" + import sys # for exiting with the correct exit code import argparse # to parse the cli args! import requests # needed to access the http endpoints