mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Scene: add support for input_select (#4674)
This adds support for the scene component to handle input_select devices and set their options. This fixes bug #4673 Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
This commit is contained in:
committed by
Martin Hjelmare
parent
82ad8b0a8f
commit
d0dcd1bb73
@@ -278,6 +278,8 @@ ATTR_GPS_ACCURACY = 'gps_accuracy'
|
||||
ATTR_ASSUMED_STATE = 'assumed_state'
|
||||
ATTR_STATE = 'state'
|
||||
|
||||
ATTR_OPTION = 'option'
|
||||
|
||||
# #### SERVICES ####
|
||||
SERVICE_HOMEASSISTANT_STOP = 'stop'
|
||||
SERVICE_HOMEASSISTANT_RESTART = 'restart'
|
||||
@@ -318,6 +320,8 @@ SERVICE_SET_COVER_TILT_POSITION = 'set_cover_tilt_position'
|
||||
SERVICE_STOP_COVER = 'stop_cover'
|
||||
SERVICE_STOP_COVER_TILT = 'stop_cover_tilt'
|
||||
|
||||
SERVICE_SELECT_OPTION = 'select_option'
|
||||
|
||||
# #### API / REMOTE ####
|
||||
SERVER_PORT = 8123
|
||||
|
||||
|
||||
Reference in New Issue
Block a user