Jump to content

How should Area card work?


Recommended Posts

Posted

Good Morning from Rainy CA

I have been playing around with HA for a couple weeks now, just using mushroom, lovelace and a couple custom cards. So far so good. I have not used YAML and don't see using it in the future. It is way above my abilities at the moment.

I am now trying to setup various rooms and their corresponding lights. I stumbled across the area card and it appears to be just what I need. I see that the HA implementation has carried across the folders that I have in the ISY/Polisy setup to the area field in HA. All well and good. I setup an area card and see a toggle switch. There are multiple switches in the room and the toggle switch turns on/off all of them at one time. I would prefer a toggle for each switch. 

Is this something coming in the new release scheduled for next month along with all the new changes? Or do I need to figure out another way to do what I want?

There is no hurry here I can easily wait if it saves me a lot of work.

Also, if anyone has another suggestion for how to do this I would appreciate you letting me know. I have about 20 rooms and over 75 switches so I want to get this right before I spend a lot of time on it. 

Thanks

Steve

Posted

So I used a mushroom card and it looks like this. There is a main switch for the area or room and individual sliders for each switch.

image.thumb.jpeg.375245956fb794646811f2d9cfb2b159.jpeg

 

the card configuration looks like this.

image.thumb.jpeg.c660f35892c51fd9637bf564260d24ea.jpeg

Posted

@vbPhil

Thanks for the fast response. My mushroom custom light card is different than yours.

It does show the same type as yours if I look at it in the code editor. 

I am only allowed to enter one entity. I don't see the options you have such as property,value. I have v 2.6.1, the latest mushroom downloaded. Do I need to get it from somewhere else?

 

Thanks

Posted

I'm actually using the previous release. Did not know there was a later one. I've just been using HA for few months myself so I'm pretty much a newbie. Mushroom is one of the first things I set up and haven't done much with it since.

Here's what I see using the code editor.

Quote

type: custom:auto-entities
card:
  type: entities
  title: Great Room
filter:
  include:
    - domain: light
      area: Great Room
      options:
        type: custom:mushroom-light-card
        layout: vertical
        icon_type: none
        collapsible_controls: true
        fill_container: true
        show_brightness_control: true
        use_light_color: true
        show_color_temp_control: false
        show_color_control: true
        entity: this.entity_id
  exclude:
    - device_manufacturer: Signify Netherlands B.V.
    - hidden_by: user
sort:
  method: device
  reverse: true
  ignore_case: true
 

 

Posted

I've got 2.5.3 installed. I would imagine that 2.6.1 would have the same functionality. I'll upgrade and see what happens.

Posted
4 minutes ago, vbPhil said:

I've got 2.5.3 installed. I would imagine that 2.6.1 would have the same functionality. I'll upgrade and see what happens.

I installed 2.6.1 and the card configuration looks the same.

Posted
33 minutes ago, vbPhil said:

I installed 2.6.1 and the card configuration looks the same.

It looks like you're using Thomas Loven's Auto-Entities in conjunction with mushroom card.

type: custom:auto-entities
card:
  type: entities
  title: Great Room
filter:
  include:
    - domain: light
      area: Great Room
      options:
        type: custom:mushroom-light-card
        layout: vertical
        icon_type: none
        collapsible_controls: true
        fill_container: true
        show_brightness_control: true
        use_light_color: true
        show_color_temp_control: false
        show_color_control: true
        entity: this.entity_id
  exclude:
    - device_manufacturer: Signify Netherlands B.V.
    - hidden_by: user
sort:
  method: device
  reverse: true
  ignore_case: true

Posted
5 minutes ago, MrBill said:

It looks like you're using Thomas Loven's Auto-Entities in conjunction with mushroom card.

You are correct, forgot about it. If I did once a couple of months ago, I lose all memory of it. The downside of being born in 1952.

Auto Entities shows up when you click Add Card. Don't recall if that came with HA or I added it. There's probably some documentation on it.

  • Like 1
Posted

You guys are picking my interest :-) . I had never seen anything about Mushroom and just downloaded it (or at least I think that I did...). Supposedly it is somewhere in my HA. Now where do I find it and how do I use it ?

