mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-26 18:56:31 +00:00
Remove duplicate
This commit is contained in:
parent
7c067a3cad
commit
4eff108dc7
@ -167,8 +167,6 @@ const val DEFAULT_USER_ID = "guest"
|
|||||||
|
|
||||||
#### Using companion objects
|
#### Using companion objects
|
||||||
|
|
||||||
Use companion object only when constants or utility functions need to be exposed externally. This provides a clear namespace and avoids naming collisions.
|
|
||||||
|
|
||||||
When to use companion objects:
|
When to use companion objects:
|
||||||
|
|
||||||
- **Namespacing for external use**: When constants or utility functions must be accessed externally (e.g., public or internal).
|
- **Namespacing for external use**: When constants or utility functions must be accessed externally (e.g., public or internal).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user