Rpi_power: Error on device update!


Logger: homeassistant.components.binary_sensor
Source: components/rpi_power/binary_sensor.py:42
Integration: Sensore binario (documentation, issues)
First occurred: 16:37:03 (1 occurrences)
Last logged: 16:37:03
rpi_power: Error on device update!

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 359, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 466, in async_device_update
await task
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/rpi_power/binary_sensor.py”, line 42, in update
self._is_on = self._under_voltage.get()
AttributeError: ‘NoneType’ object has no attribute ‘get’

Is that a question or did you just save your logs for later use?

Is that a question. It gives me this error on my nuc.

Thank you

Disable RPI Power, your NUC is not an Raspberry Pi

1 Like

thank you, I didn’t notice

1 Like

Why do you have a rpi_power sensor on a NUC?

That is not valid. It is specific to the raspberry pi hardware only. Delete the sensor.

1 Like

thank you, thanks for the reply

1 Like