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

Invert sense of GOVEE_LAN_NO_MULTICAST environment variable #243

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

sampsyo
Copy link
Contributor

@sampsyo sampsyo commented Jul 20, 2024

The docs say that GOVEE_LAN_NO_MULTICAST=true should disable multicast discovery:
https://github.com/wez/govee2mqtt/blob/main/docs/CONFIG.md#lan-api-control

However, because the sense of the environment variable was not inverted, you actually had to do GOVEE_LAN_NO_MULTICAST=false to get this effect.

(If you're curious, the reason I wanted this was because I have no LAN-capable devices anyway, and this is one way to bypass the time spent on scanning for LAN devices.)

The docs say that `GOVEE_LAN_NO_MULTICAST=true` should *disable*
multicast discovery. This requires inverting the sense of the
environment variable.
@wez wez merged commit 961b32e into wez:main Jul 21, 2024
6 checks passed
@wez
Copy link
Owner

wez commented Jul 21, 2024

Ah, good catch, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants