DBuit / Homekit-panel-card

Homekit panel card for home assistant
MIT License
304 stars 54 forks source link

Homekit-Card overlapping other cards. #44

Closed Lekesoldat closed 4 years ago

Lekesoldat commented 4 years ago

For some reason my homekit-card overlaps other existing cards. Either removes them, or just lies on top. Which elements gets overlappend/removed depends on the order of cards. If i move the media card above the homekit-card, the graph card gets removed/overlapped.

Any help? Unsure if it's a bug or my mistake.

cards:
  # Lights
  - type: "custom:homekit-card"
    statePositionTop: true
    tileHoldAnimation: true
    entities:
      - title: Bedroom
        popup:
          type: custom:light-popup-card
        entities:
          - entity: light.rgb_magnus
            name: Magnus
            popupExtend:
              actions:
                - service: light.turn_on
                  service_data:
                    entity_id: light.rgb_magnus
                    rgb_color: [253,202,100]
                    transition: 0.8
                  color: "#FDCA64"
                - service: light.turn_on
                  service_data:
                    entity_id: light.rgb_magnus
                    rgb_color: [187,238,243]
                    transition: 0.8
                  color: "#BBEEF3"

          - entity: light.rgb_hilde
            name: Hilde
            popupExtend:
              actions:
                - service: light.turn_on
                  service_data:
                    entity_id: light.rgb_hilde
                    rgb_color: [253,202,100]
                    transition: 0.8
                  color: "#FDCA64"

                - service: light.turn_on
                  service_data:
                    entity_id: light.rgb_hilde
                    rgb_color: [187,238,243]
                    transition: 0.8
                  color: "#BBEEF3"

          - entity: switch.on_off_plug_in
            icon: mdi:fire
            color: "#FDCA64"
            name: Heater

  # Sonos
  - type: custom:mini-media-player
    entity: media_player.sonos_living_room
    artwork: cover
    hide:
      progress: true
      volume: true
      source: true
      controls: false
      shuffle: false
      info: false
      icon: false
      power: true

Screenshot: Overlapping

DBuit commented 4 years ago

Hello,

The home-kit card is build to be used as a panel card and fill the whole page. You know you can add the mini-mediaplayer card as a tile inside the homekit card? Also the graph cards can be used as a tile.