Renaming State of button card

That’s what I am looking for thanks now I have a path :+1:

The way my mimolite works it needs to toggle are you saying if I use cover I no longer have that option?

Oh no, you can change those to toggle. I have a mimolite and it doesn’t require toggle. I have it integrated as a momentary switch though. So it really depends on how you integrated it. Either way, use what works for you.

This is mine as a momentary switch (not toggle).

  - platform: template
    covers:
      garage_door:
        friendly_name: "Garage Door"
        value_template: "{{ is_state('binary_sensor.garage_door_tilt', 'on') }}"
        open_cover:
          service: switch.turn_on
          entity_id: switch.fortrezz_mimolite_switch
        close_cover:
          service: switch.turn_on
          entity_id: switch.fortrezz_mimolite_switch
        stop_cover:
          service: switch.turn_on
          entity_id: switch.fortrezz_mimolite_switch

Okay thanks for some reason my home assistant thinks the mimolite stays on when activated even though it is momentary so toggle works the best for me

Yeah, it ended up doing that for me a while back too. I put this band aide in to get it to work again without having to switch my cover template. Never thought about switching to toggle.

Here’s the bandaide automation

- alias: band aide
  trigger:
    platform: state
    entity_id: switch.fortrezz_mimolite_switch
    to: 'on'
    for:
      milliseconds: 500
  action:
    service: switch.turn_off
    entity_id: switch.fortrezz_mimolite_switch

LOL I did the same thing as well though I went 2 seconds

trying it out and it worked thanks Petro and mcfly76 for your help

Just a little update with this Information provided I also updated the Fortrezz water valve now instead of reading on or off which was backwards meaning that if the status was off the water valve was open

so now it read as it should with open and closed and it coincides with the position of the Valve

once again thank you guys for that education of this

@trentjw Would you explain your solution for me? Since about 2 hours i try to rename the stats from my window sensors within my Button Cards. It just doesn’t want to work.

He made a template cover with device_class gate which translates the states to your native language if it’s supported in your language file. It’s the checked solution.

1 Like

I solved it with lovelace-card-mod.

basically built switches with the cover template instead of the switch template