mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 11:23:19 +00:00
[core] Update stale get_object_id() docstring reference in test
This commit is contained in:
@@ -175,7 +175,7 @@ def test_name_add_mac_suffix_behavior() -> None:
|
||||
"""Test behavior related to name_add_mac_suffix.
|
||||
|
||||
In C++, when name_add_mac_suffix is enabled and entity has no name,
|
||||
get_object_id() returns str_sanitize(str_snake_case(App.get_friendly_name()))
|
||||
write_object_id_to() returns str_sanitize(str_snake_case(App.get_friendly_name()))
|
||||
dynamically. Our function always returns the same result since we're
|
||||
calculating the base for duplicate tracking.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user