Improve string formatting v6 (#33698)
This commit is contained in:
1 parent
d7e3b0b755
commit
eae21be5b9
43 files changed
+81
-87
No files matched your search
@@ -285,7 +285,7 @@ class TestComponentsGroup(unittest.TestCase):
|
||||
|
||||
group_conf = OrderedDict()
|
||||
group_conf["second_group"] = {
|
||||
"entities": "light.Bowl, " + test_group.entity_id,
|
||||
"entities": f"light.Bowl, {test_group.entity_id}",
|
||||
"icon": "mdi:work",
|
||||
}
|
||||
group_conf["test_group"] = "hello.world,sensor.happy"
|
||||
|
||||
Reference in new issue
Block a user