question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add priority field to menu items

See original GitHub issue

Current situation: image

Expectation: image

I think card parses custom:frigate-card-conditional last one, that’s why it does not respect the order.

Card config:
type: custom:frigate-card
cameras:
  - camera_entity: camera.living_room_frigate
    live_provider: ha
    title: Living room
view:
  camera_select: live
  default: image
  timeout_seconds: 0
menu:
  mode: above
  buttons:
    frigate: false
    live: true
    clips: false
    snapshots: false
    download: false
    frigate_ui: false
    fullscreen: false
image:
  refresh_seconds: 5
  mode: camera
elements:
  - type: custom:frigate-card-menu-submenu
    icon: mdi:lightbulb
    items:
      - entity: switch.living_room_light_switch
        state_color: true
        tap_action:
          action: toggle
      - entity: switch.living_room_wall_light_switch
        tap_action:
          action: toggle
  - type: custom:frigate-card-conditional
    conditions:
      view:
        - image
        - live
    elements:
      - type: custom:frigate-card-menu-state-icon
        entity: input_boolean.switch_elements
        state_color: false
        icon: mdi:information
        tap_action:
          action: toggle
  - type: custom:frigate-card-menu-submenu
    icon: mdi:power
    items:
      - entity: switch.plug_living_room_camera
        state_color: true
        tap_action:
          action: toggle

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dermotduffycommented, Apr 30, 2022

Will be in the v4.0.0 release.

1reaction
peledziuscommented, Mar 6, 2022

But many counter-examples, e.g. CSS z-index. Mostly I was suggesting higher => more likely to render, since that may appear “more obvious” to a less technical audience.

Makes sense to use this logic. Either way it doesn’t make any difference for me. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Defining priority field values | Administering Jira applications ...
From the Priorities page, select Add priority. Enter the name of your priority. The name will appear in the dropdown menu when a...
Read more >
Add or Edit Task Priority Values - Salesforce Help
From the object management settings for Task, go to Fields & Relationships. · Click Priority. · To add a value to the Task...
Read more >
Assign Priorities to Tasks Using Custom Fields
Open the Project Menu by clicking on the Open Sidebar in the upper right of your screen, and expand the Custom fields section:...
Read more >
Priority Assignment - Custom Field - Use Cases
You can add a custom field for task priority. Make the custom field drop down menu and choose the priorities you and your...
Read more >
Defining Priority Field Values - JIRA 6 - CWIKI.US
Go to the View Priorities page as described in Adding a priority (above). Click the Edit link (in the Operations) column corresponding to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found