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

After Upgrade to 3.1.1 no values by attributes #631

Closed
CrazyUs3r opened this issue Jan 5, 2024 · 4 comments
Closed

After Upgrade to 3.1.1 no values by attributes #631

CrazyUs3r opened this issue Jan 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@CrazyUs3r
Copy link

Moin seit dem update funktioniert keine attribute mehr.

Hier nur ein Beispiel was nicht mehr läuft. Zeigt nichts an

type: custom:battery-state-card
title: Luftfeuchtigkeit
secondary_info: '{last_changed}'
icon: mdi:water-percent
filter:
include:
- name: attributes.device_class
value: humidity
sort:
by: state
collapse: 8
value_override: '{state|abs()}'
colors:
steps:
- color: '#00ff00'
value: 30
- color: '#ffff00'
value: 50
- color: '#ff0000'
value: 80
gradient: true

@CrazyUs3r CrazyUs3r added the bug Something isn't working label Jan 5, 2024
@jcarlier
Copy link

jcarlier commented Jan 6, 2024

same for me no results with 👍

type: custom:battery-state-card
secondary_info: "{last_changed}"
filter:
include:
- name: "attributes.device_class"
value: "battery"
sort:
by: "state"
collapse: 8
bulk_rename:

  • from: " Battery"
  • from: " level"
    colors:
    steps:
    • '#ff0000'
    • '#ffff00'
    • '#00ff00'
      gradient: true

ok with entities

@bcutter
Copy link

bcutter commented Jan 6, 2024

Duplicate of #623 (same root cause / core issue)

@hellcry37
Copy link

yah with 3.11 this fails to show anything.

type: custom:battery-state-card
title: Battery charge remaining
secondary_info: "{last_changed}"
filter:
  include:
    - name: attributes.device_class
      value: battery
  exclude:
    - name: entity_id
      value: '*_battery_low'
    - name: entity_id
      value: sensor.oneplus*battery_level
    - name: entity_id
      value: sensor.pixel*battery_level
sort:
  by: state
collapse: 6
colors:
  steps:
    - '#d9ead3'
    - '#b6d7a8'
    - '#93c47d'
    - '#6aa84f'
  gradient: true

@CrazyUs3r
Copy link
Author

I try Tomorrow or i go back to 3.1.0

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

5 participants