mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
range fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user