Odrivetool enable_sensorless_mode not found

I have a new odrive 3,6 with 0.5.3 software

Sorry, my mistake. I had firmware 0.5.1 installed.
Updating resolved the problem
I pip install odrive according to the docs.

Evereything I have tested works, exept entering sensorless mode.

When typing odrv0.axis0.config.enable_sensorless_mode = 1

I always get the error

Attribute enable_sensorless_mode not found

older guides says to set AXIS_STATE_SENSORLESS_CONTROL, but AXIS_STATE_SENSORLESS_CONTROL is not present in the enums.py file

This should be number 5 in # ODrive.Axis.AxisState