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.

Sorting by Last Changed and Count Still Not Behaving as Before

See original GitHub issue

Using the below configuration entities do not render in “last changed” order. If I use count 10 they wont appear. If I use count 100, so they all appear, I can see the activated sensors at the end of the card. I tried the reverse:true option and same result.

  - type: custom:auto-entities
    card:
      type: glance
      columns: 10
      show_state: false
 
    filter:
      include:
      - domain: binary_sensor
        attributes:
          device_class: motion
      - domain: binary_sensor
        attributes:
          device_class: door   
    sort:
      method: last_changed #last_triggered #
      count: 10
    reverse: true

Screenshot_2021-03-14_09-43-13

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bcuttercommented, May 22, 2021

Wasn’t your problem already solved, @bcutter?

Yes indeed. Checked the other issue later than this here - the other one is quite similar (but fixed for me).

I think it was #186.

0reactions
thomaslovencommented, May 22, 2021

Wasn’t your problem already solved, @bcutter?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel: sort + COUNTIF() = utter mess - Excelcharts.com
County list in Excel, counting by state and sorting. Correct sorting with tables. As you can see, the formula is not changed when...
Read more >
Counting and sorting - Microsoft Community Hub
Hello, I have a excel list containing some data in this form "0.0033MF 50V" (this is into a single cell), both MF and...
Read more >
Excel Pivot Table Sorting Problems - Contextures Blog
It shows how to fix new pivot table items that are not in alphabetical order. Why the Sort is Incorrect. In this example,...
Read more >
[Power BI] Sort By Column And Issues That May Arise - YouTube
Text fields in Power BI are sorted alphabetically by default. What if this ordering doesn't make logical sense of how you want to...
Read more >
Counting Sort - GeeksforGeeks
Counting sort is a sorting technique based on keys between a specific range. It works by counting the number of objects having distinct...
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