Problem Description
Home Assistant keeps printing deprecation frame warnings. The custom integration aqara_gateway passes an integer (int) value to the sw_version parameter when registering devices. Starting with Home Assistant 2026.12.0, this behavior will break the integration entirely.
Affected files & entities:
binary_sensor.py line 74: GatewayLockLockState
binary_sensor.py line 76: GatewayLockLatchState
binary_sensor.py line 78: GatewayBinarySensor
sensor.py line 76: GatewayKeyIDSensor
sensor.py line 78: GatewayLockEventSensor
System Info
Installation Type: Home Assistant OS
Core Version: 2026.6.2
Supervisor Version: 2026.06.1
Operating System: HAOS 17.3
Frontend Version: 20260527.5
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/binary_sensor.py, line 74: async_add_entities([GatewayLockLockState(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/binary_sensor.py, line 76: async_add_entities([GatewayLockLatchState(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/binary_sensor.py, line 78: async_add_entities([GatewayBinarySensor(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/sensor.py, line 76: async_add_entities([GatewayKeyIDSensor(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/sensor.py, line 78: async_add_entities([GatewayLockEventSensor(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Problem Description
Home Assistant keeps printing deprecation frame warnings. The custom integration aqara_gateway passes an integer (int) value to the sw_version parameter when registering devices. Starting with Home Assistant 2026.12.0, this behavior will break the integration entirely.
Affected files & entities:
binary_sensor.py line 74: GatewayLockLockState
binary_sensor.py line 76: GatewayLockLatchState
binary_sensor.py line 78: GatewayBinarySensor
sensor.py line 76: GatewayKeyIDSensor
sensor.py line 78: GatewayLockEventSensor
System Info
Installation Type: Home Assistant OS
Core Version: 2026.6.2
Supervisor Version: 2026.06.1
Operating System: HAOS 17.3
Frontend Version: 20260527.5
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/binary_sensor.py, line 74: async_add_entities([GatewayLockLockState(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/binary_sensor.py, line 76: async_add_entities([GatewayLockLatchState(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/binary_sensor.py, line 78: async_add_entities([GatewayBinarySensor(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/sensor.py, line 76: async_add_entities([GatewayKeyIDSensor(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues
Detected that custom integration 'aqara_gateway' passes a non-string value of type int as sw_version to the device registry at custom_components/aqara_gateway/sensor.py, line 78: async_add_entities([GatewayLockEventSensor(gateway, device, attr)]). This will stop working in Home Assistant 2026.12.0, please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues