diff --git a/custom_components/solax_modbus/plugin_solax.py b/custom_components/solax_modbus/plugin_solax.py index 1aefe186..790075cf 100644 --- a/custom_components/solax_modbus/plugin_solax.py +++ b/custom_components/solax_modbus/plugin_solax.py @@ -3732,6 +3732,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, unit = REGISTER_S16, allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4 | GEN5, + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Voltage 1", @@ -3863,6 +3864,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, allowedtypes = HYBRID, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Power 2", @@ -3874,6 +3876,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, allowedtypes = HYBRID, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Time Count Down", @@ -3966,6 +3969,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): unit = REGISTER_S16, allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4, icon = "mdi:battery-charging", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Battery 1 Power Charge", @@ -4199,6 +4203,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, unit = REGISTER_S32, allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4 | GEN5, + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Grid Export Total", @@ -4214,6 +4219,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): rounding = 2, allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4 | GEN5, icon = "mdi:home-export-outline", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Grid Import Total", @@ -4229,6 +4235,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): rounding = 2, allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4 | GEN5, icon = "mdi:home-import-outline", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "EPS Voltage", @@ -4661,6 +4668,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, unit = REGISTER_S32, allowedtypes = HYBRID | GEN3 | GEN4 | GEN5 | X3, + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Measured Power L2", @@ -5496,6 +5504,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): unit = REGISTER_U32, allowedtypes = AC | HYBRID | GEN3 | GEN4 | GEN5 | PM, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PM PV Power 2", @@ -6102,6 +6111,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): value_function = value_function_battery_power_charge, allowedtypes = AC | HYBRID | GEN5, icon = "mdi:battery-charging", + scan_group = SCAN_GROUP_FAST, ), ##### # @@ -6409,6 +6419,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): #newblock = True, register_type = REG_INPUT, allowedtypes = MIC | GEN | GEN2, + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Run Mode", @@ -6463,6 +6474,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, allowedtypes = MIC | GEN | GEN2, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Power 2", @@ -6474,6 +6486,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, allowedtypes = MIC | GEN | GEN2, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Power Total", @@ -6600,6 +6613,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): entity_registry_enabled_default = False, allowedtypes = MIC | GEN, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Total Grid Export", @@ -6673,6 +6687,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): entity_registry_enabled_default = False, allowedtypes = MIC | GEN2, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "Total Grid Export", @@ -6878,6 +6893,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register = 0x409, register_type = REG_INPUT, allowedtypes = MIC | GEN4 | GEN5, + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Voltage 1", @@ -6958,6 +6974,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, allowedtypes = MIC | GEN4, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Power 2", @@ -6969,6 +6986,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register_type = REG_INPUT, allowedtypes = MIC | GEN4, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Power 3", @@ -7241,6 +7259,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register = 0x1012, allowedtypes = MAX, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Voltage 2", @@ -7272,6 +7291,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): register = 0x1016, allowedtypes = MAX, icon = "mdi:solar-power-variant", + scan_group = SCAN_GROUP_FAST, ), SolaXModbusSensorEntityDescription( name = "PV Voltage 3",