#tried both

1 messages ยท Page 1 of 1 (latest)

eager wedge
#
entity: climate.midea_ac_141837000057408
show_icon: true
styles:
  template: >
    if (entity.state == 'cool') return 'icon: mdi:desk';
    else return 'icon: mdi:house';
tap_action:
  action: toggle
polar gulch
#

Ohhh I like this.. "threads"

#

I am updating my entire home assistant setup. Behind a few patches and such. So we'll see what happens after update. Maybe there was a bug fix or something.

#

I got one more OS level update. But I will leave it for now.

eager wedge
#

I think a simple on/off would be able to use yaml icon: state_on: mdi:window-open state_off: mdi:window-closed

#

Something I found in the big example at the bottom:

#

not sure why off is in quotes but heat is not

polar gulch
#

yeah I see it in the dev tool states

eager wedge
#

actually, that may not be relevant because that is utilizing a simple-thermostat card within the room card

polar gulch
#

I mean I might be able to do that.

#

Didn't want to because then it makes it a whole separate row

eager wedge
#

off-topic: I'm going to have to look more into the room card. Seems to be very powerful with lots of customizations and can incorporate other cards within itself.

#

yeah. see if the template style above works. it think that would get around the state_on/off issue.

polar gulch
#

trying to find how to install it.. doesn't seem to be avail in HACs

eager wedge
#

the simple-thermostat? look up at the yaml at the top of the thread. I modified it. (that's the one I meant.)

polar gulch
#

will try that custom style.

#

yeah the simple thermostat

#

no luck with style.

eager wedge
#
entity: climate.midea_ac_141837000057408
show_icon: true
icon:
  template:
    styles: >
      if (entity.state == 'cool') return 'color: green';  
      else return 'color: orangered';
    icon: >
      if (entity.state == 'cool') return 'mdi:desk';   
      else return 'mdi:house';
tap_action:
  action: toggle
polar gulch
#

well something happened. at least now.. no icon shows ๐Ÿ™‚

#

ohh hell yeah

#

It worked.

eager wedge
#

the last yaml worked?

polar gulch
#

Icon.. didn't work but at least color worked.

#

which is all I really care about now. I am fine with the color just being different based on state

#

what is the color that HA uses by default? Blue when off and yellowish when on?

eager wedge
#

hmm. it is weird that we can change the color but not the icon. ๐Ÿค”

polar gulch
#

rgba(166,125,5,255) for on?

eager wedge
#

maybe this ```
HVAC_MODE_OFF: white
HVAC_MODE_HEAT: red
HVAC_MODE_COOL: blue
HVAC_MODE_HEAT_COOL: magenta
HVAC_MODE_AUTO: green
HVAC_MODE_DRY: yellow
HVAC_MODE_FAN_ONLY: grey

polar gulch
#

Well what you did for me was perfect. Exactly what I wanted.

#

I can explore the other for now. I got a long way on this dashboard to go. only got time today carved out for it.. I APPRECIATE IT SOO MUCH

#

maybe a quick question. I am making this dashboard / overview for my ipad that is going to sit on a wall. Is there any trick for full screen mode to gain that small bit of extra real estate ?

eager wedge
#

Kiosk Mode in HACS

#

my settings from the raw configuration yaml kiosk_mode: hide_header: false hide_overflow: true hide_menubutton: true user_settings: - users: - derek - another_user hide_sidebar: true - users: - tablet kiosk: false hide_sidebar: true ignore_entity_settings: true entity_settings: - entity: input_boolean.fire_main_hide_sidebar: 'on' hide_sidebar: true - entity: input_boolean.fire_main_hide_sidebar: 'off' hide_sidebar: false - entity: input_boolean.fire_main_hide_header: 'on' hide_header: true - entity: input_boolean.fire_main_hide_header: 'off' hide_header: false

#

note, I keep the top bar for navigation purposes so each tablet can "see" the other tablet's views.

#

(looks a little better on the tablet rather than a resized window on PC)

#

still very much of a work in progress but for the most part I've been running this for about a year or so. little tweaks here and there as I go. (I like simple and "plain".)

#

the entities at the bottom of the yaml (which I realize I don't have set up properly but still kind of work)

#

Also, consider your visibility options. Maybe you have a view that is used for testing so you don't mess something up.

eager wedge
#

Oh. And I also run Fully Kiosk Browser on my Amazon Fire tablets. https://www.fully-kiosk.com/en/#features Which not only has cool features but integrates with HA and gives switches and sensors for the tablet (like being able to detect its battery level and turning on/off the screen). Useful when automating. Plus, you can try it for free. Free versions is cool. You can turn on the Pro features to see if it is worth purchasing (though it does put a watermark on the screen when a Pro feature is turned on without a license). BUT it does not appear to be iPad-friendly.

polar gulch
#

yeah. I read about fully kiosk browser

#

Seemed super slick

#

but the ipad thing haha

#

Sorry got a delivery . was afk

#

do you know if there is a way to have a fake entity?

#

like .. (if entity.whatever.state = on || entity.whatever.state is on then on else off.

eager wedge
#

sorry for the late reply. you can always create your own entities. But I think what you're looking for is a binary sensor with a value template. Something like this would go into your configuration.yaml: ```yaml
binary_sensor:
#See if any radiant floor pump is running

  • platform: template
    sensors:
    radiant_heat_running:
    friendly_name: Is Radiant Heat Running
    value_template: "{{ is_state('binary_sensor.basement_garage_zone_pump','on') or is_state('binary_sensor.basement_zone_pump','on') or is_state('binary_sensor.garage_zone_pump','on') }}"
eager wedge
eager wedge
polar gulch
#

looking clean.

#

Sorry been super busy lately. I got hit by the hurricane so I have been doing like actual home repairs instead of messing with smart home stuff haha

#

do you know in kiosk mode add on if there is a way to hide stuff by device? Or do I need to hide stuff per user and generate a new user for the tablet? What do you think?