PiotrMachowski / Home-Assistant-Lovelace-Local-Conditional-card

This card can show and hide a specific card on current device while not affecting other windows. It does not require any integration to run.
MIT License
61 stars 6 forks source link

Can't toggle todo in Android in companion app #27

Open realdimik opened 4 months ago

realdimik commented 4 months ago

following code works well in PC, but in Android in companion app the button will show only sun1, not todo1 :(

      - title: Click test
        type: entities
        entities:
          - action_name: Toggle
            icon: mdi:power
            name: Sun1
            tap_action:
              action: fire-dom-event
              local_conditional_card:
                action: toggle
                ids:
                  - todo1
                  - sun1
            type: button
      - type: custom:local-conditional-card
        default: show
        id: sun1
        card:
          entities:
            - sun.sun
          title: Sun 1
          type: entities
        persist_state: true
      - type: custom:local-conditional-card
        default: show
        id: todo1
        card:
          type: todo-list
          entity: todo.shopping_list
        persist_state: false