range fix

This commit is contained in:
proddy
2025-10-25 10:36:55 +02:00
parent 48538222b2
commit d12446b6d9
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ def get_tag_type(modbus_block):
return "DHW"
if 20 <= block <= 35:
return "HS"
if 36 <= block <= 50 or block == 52:
if 36 <= block <= 51:
return "SRC"
# Default fallback

View File

@@ -100,7 +100,7 @@ tag_to_tagtype = {
48: "TAG_TYPE_SRC",
49: "TAG_TYPE_SRC",
50: "TAG_TYPE_SRC",
50: "TAG_TYPE_SRC"
51: "TAG_TYPE_SRC"
}
device_type_names = [