Thanks

Posted
12 minutes ago, vbPhil said:

You'll find it under HACS.

image.thumb.png.859dbaf438d32f29c7d44ee210f330f5.png

 

You use it on your dashboard under Add Card.

Thanks, I got it, but not yet impressed :-( 

Posted

@asbril

I am no expert on HA as I have only been using it for a few weeks, but the first thing I would do is delete it and try reloading it. I checked the HA forum and found this as the first place to look if you get this error.

Status: Not Loaded

image.png.0bc298c6f9bfeb8113476c788a8d671f.png

When you see this message you have one or more resources downloaded with HACS that are not properly loaded in Lovelace.

To find out what element it is, look for the repository with a "Not Loaded" header in the Frontend section of HACS.

Posted
30 minutes ago, stevehoyt said:

@asbril

I am no expert on HA as I have only been using it for a few weeks, but the first thing I would do is delete it and try reloading it. I checked the HA forum and found this as the first place to look if you get this error.

Status: Not Loaded

image.png.0bc298c6f9bfeb8113476c788a8d671f.png

When you see this message you have one or more resources downloaded with HACS that are not properly loaded in Lovelace.

To find out what element it is, look for the repository with a "Not Loaded" header in the Frontend section of HACS.

image.png.be6d6b70ee85bbff881e700a23d46ea3.png

This is the one. In fact, I am not sure that I want this "Mushroom-Better Slides" but how do I remove this ?

Posted

@shbatm

21 hours ago, stevehoyt said:

I am now trying to setup various rooms and their corresponding lights. I stumbled across the area card and it appears to be just what I need. I see that the HA implementation has carried across the folders that I have in the ISY/Polisy setup to the area field in HA. All well and good. I setup an area card and see a toggle switch. There are multiple switches in the room and the toggle switch turns on/off all of them at one time. I would prefer a toggle for each switch. 

Is this something coming in the new release scheduled for next month along with all the new changes? Or do I need to figure out another way to do what I want?

 

I understand we were getting a bit off topic...So getting back to my original question. See above

Secondly In my folder for outside I have 22 devices. They are a mixture of outdoor lincs, Keypads, toggle switches, paddle switches, etc. Looking at the integration entities, I see some are switches and some are lights. Can you point me to where I should look to see how this is determined, and will any of this be changing in the next major release. 

Thanks

Steve

Posted
9 minutes ago, stevehoyt said:

There are multiple switches in the room and the toggle switch turns on/off all of them at one time. I would prefer a toggle for each switch. 

https://www.home-assistant.io/dashboards/area/

The single button in an area card is not specific to ISY. You'll need another type of card. You can use auto_entites as suggested above to generate a card with everything from an Area. There are a few other options, but that's why I linked the HA communities.

 

11 minutes ago, stevehoyt said:

They are a mixture of outdoor lincs, Keypads, toggle switches, paddle switches, etc.

Generally for Insteon: if it's dimmable it's a light (or fan), if it's on/off or a Scene it's a switch. Keypadlinc secondary buttons and RemoteLincs are sensors, because they don't allow DON/DOF controls being sent, only received. This is a vast oversimplification, so if you really want to dig into it, the sorting is here: https://github.com/home-assistant/core/blob/130c8ea5f54f73ed84e34da20683ebbd2b9d4ce0/homeassistant/components/isy994/const.py#L193

You can change a switch's device type using the 'Switch as X' option in the entity-specific settings menu in HA.

Insteon will not be changing. Some devices for Z-Wave may change after the improved sorting is added in the upcoming release. If you have one that you know is wrong, open an issue on GitHub so I can make sure it gets corrected.

Posted

Thank You. That info will keep me busy for now.

I forgot to ask about changing a devices type, I meant to. 

I assume from the other info I have seen, that the change will persist over reloads etc.

 

Posted
2 hours ago, stevehoyt said:

There are multiple switches in the room and the toggle switch turns on/off all of them at one time. I would prefer a toggle for each switch.

For that I use the entities card

Guest
This topic is now closed to further replies.

×
×
  • Create New...