Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom_components/victron_mqtt/_vendor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Vendored third-party packages."""

VICTRON_MQTT_VERSION = "2026.6.5"
VICTRON_MQTT_VERSION = "2026.6.6"
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,22 @@
name="Installed capacity",
metric_type=MetricType.ELECTRIC_STORAGE_CAPACITY,
),
TopicDescriptor(
topic="N/{installation_id}/battery/{device_id}/Io/AllowToCharge",
message_type=MetricKind.BINARY_SENSOR,
short_id="battery_allow_to_charge",
name="Allow to charge",
value_type=ValueType.ENUM,
enum=GenericOnOff,
),
TopicDescriptor(
topic="N/{installation_id}/battery/{device_id}/Io/AllowToDischarge",
message_type=MetricKind.BINARY_SENSOR,
short_id="battery_allow_to_discharge",
name="Allow to discharge",
value_type=ValueType.ENUM,
enum=GenericOnOff,
),
TopicDescriptor(
topic="N/{installation_id}/battery/{device_id}/Soc",
message_type=MetricKind.SENSOR,
Expand Down
14 changes: 14 additions & 0 deletions custom_components/victron_mqtt/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@
"on": "On"
}
},
"battery_allow_to_charge": {
"name": "Allow to charge",
"state": {
"off": "Off",
"on": "On"
}
},
"battery_allow_to_discharge": {
"name": "Allow to discharge",
"state": {
"off": "Off",
"on": "On"
}
},
"dcdc_mode": {
"state": {
"off": "Off",
Expand Down
54 changes: 54 additions & 0 deletions victron_mqtt.json
Original file line number Diff line number Diff line change
Expand Up @@ -1653,6 +1653,60 @@
"hidden": false,
"sub_device_key": null
},
{
"topic": "N/{installation_id}/battery/{device_id}/Io/AllowToCharge",
"message_type": "MetricKind.BINARY_SENSOR",
"short_id": "battery_allow_to_charge",
"name": "Allow to charge",
"unit_of_measurement": null,
"metric_type": "MetricType.ENUM",
"metric_nature": "MetricNature.NONE",
"value_type": "ValueType.ENUM",
"precision": null,
"enum": "GenericOnOff",
"min_max_range": "RangeType.STATIC",
"min": null,
"max": null,
"step": null,
"is_adjustable_suffix": null,
"output_type": null,
"labels": null,
"key_values": {},
"experimental": false,
"depends_on": [],
"generic_name": "Allow to charge",
"is_formula": false,
"main_topic": false,
"hidden": false,
"sub_device_key": null
},
{
"topic": "N/{installation_id}/battery/{device_id}/Io/AllowToDischarge",
"message_type": "MetricKind.BINARY_SENSOR",
"short_id": "battery_allow_to_discharge",
"name": "Allow to discharge",
"unit_of_measurement": null,
"metric_type": "MetricType.ENUM",
"metric_nature": "MetricNature.NONE",
"value_type": "ValueType.ENUM",
"precision": null,
"enum": "GenericOnOff",
"min_max_range": "RangeType.STATIC",
"min": null,
"max": null,
"step": null,
"is_adjustable_suffix": null,
"output_type": null,
"labels": null,
"key_values": {},
"experimental": false,
"depends_on": [],
"generic_name": "Allow to discharge",
"is_formula": false,
"main_topic": false,
"hidden": false,
"sub_device_key": null
},
{
"topic": "N/{installation_id}/battery/{device_id}/Soc",
"message_type": "MetricKind.SENSOR",
Expand Down
Loading