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

Recent update 4.4.0 broke relative / total time display #219

Closed
kineticscreen opened this issue Dec 23, 2021 · 11 comments
Closed

Recent update 4.4.0 broke relative / total time display #219

kineticscreen opened this issue Dec 23, 2021 · 11 comments
Labels
bug Something isn't working

Comments

@kineticscreen
Copy link

kineticscreen commented Dec 23, 2021

image

Until the update an hour or so ago, this would show correctly as "in 1 hour" or etc.

type: custom:multiple-entity-row
entity: sensor.3d_printer_status
  - entities:
      - entity: sensor.octoprint_estimated_finish_time
        name: Remaining
        format: total
      - entity: sensor.3d_printer_today_s_consumption
        name: Today
secondary_info:
   entity: sensor.3d_printer_status
   name: ' '
@kineticscreen kineticscreen changed the title Recent update 4.4.0 stuffed up relative / total time display Recent update 4.4.0 broke relative / total time display Dec 23, 2021
@WarC0zes
Copy link

same issue.

            - entity: sensor.last_boot
              type: custom:multiple-entity-row
              show_state: false
              entities:
                - entity: sensor.last_boot
                  name: DERNIER DEMARRAGE
                  format: total
                - entity: sensor.temps_online
                  name: TEMPS EN LIGNE
                  format: total

format

@tamimology
Copy link

Yes same for me. I was going to report the issue but I saw someone got me first.

I just rolled back to version 4.3.0

Screenshot from 2021-12-23 18-50-32

@andrewjswan
Copy link

Same for me ...

@ildar170975
Copy link

Time formats stopped working - see these examples for time, datetime & relative:

  - type: entities
    entities:
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: default
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: time
            format: time
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: datetime
            format: datetime
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: relative
            format: relative
        show_state: false

изображение
Also, it is strange that the 1st line w/o format gives a formatted string.
Probably this formatted string should be for some other format.

@benct benct added the bug Something isn't working label Dec 23, 2021
@bcutter
Copy link

bcutter commented Dec 23, 2021

Confirmed, being introduced with latest v4.4.0 update.

image
format: relative

Can we please stop introducing new bugs with every update of the last weeks here? A bit of testing before rollout would be great...

@rAdziuB
Copy link

rAdziuB commented Dec 23, 2021

I have the same issue with formatting "date":

2021-12-23_16-05-21
2021-12-23_16-10-10

@benct
Copy link
Owner

benct commented Dec 23, 2021

Can we please stop introducing new bugs with every update of the last weeks here? A bit of testing before rollout would be great...

There are a thousands of different ways to configure this card, so it's impossible to test everything. I do this in my free time, for free, so If you cant handle bugs, stop updating the card or stop using custom cards at all..

@ildar170975
Copy link

I agree with benct. Everyone should participate and cooperate if we all need a good product.
Thank you very much for your efforts, benct!

@bcutter
Copy link

bcutter commented Dec 23, 2021

Can we please stop introducing new bugs with every update of the last weeks here? A bit of testing before rollout would be great...

There are a thousands of different ways to configure this card, so it's impossible to test everything. I do this in my free time, for free, so If you cant handle bugs, stop updating the card or stop using custom cards at all..

Seems to be a structural issue, not to be meant offending you. I mean there are no release channels in HACS. If there would be e. g. a stable and a testing channel... that would improve things: you wouldn't need to test things on your own and would get more test users and less "surprised" users when being on the stable path :-)

benct added a commit that referenced this issue Dec 23, 2021
@benct benct closed this as completed Dec 23, 2021
@ildar170975
Copy link

ildar170975 commented Dec 23, 2021

Confirm this for main entity, secondary entities & secondary_info:

type: vertical-stack
cards:
  - type: markdown
    content: |
      Проблема 115 - CLOSED
      format не работает для timestamp
    style: 'ha-card { color: red; }'
  - type: entities
    entities:
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: default
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: time
            format: time
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: datetime
            format: datetime
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: relative
            format: relative
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        entities:
          - entity: sensor.test_timestamp
            name: total
            format: total
        show_state: false
      - type: section
      - type: custom:multiple-entity-row
        entity: sensor.test_timestamp
        name: default
        entities:
          - entity: sun.sun
        show_state: true
      - type: custom:multiple-entity-row
        entity: sensor.test_timestamp
        name: time
        format: time
        entities:
          - entity: sun.sun
        show_state: true
      - type: custom:multiple-entity-row
        entity: sensor.test_timestamp
        name: datetime
        format: datetime
        entities:
          - entity: sun.sun
        show_state: true
      - type: custom:multiple-entity-row
        entity: sensor.test_timestamp
        name: relative
        format: relative
        entities:
          - entity: sun.sun
        show_state: true
      - type: custom:multiple-entity-row
        entity: sensor.test_timestamp
        name: total
        format: total
        entities:
          - entity: sun.sun
        show_state: true
      - type: section
      - type: custom:multiple-entity-row
        entity: sun.sun
        name: default
        secondary_info:
          entity: sensor.test_timestamp
          name: ' '
        entities:
          - entity: sun.sun
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        name: time
        secondary_info:
          entity: sensor.test_timestamp
          name: ' '
          format: time
        entities:
          - entity: sun.sun
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        name: datetime
        secondary_info:
          entity: sensor.test_timestamp
          name: ' '
          format: datetime
        entities:
          - entity: sun.sun
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        name: relative
        secondary_info:
          entity: sensor.test_timestamp
          name: ' '
          format: relative
        entities:
          - entity: sun.sun
        show_state: false
      - type: custom:multiple-entity-row
        entity: sun.sun
        name: total
        secondary_info:
          entity: sensor.test_timestamp
          name: ' '
          format: total
        entities:
          - entity: sun.sun
        show_state: false

изображение

@ildar170975
Copy link

Do not confirm this for last-changed & last-updated attributes:

  - type: entities
    entities:
      - type: custom:multiple-entity-row
        entity: fan.xiaomi_mijia_300_1
        secondary_info: format default
        entities:
          - attribute: last-changed
            name: last-changed
          - attribute: last-updated
            name: last-updated
        show_state: false
      - type: custom:multiple-entity-row
        entity: fan.xiaomi_mijia_300_1
        secondary_info: format datetime
        entities:
          - attribute: last-changed
            name: last-changed
            format: datetime
          - attribute: last-updated
            name: last-updated
            format: datetime
        show_state: false
      - type: custom:multiple-entity-row
        entity: fan.xiaomi_mijia_300_1
        secondary_info: format total
        entities:
          - attribute: last-changed
            name: last-changed
            format: total
          - attribute: last-updated
            name: last-updated
            format: total
        show_state: false

изображение

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants