benct / lovelace-multiple-entity-row

Show multiple entity states and attributes on entity rows in Home Assistant's Lovelace UI
MIT License
797 stars 60 forks source link

entity: sensor.lovelace_multiple_entity_row - Entity not available #321

Closed DrCos closed 9 months ago

DrCos commented 9 months ago

used in the example code

 - entity:  sensor.lovelace_multiple_entity_row
    type: custom:multiple-entity-row
    name: Attributes (show_state=false)
    show_state: false
    entities:
      - attribute: stargazers
        name: Stars
      - attribute: open_issues
        name: Issues
      - attribute: open_pull_requests
        name: PRs

HA 2023.12.1 Have searched, but no insights. Cannot re-create this entity with the current version of HA.

ildar170975 commented 9 months ago
  1. You have not mentioned what issue you have.
  2. The posted code is UNFORMATTED. Place it into triple "`". Use other issues as examples.
DrCos commented 9 months ago

I am trying to create a multiple-entity-row with a separate name over each value (as the 'Attributes' line in the example shows). Using entity: sensor.lovelace_multiple_entity_row as type fails, as the editor indicates "Entity not available"

ildar170975 commented 9 months ago

as type fails, as the editor indicates "Entity not available"

Same: изображение because this entity is not present in my setup.

You are supposed to use existing entities only & address existing attributes: изображение

type: entities
entities:
  - entity: sun.sun
    type: custom:multiple-entity-row
    name: Attributes (show_state=false)
    show_state: false
    entities:
      - attribute: elevation
        name: Stars
      - attribute: azimuth
        name: Issues
      - attribute: rising
        name: PRs
DrCos commented 9 months ago

Alright, thanks, that helps. I missed that the important thing was the show_state: false So it does what I was looking for. Appreciate the patience.