@DrSpaldo wrote:
After hitting my head against the wall I have decided to post Image may be NSFW.
Clik here to view.I would like conditional cards for my Harmony remote. Where it shows controls for that particular activity if the activity is selected and otherwise shows nothing. Unfortunately I am getting ‘no card type configured’. Here is what I have so far:
- type: custom:vertical-stack-in-card cards: - type: picture-glance title: Harmony Downstairs entities: - switch.fetch_tv - switch.shieldtv - switch.bedshieldtv state_image: "PowerOff": /local/img/power_off_red.png "Fetch TV": /local/img/fetch_logo.png "SHIELD TV": /local/img/nvidia_logo.png "Bedroom Shield TV": /local/img/nivida_bedroom_logo.png entity: sensor.harmony_downstairs_activity - type: conditional conditions: - entity: switch.fetch_tv state: 'on' card: !include downstairs_fetch.yaml - type: conditional conditions: - entity: switch.shieldtv state: 'on' card: !include downstairs_shield.yaml - type: conditional conditions: - entity: switch.bedshieldtv state: 'on' card: !include bedroom_shield.yaml
Then inside the first option; downstairs_fetch.yaml
- type: glance title: Downstairs Fetch show_state: false entities: # top row - entity: binary_sensor.camera_fake icon: mdi:undo name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "Back" - entity: binary_sensor.camera_fake icon: mdi:home name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "Menu" - entity: binary_sensor.camera_fake icon: mdi:chevron-up-box-outline name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "DirectionUp" - entity: binary_sensor.camera_fake icon: mdi:play-pause name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "Pause" - entity: binary_sensor.camera_fake icon: mdi:stop name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "Stop" # middle row - entity: binary_sensor.camera_fake icon: mdi:volume-plus name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "29172426" command: "VolumeUp" - entity: binary_sensor.camera_fake icon: mdi:chevron-left-box-outline name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "DirectionLeft" - entity: binary_sensor.camera_fake icon: mdi:checkbox-blank-circle-outline name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "Select" - entity: binary_sensor.camera_fake icon: mdi:chevron-right-box-outline name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "DirectionRight" - entity: binary_sensor.camera_fake icon: mdi:arrow-up-bold name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: '62244663' command: "ChannelUp" # bottom row - entity: binary_sensor.camera_fake icon: mdi:volume-minus name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "29172426" command: "VolumeDown" - entity: binary_sensor.camera_fake icon: mdi:rewind name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "Rewind" - entity: binary_sensor.camera_fake icon: mdi:chevron-down-box-outline name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "DirectionDown" - entity: binary_sensor.camera_fake icon: mdi:fast-forward name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "FastForward" - entity: binary_sensor.camera_fake icon: mdi:arrow-down-bold name: ' ' tap_action: action: call-service service: remote.send_command service_data: entity_id: "remote.downstairs" device: "62244663" command: "ChannelDown"
The output is this:
I’ve tried moving the card type into the lovelace & out of the included file, but, still not working. Any ideas what I am doing wrong?
Posts: 1
Participants: 1