A little help needed on input_select and button cards #775
jlucas090866
started this conversation in
General
Replies: 1 comment
-
try to create the yaml inside developer tool |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Newbie on the block - I've created via the helper input_select.housemode with options of Home, Away, Vacation & Night.
I've created a grid card with 4 custom buttons:
However I'm getting the following error when selecting a button "Failed to call service inout_select/select_option. Invalid option: Night (possible options: Home)"
My error log shows:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/input_select/init.py:304
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:09:55 (10 occurrences)
Last logged: 11:29:51
[548210288192] Invalid option: Home (possible options: Night)
[547764661312] Invalid option: Home (possible options: Night)
[547764661312] Invalid option: Night (possible options: Home)
[547764661312] Invalid option: Away (possible options: Home)
[547764661312] Invalid option: Vacation (possible options: Home)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 227, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1969, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2006, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/input_select/init.py", line 304, in async_select_option
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Invalid option: Home (possible options: Night)
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions