Skip to content

Failed to set up for MAX G2D #3

@bannert1337

Description

@bannert1337

The scooter was automatically detected. But the integration fails to set up.
The log shows this error message:
TypeError: Too few arguments for <class 'homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataProcessor'>; actual 1, expected at least 2

I found a similar issue for another integration with this issue.
A fix was proposed here.

ok i found a solution. edit the sensor.py file and change the line 215 to

PassiveBluetoothDataProcessor[Optional[Union[float, int]], 1]

reload integration and you get data from the bluetooth device. working here with a smartshunt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions