IKEA Trådfri integration started fail

After reboot of homeassistant my IKEA Trådfri integration suddenly started failing.

It may be related to an update on my controller but im not sure. Im using first gen controller/hub.

Currently running these versions:

Home Assistant 2023.5.2
Supervisor 2023.06.1
Operating System 10.1
Frontend 20230503.3 - latest

Log Details (ERROR)
Logger: homeassistant.components.switch
Source: components/tradfri/base_class.py:82
Integration: Switch (documentation, issues)
First occurred: 13:27:53 (12 occurrences)
Last logged: 13:41:09

Error adding entities for domain switch with platform tradfri
Error while setting up tradfri platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 471, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 579, in _async_add_entity
    device_info = entity.device_info
                  ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/tradfri/base_class.py", line 82, in device_info
    sw_version=info.firmware_version,
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pytradfri/device/__init__.py", line 177, in firmware_version
    return self.raw[ATTR_DEVICE_FIRMWARE_VERSION]
           ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '3'

Some more logs:

Logger: pytradfri.api.aiocoap_api
Source: components/tradfri/__init__.py:127
First occurred: 19:13:37 (1 occurrences)
Last logged: 19:13:37

Protocol is shutdown, cancelling command: 192.168.1.164 <Command get ['15011', '15012']>

TRÅDFRI Gateway uses version 1.20.65 which seems to be relased recently:
https://ww8.ikea.com/ikeahomesmart/releasenotes/releasenotes.html

Problem solved.

Restarted tradfri gateway then homeassistant (again).