From ed812b5ee43671af47787e1ecf906e2e516c0000 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 26 Sep 2022 19:22:07 +0200 Subject: [PATCH] Remove unused alexa code (#79100) --- homeassistant/components/alexa/entities.py | 6 ------ homeassistant/components/alexa/errors.py | 4 ---- 2 files changed, 10 deletions(-) diff --git a/homeassistant/components/alexa/entities.py b/homeassistant/components/alexa/entities.py index 8319e146d9f..e002969952a 100644 --- a/homeassistant/components/alexa/entities.py +++ b/homeassistant/components/alexa/entities.py @@ -300,12 +300,6 @@ class AlexaEntity: """ raise NotImplementedError - def get_interface(self, capability) -> AlexaCapability: - """Return the given AlexaInterface. - - Raises _UnsupportedInterface. - """ - def interfaces(self) -> list[AlexaCapability]: """Return a list of supported interfaces. diff --git a/homeassistant/components/alexa/errors.py b/homeassistant/components/alexa/errors.py index 0ce00f1fe48..5f0de6f7467 100644 --- a/homeassistant/components/alexa/errors.py +++ b/homeassistant/components/alexa/errors.py @@ -8,10 +8,6 @@ from homeassistant.exceptions import HomeAssistantError from .const import API_TEMP_UNITS -class UnsupportedInterface(HomeAssistantError): - """This entity does not support the requested Smart Home API interface.""" - - class UnsupportedProperty(HomeAssistantError): """This entity does not support the requested Smart Home API property."""