Shelly entities cannot be switched

Good moning,
shelly devices suddenly stop to work. All devices are online and entities are visibile.
The switch button is grey and the status cannot be changed (always OFF)

Do you know what Is the cause of this problem?
HA core 2024.8.1 just updated, but there was the problem also with the old version.

OS

Immagine

Does it work on the web interface? Have you updated to the latest firmware on the Shelly’s?

What does the log say?

Sometimes just an entity reload fixes the hickup when logs dont show something specific


Next try reboot the shelly and check shelly updates.

yes i confirm it’s the last firmware

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup

result = await component.async_setup_entry(hass, self)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/shelly/init.py”, line 100, in async_setup_entry

conf = CONFIG_SCHEMA_ROOT(data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 272, in call

return self._compiled(, data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 595, in validate_dict

return base_validate(path, iteritems(data), out)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 433, in validate_mapping

raise er.MultipleInvalid(errors)

voluptuous.error.MultipleInvalid: extra keys not allowed @ data[‘host’]

2024-08-15 16:24:24.042 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Luce acero for shelly

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup

result = await component.async_setup_entry(hass, self)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/shelly/init.py”, line 100, in async_setup_entry

conf = CONFIG_SCHEMA_ROOT(data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 272, in call

return self._compiled(, data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 595, in validate_dict

return base_validate(path, iteritems(data), out)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 433, in validate_mapping

raise er.MultipleInvalid(errors)

voluptuous.error.MultipleInvalid: extra keys not allowed @ data[‘host’]

2024-08-15 16:24:24.066 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Termostato Mansarda for shelly

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup

result = await component.async_setup_entry(hass, self)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/shelly/init.py”, line 100, in async_setup_entry

conf = CONFIG_SCHEMA_ROOT(data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 272, in call

return self._compiled(, data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 595, in validate_dict

return base_validate(path, iteritems(data), out)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 433, in validate_mapping

raise er.MultipleInvalid(errors)

voluptuous.error.MultipleInvalid: extra keys not allowed @ data[‘host’]

2024-08-15 16:24:24.092 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Battiscopa for shelly

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup

result = await component.async_setup_entry(hass, self)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/shelly/init.py”, line 100, in async_setup_entry

conf = CONFIG_SCHEMA_ROOT(data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 272, in call

return self._compiled(, data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 595, in validate_dict

return base_validate(path, iteritems(data), out)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 433, in validate_mapping

raise er.MultipleInvalid(errors)

voluptuous.error.MultipleInvalid: extra keys not allowed @ data[‘host’]

2024-08-15 16:24:24.116 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Striscia Vetrata for shelly

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup

result = await component.async_setup_entry(hass, self)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/shelly/init.py”, line 100, in async_setup_entry

conf = CONFIG_SCHEMA_ROOT(data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 272, in call

return self._compiled(, data)

^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 595, in validate_dict

return base_validate(path, iteritems(data), out)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py”, line 433, in validate_mapping

raise er.MultipleInvalid(errors)

voluptuous.error.MultipleInvalid: extra keys not allowed @ data[‘host’]

2024-08-15 16:24:24.145 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10

2024-08-15 16:24:24.149 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: shelly

You’re using a custom Shelly integration.

You should open an issue in the integration repository or switch to the core Shelly integration.

1 Like

Hi
I’m newbie. Can you please tell me where I can Find it?
I searched under Settings>Device Settings> Entities, but I don’t find it
Thanks

Initially I used Shelly integration FROM HACS, but 2 months ago was configured with Shelly integration.
Can you please tell me how I can delete Shelly Integration in HACS?
MAny thanks

You need to

  • remove devices from HA
  • delete folder shelly from /config/custom_components
  • restart HA
  • configure devices with HA

To remove devices I tried from Settings > Devices and services >
image
But I don’t know how I can delete them

I’m sorry for all the questions but I’m a newbie

Manz thanks
Best regards

I have only Shelly Smart

Do you know how I can delete the custom Integration, enable Shelly original integration and perfom a new device scan?
manz thanks

Hi! You appear to have installed “Shelly for HASS” by following the manual install method. You need delete each of the Shelly devices and then remove Shelly for HASS by deleting the folder folder shelly in the custom_components folder.

Once that integration has been uninstalled the Shelly devices should auto-discover: