From b4a5abce16a52b44626dcafd2b992916445d705e Mon Sep 17 00:00:00 2001 From: Robert Hillis Date: Wed, 8 Jun 2022 14:15:07 -0400 Subject: [PATCH] Clean up phone modem (#73181) --- homeassistant/components/modem_callerid/sensor.py | 4 ---- homeassistant/components/modem_callerid/services.yaml | 7 ------- 2 files changed, 11 deletions(-) delete mode 100644 homeassistant/components/modem_callerid/services.yaml diff --git a/homeassistant/components/modem_callerid/sensor.py b/homeassistant/components/modem_callerid/sensor.py index e50eabb17aa..4f84abd4533 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -1,8 +1,6 @@ """A sensor for incoming calls using a USB modem that supports caller ID.""" from __future__ import annotations -import logging - from phone_modem import PhoneModem from homeassistant.components.sensor import SensorEntity @@ -13,8 +11,6 @@ from homeassistant.helpers import entity_platform from .const import CID, DATA_KEY_API, DOMAIN, ICON -_LOGGER = logging.getLogger(__name__) - async def async_setup_entry( hass: HomeAssistant, diff --git a/homeassistant/components/modem_callerid/services.yaml b/homeassistant/components/modem_callerid/services.yaml deleted file mode 100644 index 7ec8aaf3f94..00000000000 --- a/homeassistant/components/modem_callerid/services.yaml +++ /dev/null @@ -1,7 +0,0 @@ -reject_call: - name: Reject Call - description: Reject incoming call. - target: - entity: - integration: modem_callerid - domain: sensor