Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dwain's does not respect visibility conditions #838

Open
Esp32-zapper opened this issue Oct 22, 2024 · 0 comments
Open

Dwain's does not respect visibility conditions #838

Esp32-zapper opened this issue Oct 22, 2024 · 0 comments

Comments

@Esp32-zapper
Copy link

Have some seasonal cards that I want to hide during winter.
Built the card in yaml and it works in standard HADash.
Depending on a helper setting, summer or winter, it will be displayed or not.
When I copy the card to Dwain's, it will be displayed all the time, regardless of the value of the season helper.
Can it be fixed? Is there another way around it?
Disable entity is possible but very hard to find again amongst 100+ disabled entities.

Screenshot_20241022-143943

Code

cards:

  • cards:
  • cards:
    • double_tap_action:
      action: none
      entity: switch.utomhus_poolpump_brytare
      fill_container: true
      hold_action:
      action: none
      icon: mdi:pump
      icon_color: primary
      layout: horizontal
      name: Pump
      tap_action:
      action: more-info
      type: custom:mushroom-entity-card
    • double_tap_action:
      action: none
      entity: switch.utomhus_pool_temp_switch_0
      fill_container: true
      hold_action:
      action: none
      icon: mdi:hvac
      icon_color: red
      layout: horizontal
      name: Värmare
      tap_action:
      action: more-info
      type: custom:mushroom-entity-card
      type: horizontal-stack
  • cards:
    • entities:
      • entity: sensor.utomhus_pool_temp_temperature
        entity_row: true
        icon: mdi:pool-thermometer
        icon_color: Blue
        limit_value: true
        max: "45"
        min: "0"
        name: Temp
        severity:
      • color: Blue
        from: 0
        to: 17
      • color: Orange
        from: 18
        to: 22
      • color: Red
        from: 23
        to: 45
        title: null
        type: custom:bar-card
        type: horizontal-stack
  • cards:
    • entity: input_datetime.utomhus_pool_senast_servad
      name: Rengjord
      type: custom:mushroom-entity-card
    • entity: sensor.utomhus_pool_clean_days
      icon_color: blue
      name: Dagar sedan rengöring
      type: custom:mushroom-entity-card
    • double_tap_action:
      action: none
      entity: script.utomhus_pool_cleandate_reset
      fill_container: true
      hold_action:
      action: none
      icon: mdi:sync
      layout: horizontal
      name: Reset
      secondary_info: none
      tap_action:
      action: call-service
      service: script.utomhus_pool_cleandate_reset
      target: {}
      type: custom:mushroom-entity-card
      type: horizontal-stack
      mode: vertical
      type: custom:stack-in-card
      visibility:
  • condition: state
    entity: input_select.sasong
    state: Sommar
@Esp32-zapper Esp32-zapper changed the title Dwain's does not respect visibility settings Dwain's does not respect visibility conditions Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant