piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.75k stars 341 forks source link

Smoke/CO/Heat Card #366

Open jaburges opened 2 years ago

jaburges commented 2 years ago

Is your feature request related to a problem? Please describe. Nest Protects have multiple sensors: Smoke Heat CO Battery

Describe the solution you'd like A simple (cool looking) card, like your others, with 3 simple circular sensor circles that goes red/does something if not OK or clear. And space for the Battery/connection state

Describe alternatives you've considered custom button card, but can't make it look the same as the other cards.

Additional context Add any other context or screenshots about the feature request here.

jaburges commented 2 years ago

this also could be used as printer ink status ?

piitaya commented 2 years ago

To keep mushroom simple, the rule is on entity = one card. As you you can see on the repo, there is a lot of feature requests. We prefer de focus on single entity for now.

acesyde commented 2 years ago

Hi @jaburges

With vertical stack in card

You can do something like that ;)

image

Code sample

type: custom:vertical-stack-in-card
title: Smoke Sensor
cards: 
  - type: custom:mushroom-cover-card
    name: Battery
    entity: cover.volets_roulant_jardin
    layout: horizontal
    show_buttons_control: true
  - type: custom:vertical-stack-in-card
    horizontal: true
    cards:
    - type: custom:mushroom-entity-card
      name: Humidity
      entity: sensor.0xa4c138a8b5d65736_humidity
    - type: custom:mushroom-entity-card
      name: Temperature
      entity: sensor.0xa4c138a8b5d65736_temperature
      layout: horizontal
jaburges commented 2 years ago

To keep mushroom simple, the rule is on entity = one card. As you you can see on the repo, there is a lot of feature requests. We prefer de focus on single entity for now.

this is more the states of a single entity though, so that isnt strictly true. Ie a light has brightness, as well as on/off

a smoke alarm has smoke, CO, and battery states - its a single device (albeit show in multiple entities)