Dear all,
I’m now trying to play ring tone with my xiaomi gateway through service “xiaomi_aqara.play_ringtone” but it return an error “Failed to call service xiaomi_aqara/play_ringtone. ‘xiaomi_aqara’”
I’m able to turn on/off gateway light as normal, can get Xiaomi Gateway Illuminance value. But not ring tone.
Below is the log. I’m quite new to Hass, please give me some advice.
Thank you all in advance.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/xiaomi_aqara/__init__.py:386
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 10:11:39 PM (2 occurrences)
Last logged: 10:11:42 PM
[2910196592] 'xiaomi_aqara'
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1405, in async_call processed_data = handler.schema(service_data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict return base_validate(path, iteritems(data), out) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping cval = cvalue(key_path, value) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable return schema(data) File "/usr/src/homeassistant/homeassistant/components/xiaomi_aqara/__init__.py", line 386, in gateway for gateway in hass.data[DOMAIN][GATEWAYS_KEY].values(): KeyError: 'xiaomi_aqara'