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

[Bug]: Availability is active even when it is turned off #2339

Closed
leroyloren opened this issue Dec 26, 2024 · 4 comments · Fixed by #2343
Closed

[Bug]: Availability is active even when it is turned off #2339

leroyloren opened this issue Dec 26, 2024 · 4 comments · Fixed by #2343
Labels
bug Something isn't working

Comments

@leroyloren
Copy link

What happened?

I am using the latest development branch (2.0.0) and I am not using availability, which is disabled by default, but the column is still displayed in the frontend.

obrazek

)dhtt

What browsers are you seeing the problem on?

Chrome

Relevant stacktrace

No response

Did you download state.json.zip?

I will not attach state.json.zip

@leroyloren leroyloren added the bug Something isn't working label Dec 26, 2024
@Nerivec
Copy link
Contributor

Nerivec commented Dec 27, 2024

Looks like a display issue.

@Koenkk seems the change from boolean/object to object with enabled needs to be propagated somewhere in frontend so it doesn't display the column when enabled: false? Might want to check ha/frontend for the same kind of issue since they had the same change.

@Koenkk
Copy link
Collaborator

Koenkk commented Dec 28, 2024

Fixed in #2339, thanks for reporting!

@leroyloren
Copy link
Author

Yes, that's fine, one more thing I noticed is that the Availability function cannot be deactivated via the Frontend, the Enabled field requires a checked.

obrazek

Koenkk added a commit to Koenkk/zigbee2mqtt that referenced this issue Dec 30, 2024
@Koenkk
Copy link
Collaborator

Koenkk commented Dec 30, 2024

Fixed!

Changes will be available in the dev branch in a few hours from now. Note that the dev branch currently contains breaking changes, see Koenkk/zigbee2mqtt#24198

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

Successfully merging a pull request may close this issue.

3 participants