mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Set has_entity_name to true
This commit is contained in:
@@ -85,6 +85,8 @@ class JewishCalendarBinarySensor(BinarySensorEntity):
|
|||||||
|
|
||||||
_attr_should_poll = False
|
_attr_should_poll = False
|
||||||
_attr_entity_category = EntityCategory.DIAGNOSTIC
|
_attr_entity_category = EntityCategory.DIAGNOSTIC
|
||||||
|
_attr_has_entity_name = True
|
||||||
|
|
||||||
entity_description: JewishCalendarBinarySensorEntityDescription
|
entity_description: JewishCalendarBinarySensorEntityDescription
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
@@ -200,6 +200,7 @@ class JewishCalendarSensor(SensorEntity):
|
|||||||
"""Representation of an Jewish calendar sensor."""
|
"""Representation of an Jewish calendar sensor."""
|
||||||
|
|
||||||
_attr_entity_category = EntityCategory.DIAGNOSTIC
|
_attr_entity_category = EntityCategory.DIAGNOSTIC
|
||||||
|
_attr_has_entity_name = True
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Reference in New Issue
Block a user