add missing controller/datetime

This commit is contained in:
proddy
2025-10-18 17:15:26 +02:00
parent a949673539
commit 27fbafbe62
2 changed files with 5 additions and 2 deletions

View File

@@ -42,7 +42,8 @@ string_sizes = {
"thermostat/switchtime2": 16,
"thermostat/switchtime": 16,
"thermostat/switchtimeww": 21,
"controller/datetime": 25
"controller/datetime": 25,
"connect/datetime": 30
}
tag_to_tagtype = {
@@ -193,7 +194,7 @@ for entity in entities:
if int(entity["modbus count"]) <= 0:
raise Exception('Entity "' + entity_dev_name + ' (' + entity_shortname + ')' +
'" does not have a size - string sizes need to be added manually to update_modbus_registers.py/string_sizes')
'" does not have a size - string sizes need to be added manually to update_modbus_registers.py/string_sizes[]')
# if entity["modbus count"] == "0":
# print("ignoring " + entity_dev_name + " - it has a register length of zero")