After upgrading to Home Assistant 2026.5, there is something fishy going on with my RFXCOM RFXtrx integration - fails to connect on startup. The device is correctly recognized by the OS (/dev/ttyUSB0, driver ftdi_sio loaded), and the integration config entry is intact, but the connection crashes with a TypeError in pyserial.
What version of Home Assistant Core has the issue? 2026.5.0
What was the last working version? 2026.4.x
Operating environment Home Assistant OS on Raspberry Pi 5
Integration RFXCOM RFXtrx (rfxtrx)
Hardware RFXtrx433XL, connected via USB (/dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO2VYWJ8-if00-port0)
Traceback
_ _ _ _ _
| | | | /\ (_) | | | |
| |__| | ___ _ __ ___ ___ / \ ___ ___ _ ___| |_ __ _ _ __ | |_
| __ |/ _ \| '_ ` _ \ / _ \ / /\ \ / __/ __| / __| __/ _` | '_ \| __|
| | | | (_) | | | | | | __/ / ____ \\__ \__ \ \__ \ || (_| | | | | |_
|_| |_|\___/|_| |_| |_|\___| /_/ \_\___/___/_|___/\__\__,_|_| |_|\__|
Our command line:
$ ha help
zsh: corrupt history file /root/.zsh_history
โ /config ha core logs 2>&1 | grep -i rfx -A 3 -B 3 | tail -60
File "/usr/local/lib/python3.14/threading.py", line 1024, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 1046, in _connect
self._connect_internal()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 1074, in _connect_internal
event = self.transport.receive_blocking()
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 807, in __errors
return func(instance, *args, **kargs)
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 845, in receive_blocking
return self._receive_packet()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 849, in _receive_packet
data = self.serial.read()
File "/usr/local/lib/python3.14/site-packages/serial/serialposix.py", line 575, in read
buf = os.read(self.fd, size - len(read))
โ /config ha core logs 2>&1 | grep -i rfx -A 10 | tail -80
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 1046, in _connect
self._connect_internal()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 1074, in _connect_internal
event = self.transport.receive_blocking()
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 807, in __errors
return func(instance, *args, **kargs)
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 845, in receive_blocking
return self._receive_packet()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/RFXtrx/__init__.py", line 849, in _receive_packet
data = self.serial.read()
File "/usr/local/lib/python3.14/site-packages/serial/serialposix.py", line 575, in read
buf = os.read(self.fd, size - len(read))
TypeError: 'NoneType' object cannot be interpreted as an integer


