diff --git a/homeassistant/components/local_calendar/calendar.py b/homeassistant/components/local_calendar/calendar.py index 2a90e3e9e19..213ee37ef37 100644 --- a/homeassistant/components/local_calendar/calendar.py +++ b/homeassistant/components/local_calendar/calendar.py @@ -73,7 +73,7 @@ class LocalCalendarEntity(CalendarEntity): self._store = store self._calendar = calendar self._event: CalendarEvent | None = None - self._attr_name = name.capitalize() + self._attr_name = name self._attr_unique_id = unique_id @property diff --git a/tests/components/local_calendar/conftest.py b/tests/components/local_calendar/conftest.py index 8455fc2f34f..82f69be5fd1 100644 --- a/tests/components/local_calendar/conftest.py +++ b/tests/components/local_calendar/conftest.py @@ -19,7 +19,7 @@ from tests.common import MockConfigEntry from tests.typing import ClientSessionGenerator, WebSocketGenerator CALENDAR_NAME = "Light Schedule" -FRIENDLY_NAME = "Light schedule" +FRIENDLY_NAME = "Light Schedule" STORAGE_KEY = "light_schedule" TEST_ENTITY = "calendar.light_schedule"