From 7ac2c61f2431c54541d2d84772755290f5e65486 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Fri, 18 Aug 2023 11:02:30 +0200 Subject: [PATCH] Fix copy-paste error in comments of number tests (#98615) --- tests/components/number/test_init.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/components/number/test_init.py b/tests/components/number/test_init.py index 37c0b175faa..d77a67e4ada 100644 --- a/tests/components/number/test_init.py +++ b/tests/components/number/test_init.py @@ -818,22 +818,22 @@ async def test_name(hass: HomeAssistant) -> None: ), ) - # Unnamed sensor without device class -> no name + # Unnamed number without device class -> no name entity1 = NumberEntity() entity1.entity_id = "number.test1" - # Unnamed sensor with device class but has_entity_name False -> no name + # Unnamed number with device class but has_entity_name False -> no name entity2 = NumberEntity() entity2.entity_id = "number.test2" entity2._attr_device_class = NumberDeviceClass.TEMPERATURE - # Unnamed sensor with device class and has_entity_name True -> named + # Unnamed number with device class and has_entity_name True -> named entity3 = NumberEntity() entity3.entity_id = "number.test3" entity3._attr_device_class = NumberDeviceClass.TEMPERATURE entity3._attr_has_entity_name = True - # Unnamed sensor with device class and has_entity_name True -> named + # Unnamed number with device class and has_entity_name True -> named entity4 = NumberEntity() entity4.entity_id = "number.test4" entity4.entity_description = NumberEntityDescription(