Custom card: Room Card

Haha on github I have a buy me a coffee link. And my PayPal username is the same as here without the 87. But I do it to share and make everyones life a little bit better :slight_smile:

2 Likes

Wow thnx! You didnt have to but its greatly appreciated!

Everyone here: Can you help come up with doable animations: Animations · Discussion #50 · marcokreeft87/room-card · GitHub

Is it possible to ad a picture in the background? Something like in my example?

1 Like

Not yet native. But if you use card mod you can. It will go on the todo list tho

Hi,

just wanted to use room card. but sadly hass isn´t finding the custom card. (neither in yaml or visuell)

I tried to install with hacs and manually! All other used cards and addons are working. the room card files in ww/community also looks fine.

any off you with the some problem?

It’s a little weird, but room-card technically isn’t a card. It’s an entity. So you have to use a card that shows entities to use it. I use the entities card and then add a room-card to that. There is no GUI for room-card. It’s all YAML.

Loving Room Card!

1 Like

thanks for the hint kyle!

didn´t get this befor…

but i think something is not correct. I used an Entity card and then added the code from the wiki example. i think i did something wrong or?

type: entity
- type: custom:room-card
  title: Attic + Garden
  entity: light.alles_an
  icon: mdi:lightbulb-outline
  tap_action:
    action: toggle
  info_entities:
    - entity: light.bad_eg_deckenlampe
      icon: mdi:wall-sconce-flat
      show_icon: true
      tap_action:
        action: toggle
    - entity: light.terassenbeleuchtung
      icon: mdi:outdoor-lamp
      show_icon: true
      tap_action:
        action: toggle

This is where I designed it for! I love this!

1 Like

Thats not right tho. It is a card. The only thing is, it doesnt have an editor because the card can do way too much to put in an editor. Maybe one day I will try to make an editor for it

Have you checked the wiki? Configuration · marcokreeft87/room-card Wiki · GitHub all the way to the bottom you can see how to use it

And also, you dont have to use the entities card for it :slight_smile: Just use it like this

- type: custom:room-card
  title: Attic + Garden
  entity: light.attic
  icon: mdi:lightbulb-outline
  tap_action:
    action: toggle
  info_entities:
    - entity: light.attic
      icon: mdi:wall-sconce-flat
      show_icon: true
      tap_action:
        action: toggle
    - entity: light.garden
      icon: mdi:outdoor-lamp
      show_icon: true
      tap_action:
        action: toggle

Thank you for all your work! Works so well and will probably integrate it for a table in our guest room soon!

Much love! :smiling_face_with_three_hearts:

EDIT:
OH! Just realized I/we could actually use this to display all running plex transcodes and even be naughty enough to put in some transcoding switches or nice stats.

1 Like

dammed. it was the “-” all the time… after removing it it worked. thanks for your work (also thanks for the wiki of course!)!

1 Like

Just FYI 1.3.9 seems to have breaking changes. Either that or a regression problem. A main entity is required now even though I thought it was optional. This worked in 1.3.8:

type: custom:room-card
title: Upgrade Checker
entities:
  - entity: input_boolean.ecowitt2mqtt_image
    name: Eco2MQTT
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.ecowitt2mqtt_image
  - entity: input_boolean.iperf3_image
    name: iperf3
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.iperf3_image
  - entity: input_boolean.mariadb_image
    name: MariaDB
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.mariadb_image
  - entity: input_boolean.mosquitto_image
    name: MQTT
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.mosquitto_image
  - entity: input_boolean.nextpvr_image
    name: NextPVR
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.nextpvr_image
  - entity: input_boolean.phpmyadmin_image
    name: PHP MA
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.phpmyadmin_image

But now I get:

If I change it to:

type: custom:room-card
entity: input_boolean.ecowitt2mqtt_image
show_icon: true
icon: mdi:search-web
title: Upgrade Checker
entities:
  - entity: input_boolean.ecowitt2mqtt_image
    name: Eco2MQTT
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.ecowitt2mqtt_image
  - entity: input_boolean.iperf3_image
    name: iperf3
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.iperf3_image
  - entity: input_boolean.mariadb_image
    name: MariaDB
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.mariadb_image
  - entity: input_boolean.mosquitto_image
    name: MQTT
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.mosquitto_image
  - entity: input_boolean.nextpvr_image
    name: NextPVR
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.nextpvr_image
  - entity: input_boolean.phpmyadmin_image
    name: PHP MA
    state_color: true
    tap_action:
      action: call-service
      service: input_boolean.toggle
      target:
        entity_id: input_boolean.phpmyadmin_image

It works again.

After latest Update i get this error. i set the show_icon attribute to true. it worked for most of the card expect 2. any idea?

That’s not supposed to be required. Thanks for telling me. A bugfix wil be available in a few hours

You have to set show_icon for each entity you define an icon for

ok thanks, problem solved.