pytradfri breaking changes
pytradfri 15.0.0 (November 11, 2026) is its newest release with breaking changes, 37 of them. The first: Removed pytradfri.smart_task.ATTR_GATEWAY_INFO. Every breaking API change we have recorded in pytradfri on PyPI: 37 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 15.0.0, released November 11, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
pytradfri 15.0.0 breaking changes
- Removed
pytradfri.smart_task.ATTR_GATEWAY_INFO
pytradfri.smart_task.ATTR_GATEWAY_INFO was removed in pytradfri 15.0.0 pypi.org - Removed
pytradfri.smart_task.GatewayInfo
pytradfri.smart_task.GatewayInfo was removed in pytradfri 15.0.0 pypi.org - Removed
pytradfri.smart_task.ROOT_GATEWAY
pytradfri.smart_task.ROOT_GATEWAY was removed in pytradfri 15.0.0 pypi.org - Behavior changed
The release lists a breaking change fixing id typing, so code relying on the previous id types may need updating. github.com - Behavior changed
The release lists a breaking change allowing device controls to report no values, so code that assumes a value is always present may need to handle None. github.com - Signature changed
pytradfri.color.LightResponse.state
Was state: int; now state: int | None. pypi.org - Signature changed
pytradfri.device.air_purifier_control.AirPurifier.air_quality
Was air_quality: int; now air_quality: int | None. pypi.org - Signature changed
pytradfri.device.air_purifier_control.AirPurifier.fan_speed
Was fan_speed: int; now fan_speed: int | None. pypi.org - Signature changed
pytradfri.device.air_purifier_control.AirPurifier.filter_lifetime_remaining
Was filter_lifetime_remaining: int; now filter_lifetime_remaining: int | None. pypi.org - Signature changed
pytradfri.device.air_purifier_control.AirPurifier.filter_lifetime_total
Was filter_lifetime_total: int; now filter_lifetime_total: int | None. pypi.org - Signature changed
pytradfri.device.air_purifier_control.AirPurifier.filter_runtime
Was filter_runtime: int; now filter_runtime: int | None. pypi.org - Signature changed
pytradfri.device.air_purifier_control.AirPurifier.motor_runtime_total
Was motor_runtime_total: int; now motor_runtime_total: int | None. pypi.org - Signature changed
pytradfri.device.air_purifier_control.AirPurifier.state
Was state: bool; now state: bool | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.air_quality
Was air_quality: int; now air_quality: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.controls_locked
Was controls_locked: int; now controls_locked: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.fan_speed
Was fan_speed: int; now fan_speed: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.filter_lifetime_remaining
Was filter_lifetime_remaining: int; now filter_lifetime_remaining: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.filter_lifetime_total
Was filter_lifetime_total: int; now filter_lifetime_total: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.filter_runtime
Was filter_runtime: int; now filter_runtime: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.filter_status
Was filter_status: int; now filter_status: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.leds_off
Was leds_off: int; now leds_off: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.mode
Was mode: int; now mode: int | None. pypi.org - Signature changed
pytradfri.device.AirPurifierResponse.motor_runtime_total
Was motor_runtime_total: int; now motor_runtime_total: int | None. pypi.org - Signature changed
pytradfri.device.blind_control.Blind.current_cover_position
Was current_cover_position: int; now current_cover_position: int | None. pypi.org - Signature changed
pytradfri.device.BlindResponse.current_cover_position
Was current_cover_position: int; now current_cover_position: int | None. pypi.org - Signature changed
pytradfri.device.light_control.Light.state
Was state: bool; now state: bool | None. pypi.org - Signature changed
pytradfri.device.socket_control.Socket.state
Was state: bool; now state: bool | None. pypi.org - Signature changed
pytradfri.device.SocketResponse.state
Was state: int; now state: int | None. pypi.org - Signature changed
pytradfri.Gateway.get_device
Was @classmethod def get_device(cls, device_id: str) -> Command[Device]; now @classmethod def get_device(cls, device_id: int) -> Command[Device]. pypi.org - Signature changed
pytradfri.Gateway.get_group
Was def get_group(self, group_id: str) -> Command[Group]; now def get_group(self, group_id: int) -> Command[Group]. pypi.org - Signature changed
pytradfri.Gateway.get_mood
Was @classmethod def get_mood(cls, mood_id: str, *, mood_parent: int) -> Command[Mood]; now @classmethod def get_mood(cls, mood_id: int, *, mood_parent: int) -> Command[Mood]. pypi.org - Signature changed
pytradfri.Gateway.get_smart_task
Was def get_smart_task(self, task_id: str) -> Command[SmartTask]; now def get_smart_task(self, task_id: int) -> Command[SmartTask]. pypi.org - Signature changed
pytradfri.gateway.Group.activate_mood
Was def activate_mood(self, mood_id: str) -> Command[None]; now def activate_mood(self, mood_id: int) -> Command[None]. pypi.org - Signature changed
pytradfri.gateway.Group.add_member
Was def add_member(self, memberid: str) -> Command[None]; now def add_member(self, memberid: int) -> Command[None]. pypi.org - Signature changed
pytradfri.gateway.Group.mood_id
Was mood_id: str; now mood_id: int. pypi.org - Signature changed
pytradfri.gateway.Group.remove_member
Was def remove_member(self, memberid: str) -> Command[None]; now def remove_member(self, memberid: int) -> Command[None]. pypi.org - Signature changed
pytradfri.group.GroupResponse.mood_id
Was mood_id: str; now mood_id: int. pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.