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

Update README.md #703

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Update README.md #703

merged 1 commit into from
Jan 8, 2025

Conversation

djurny
Copy link
Contributor

@djurny djurny commented Jan 8, 2025

Add the adapter: line before the port: definition, as it seems many people indent the adapter: definition incorrectly. Most likely when they edit the settings, the editor auto-indents incorrectly, to a folded port: definition, which misaligns the adapter: setting, e.g.:

serial:
    port: >-
        /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_2646e5732827ee11bd268ac1f49e3369-if00-port0
        adapter: zstack

Putting the adapter: definition at the start, the auto-indenting will not occur (hopefully).
Grt,

Add the `adapter:` line before the `port:` definition, as it seems many people indent the `adapter:` definition incorrectly. Most likely when they edit the settings, the editor auto-indents incorrectly, to a folded `port:` definition, which misaligns the `adapter:` setting, e.g.:
```
serial:
    port: >-
        /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_2646e5732827ee11bd268ac1f49e3369-if00-port0
        adapter: zstack
```
@Koenkk Koenkk merged commit b80679f into zigbee2mqtt:master Jan 8, 2025
1 of 11 checks passed
@Koenkk
Copy link
Contributor

Koenkk commented Jan 8, 2025

Thanks!

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