@Guff666 wrote:
I’ve just moved from using a Pi 3B to a Pi 4B. Unfortunately, I also upgraded HA to 110.1 at the same time, so I can’t be sure what causes this problem.
The RFXTRX hub is plugged into a USB2 socket (tried it in the USB3 socket with no difference). The config is:
rfxtrx: device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1XETXVE-if00-port0 debug: true
I also have a package that includes the following:
sensor: - platform: rfxtrx automatic_add: true devices: "a520900d30002a61a0279": name: Shack Environment data_type: - Temperature - Humidity
I am seeing the following in the log but cannot see why.
Logger: homeassistant.components.sensor Source: components/rfxtrx/sensor.py:52 Integration: Sensor (documentation, issues) First occurred: 11:22:52 (1 occurrences) Last logged: 11:22:52 Error while setting up rfxtrx platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/rfxtrx/sensor.py", line 52, in setup_platform device_id = "sensor_{}".format(slugify(event.device.id_string.lower())) AttributeError: 'NoneType' object has no attribute 'device'
Posts: 1
Participants: 1