[ { "id": "Hide Rx Stereo UI Menu When Off", "automation": "- alias: Hide Rx Stereo UI Menu When Off\n description: 'Hide the menu in the Rx Stereo UI when the Player is turned off. '\n mode: single\n triggers:\n - device_id: f9350a01f600932bd7f8f40e95220c36\n domain: media_player\n entity_id: 40068f377f5381daf9435ed504a4d184\n type: turned_off\n trigger: device\n conditions: []\n actions:\n - metadata: {}\n data: {}\n target:\n entity_id: input_boolean.rx_stereo_menu\n action: input_boolean.turn_off\n - target:\n entity_id: input_boolean.rx_stereo_volume\n data: {}\n action: input_boolean.turn_off", "config": [ { "name": "rx stereo player", "room": "living_room", "type": "media_player", "id": { "entity_id": "40068f377f5381daf9435ed504a4d184", "device_id": "f9350a01f600932bd7f8f40e95220c36" } }, { "name": "rx stereo menu toggle", "room": "living_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.rx_stereo_menu", "device_id": null } }, { "name": "rx stereo volume toggle", "room": "living_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.rx_stereo_volume", "device_id": null } } ] }, { "id": "'Reset MASS UI Menu List '", "automation": "- alias: 'Reset MASS UI Menu List '\n description: 'Set input_select.rx_stereo_menu_list to \"Search\" when the UI menu\n is closed. '\n mode: single\n triggers:\n - entity_id:\n - input_boolean.rx_stereo_menu\n trigger: state\n conditions: []\n actions:\n - if:\n - condition: state\n entity_id: input_boolean.rx_stereo_menu\n state: 'on'\n then:\n - metadata: {}\n data:\n option: Search\n target:\n entity_id: input_select.rx_stereo_menu_list\n action: input_select.select_option\n - if:\n - condition: state\n entity_id: input_boolean.rx_stereo_menu\n state: 'off'\n then:\n - metadata: {}\n data:\n option: CoverArt\n target:\n entity_id: input_select.rx_stereo_menu_list\n action: input_select.select_option", "config": [ { "name": "rx stereo menu toggle", "room": "living_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.rx_stereo_menu", "device_id": null } }, { "name": "rx stereo menu list", "room": "living_room", "type": "input_select", "id": { "entity_id": "input_select.rx_stereo_menu_list", "device_id": null } } ] } ]