Home-Assistant-Config icon indicating copy to clipboard operation
Home-Assistant-Config copied to clipboard

Little help in devices counts

Open codedmind opened this issue 4 years ago • 7 comments

Hello and congrants in the config!!! I think i'm late to the party (already follow same links and see the next big thing, can't wait to see it here)

For now i'm try to use some of your systemtab, i make the sensor count templates and have them but i cannot make it like you have, i copy and paste all the view in a new view but i never have it like the screenshot, for some reason it keeps the icons on the side...

image

Thanks

codedmind avatar Jun 08 '20 19:06 codedmind

Hello, Try this for the custom: bar-card

entities:
  - entity: sensor.example
positions:
  icon: 'off'
  indicator: 'off'
  minmax: inside
  title: inside
  value: inside
title: Custom CSS Layout
type: 'custom:bar-card'

See here for more info: https://github.com/custom-cards/bar-card

Regards,

Bart

BartEngelen avatar Jun 09 '20 10:06 BartEngelen

@BartEngelen thanks for the hint... is a little better but not like @JamesMcCarthy79 pic :/

image

codedmind avatar Jun 09 '20 11:06 codedmind

Hello, I use the following code:

type: 'custom:bar-card'
entity: sensor.automation_count
animation:
  state: 'on'
  speed: 5
height: 40px
max: 40
positions:
  icon: 'off'
  indicator: inside
  minmax: 'off'
  title: inside
  value: inside
severity:
  - color: green
    from: 0
    to: 28
   - color: orange
     from: 29
     to: 39
  - color: red
    from: 40
    to: 50
title: Automations
width: 100%

image

BartEngelen avatar Jun 09 '20 20:06 BartEngelen

@BartEngelen maybe i confuse you... but what i want is this aspect

image

codedmind avatar Jun 10 '20 09:06 codedmind

@codedmind I'm really sorry I haven't been getting notified when any posts an issue here , i used to come here daily so it wouldn't matter but I dont come here as often and my code is a little outdated as HA has been moving so fast lately. I don't think this view is possible anymore with the changes to the bar-card. I can make you something else if you prefer that might look a little more modern :)

JamesMcCarthy79 avatar Jun 10 '20 09:06 JamesMcCarthy79

@JamesMcCarthy79 Very thanks for that offer!!! But no... i will wait for your new config (hope it will running fine)

That is for the meantime will get something new visual. I will try and start to migrate to dwains theme so then i'm be able to get your config/theme, from what i'm seeing is very good.

Best regards

codedmind avatar Jun 10 '20 09:06 codedmind

@JamesMcCarthy79 I am interested also in a modern look

BartEngelen avatar Jun 10 '20 09:06 BartEngelen