From 1565561c03e9fda4eab0cf437a73084c23b9fc78 Mon Sep 17 00:00:00 2001 From: Tsvi Mostovicz Date: Mon, 27 May 2024 12:47:08 +0300 Subject: [PATCH] Remove platform sensor from Jewish Calendar binary sensor (#118231) --- .../components/jewish_calendar/binary_sensor.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/homeassistant/components/jewish_calendar/binary_sensor.py b/homeassistant/components/jewish_calendar/binary_sensor.py index 8516b907749..430a981fb6e 100644 --- a/homeassistant/components/jewish_calendar/binary_sensor.py +++ b/homeassistant/components/jewish_calendar/binary_sensor.py @@ -19,7 +19,6 @@ from homeassistant.config_entries import ConfigEntry from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback from homeassistant.helpers import event from homeassistant.helpers.entity_platform import AddEntitiesCallback -from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType import homeassistant.util.dt as dt_util from .const import DEFAULT_NAME, DOMAIN @@ -59,20 +58,6 @@ BINARY_SENSORS: tuple[JewishCalendarBinarySensorEntityDescription, ...] = ( ) -async def async_setup_platform( - hass: HomeAssistant, - config: ConfigType, - async_add_entities: AddEntitiesCallback, - discovery_info: DiscoveryInfoType | None = None, -) -> None: - """Set up the Jewish calendar binary sensors from YAML. - - The YAML platform config is automatically - imported to a config entry, this method can be removed - when YAML support is removed. - """ - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry,