home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.33k stars 30.27k forks source link

Input Booleans no longer in Alexa #61731

Closed nunosousa76 closed 2 years ago

nunosousa76 commented 2 years ago

The problem

Input Booleans no longer in Alexa. They still show up, but now are listed as device "other" rather than switch When turning on or off an input boolean with voice, its says that the skill "is not enabled, please enable skill to control this device"

This worked fine in 2021.11

What version of Home Assistant Core has the issue?

2021.12

What was the last working version of Home Assistant Core?

2021.11

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Amazon Alexa

Link to integration documentation on our website

https://www.home-assistant.io/integrations/alexa/

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

alexa documentation alexa source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @home-assistant/cloud, @ochlocracy, mind taking a look at this issue as it has been labeled with an integration (alexa) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

emontnemery commented 2 years ago

There are no recent changes in the Alexa integration that immediately explain this: https://github.com/home-assistant/core/commits/dev/homeassistant/components/alexa

Just to make sure this is a change in Home Assistant and not Alexa, can you confirm the input booleans start working again if you downgrade Home Assistant to 2021.11?

cogneato commented 2 years ago

I've added an input_boolean through the helper page in core version 2021.12.1 and can control it with Alexa as expected.

input bool alexa

input_bool history

nunosousa76 commented 2 years ago

DId some further testing and it seems that some imput_booleans work. The ones that are not working have proper names (ie xbox, Nintendo Switch, Kodi, etc) generic names(ie rain, entertainment seem to working fine. Let me do some additional testing to see if I can pinpoint issue. This started to happen after upgrade to 2021.12 so my guess there is something there. Woudl you be able to test the same test and call it Kodi.

nunosousa76 commented 2 years ago

also not sure if it makes a difference, I am using the custom skill not Home assistant cloud.

cogneato commented 2 years ago

Ah, I am using Nabu Casa cloud, but this should be using a shared integration for Alexa.

I changed the friendly name of the input_boolean.test_toggle to "kodi" and it still works through Alexa. I created a new input_boolean.xbox and left the friendly name blank, this work too.

nunosousa76 commented 2 years ago

Well. figured out the issue. I had scenes created by the harmony skill with the same name that I had created about 5 years ago. I no longer use the harmony so I decided to delete the skill this weekend, but did not delete their assocaited devices and scenes. Once I manually deleted the Scene with the same name from Alexa, the input Booleans started to work. I apologize for the false alarm.

Nuno