From 2e89501613d208437e6d788b03238dbb089841e2 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 17 May 2025 23:21:31 +0200 Subject: [PATCH] Removed misspelling of the word 'address' --- tasmotonov.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasmotonov.py b/tasmotonov.py index 96b0f7b..f151d5b 100755 --- a/tasmotonov.py +++ b/tasmotonov.py @@ -104,7 +104,7 @@ class TasmotonovRunner: self.logger.log(f'Validated addresses: distilled the following data. Devices added: {self.tasmota_addresses}') def parse_addresses(self): - # convert the given adresses to a list + # convert the given addresses to a list tasmota_addresses_raw = [] if self.source == 'file': try: @@ -224,8 +224,8 @@ if __name__ == '__main__': description='A very simple script which allows you to turn on/off multiple tasmota devices specified.', epilog='Info: if you choose a file as source, this files needs to contain the addresses of the tasmota devices either comma-separated, semicolon-separated, or newline-separated (each entry can have a comment starting with a # (hashtag)!\n\n© Benjamin Burkhardt, 2025') - parser.add_argument('source', help='Select either to read the adresses (of the devices) from a "file" or from "inline"', choices=['file', 'inline']) - parser.add_argument('data', help='Either the path to the file, or a comma-, semicolon- or newline-separated list of tasmota adresses.') + parser.add_argument('source', help='Select either to read the addresses (of the devices) from a "file" or from "inline"', choices=['file', 'inline']) + parser.add_argument('data', help='Either the path to the file, or a comma-, semicolon- or newline-separated list of tasmota addresses.') parser.add_argument('action', help='Select to turn all tasmota devices "on" or "off" or "toggle" (case insensitive)', choices=['on', 'off', 'toggle']) parser.add_argument('-v', '--verbose', help='Turn on verbose file output', action='store_true') parser.add_argument('--version', action='version', version=f'Tasmotonov.py {version}')