Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Cutting Edge does not work #662

Open
ascha191 opened this issue Jul 16, 2024 · 8 comments
Open

Start Cutting Edge does not work #662

ascha191 opened this issue Jul 16, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@ascha191
Copy link

Describe the issue

With my worx vision m600 the start cutting edge function does not work.
The rest (start, home, party mode, …) works well.
Any idea what i m doing wrong or how i can provide additional debug information?

What version of Home Assistant Core has the issue?

2024.6.4

What was the last working version of Home Assistant Core?

No response

What version of the Landroid Cloud integration do you have installed

5.0.5

What type of installation are you running?

Home Assistant OS

Which make and model is the mower used for this integration?

WR206E

Diagnostics information (NOT log entries!)

none

Relevant log entries

None

Additional information

No response

@ascha191 ascha191 added the bug Something isn't working label Jul 16, 2024
@as63517
Copy link

as63517 commented Jul 24, 2024

Same here :(

HA 2024.7.3
LC 5.0.5
Landroid WR213E FW1.2.30+3 - 3.34.0+3

@Barma-lej
Copy link
Contributor

Barma-lej commented Oct 9, 2024

Hi, guys. As a temporary fix.
Change button.py lines 52-57:
from

        for button in BUTTONS:
            if api.features & button.required_feature:
                logger.log(LoggerType.FEATURE, "Adding %s button", button.key)
                entity = LandroidButton(hass, button, api, config)

                entities.append(entity)

to

        for button in BUTTONS:
            # if api.features & button.required_feature:
            #     logger.log(LoggerType.FEATURE, "Adding %s button", button.key)
            entity = LandroidButton(hass, button, api, config)

            entities.append(entity)

It's works for my WR141E

@ascha191
Copy link
Author

thanks for the advice. but it didn't work for me

@Barma-lej
Copy link
Contributor

Did you do everything as written? All indents should be like this:

- 8 spaces - for button in BUTTONS:
- 12 spaces - # if api.features & button.required_feature:
- 12 spaces - #     logger.log(LoggerType.FEATURE, "Adding %s button", button.key)
- 12 spaces - entity = LandroidButton(hass, button, api, config)

- 12 spaces - entities.append(entity)

@ascha191
Copy link
Author

yes. exactly the same. do i only have to save the file and restart home assistant or compile something, ...?

@Barma-lej
Copy link
Contributor

yes, after editing and saving you have to restart home assistant

@ascha191
Copy link
Author

the mower does not start. can i provide any debug information?

@Barma-lej
Copy link
Contributor

Barma-lej commented Oct 31, 2024

Temporary fix.
Change button.py lines 52-57:
from

        for button in BUTTONS:
            if api.features & button.required_feature:
                logger.log(LoggerType.FEATURE, "Adding %s button", button.key)
                entity = LandroidButton(hass, button, api, config)

                entities.append(entity)

to

        for button in BUTTONS:
            # if api.features & button.required_feature:
            #     logger.log(LoggerType.FEATURE, "Adding %s button", button.key)
            entity = LandroidButton(hass, button, api, config)

            entities.append(entity)

Change api.py lines 126-128:
from

        if self.has_feature(DeviceCapability.EDGE_CUT):
            self.logger.log(LoggerType.FEATURE_ASSESSMENT, "Edge Cut capable")
            features = features | LandroidFeatureSupport.EDGECUT

to

        # if self.has_feature(DeviceCapability.EDGE_CUT):
        #     self.logger.log(LoggerType.FEATURE_ASSESSMENT, "Edge Cut capable")
        features = features | LandroidFeatureSupport.EDGECUT

Or copy these two files from landroid cloud fork branch my to your config/custom_components/landroid_cloud/

It's works for my WR141E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants