Shelly lights are exported as "Other" to Alexa and expose internal temperature as room temperature

Description

I believe there is an issue with the Amazon Alexa integration.

I have several Shelly Gen4 relays configured in Homey as Lights. They are also shared with Alexa as Lights using the official Amazon Alexa app.

However, after discovery in Alexa they appear as device type “Other” instead of “Light”.

Additional issue

Shelly Gen4 devices expose their internal electronics temperature (around 45-50°C).

Because of the current export, Alexa also treats this internal temperature as a room temperature sensor.

For example, when I ask:

“Alexa, what’s the temperature in the living room?”

Alexa replies that there are multiple temperatures and includes the Shelly relay temperatures together with the actual room temperature sensor.

The reported Shelly temperatures are not ambient temperatures but the relay’s internal electronics temperature.

Expected behaviour

  • Shelly devices configured as Lights in Homey should appear as Lights in Alexa.
  • Internal relay temperature should not be exposed as an ambient temperature sensor to Alexa.
  • Alexa should only consider actual temperature sensors when answering room temperature queries.

Environment

Homey Pro
Official Amazon Alexa app by Athom
Shelly Gen4 relays
Amazon Alexa

I believe this is an issue in the Homey → Alexa capability mapping.