You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration file should be something like INI as it provides comments and has clearly identified sections with no worries of indentation requirements like YAML. Definitely don't use JSON as that isn't very human friendly to edit. For example:
[plug]address = 192.168.0.5
port = 9999
[metrics]path = "/"
The configuration file should be self-documenting too, including plenty of comments and a link at the beginning to any online documentation (GitHub Wiki?).
The text was updated successfully, but these errors were encountered:
The configuration should be extended to file and environment variables to conform to most scenarios, using the following order of precedence:
--address <string>
)KASA_SMART_PLUG_ADDRESS=<string>
)address = "<string>"
)The configuration file should be something like INI as it provides comments and has clearly identified sections with no worries of indentation requirements like YAML. Definitely don't use JSON as that isn't very human friendly to edit. For example:
The configuration file should be self-documenting too, including plenty of comments and a link at the beginning to any online documentation (GitHub Wiki?).
The text was updated successfully, but these errors were encountered: