Explicitly include Alexa interface for image_processing entities. (#30101)

pull/30103/head
ochlocracy 2019-12-20 14:28:23 -05:00 committed by Paulus Schoutsen
parent 84e1b3d07f
commit 0faca57e8b
2 changed files with 2 additions and 1 deletions

View File

@ -673,3 +673,4 @@ class ImageProcessingCapabilities(AlexaEntity):
"""Yield the supported interfaces."""
yield AlexaEventDetectionSensor(self.hass, self.entity)
yield AlexaEndpointHealth(self.hass, self.entity)
yield Alexa(self.hass)

View File

@ -2524,7 +2524,7 @@ async def test_image_processing(hass):
assert appliance["friendlyName"] == "Test face"
assert_endpoint_capabilities(
appliance, "Alexa.EventDetectionSensor", "Alexa.EndpointHealth"
appliance, "Alexa.EventDetectionSensor", "Alexa.EndpointHealth", "Alexa"
)