Traceback (most recent call last):


 "pypdf2_repro.py", line 4, in <module>

pdf = PyPDF2.Pdf
Reader(sys.argv[1], strict=False, warndest=None,


 "/home/user/.local/lib/python3.8/site-packages/PyPDF2/pdf.py", line 1084, in __init__

self.read(stream)


 "/home/user/.local/lib/python3.8/site-packages/PyPDF2/pdf.py", line 1708, in read

startxref = int(line[9:].strip())
ValueError: invalid literal for int() with base 10: b''

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 408, in _async_add_entity

await entity.async_update_ha_state()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 286, in async_update_ha_state

self._async_write_ha_state()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 328, in _async_write_ha_state

attr.update(self.device_state_attributes or {})


 "/usr/src/homeassistant/homeassistant/components/dyson/fan.py", line 577, in device_state_attributes

ATTR_CARBON_FILTER: self.carbon_filter,


 "/usr/src/homeassistant/homeassistant/components/dyson/fan.py", line 533, in carbon_filter

return int(self._device.state.carbon_filter_state)
ValueError: invalid literal for int() with base 10: 'INV'
