Giter Site home page Giter Site logo

Comments (8)

mochoandre avatar mochoandre commented on June 20, 2024

One more for this. For me it does not make sense and uses valuable space. Some versions back it only says open or close.

from hass-shutter-card.

DarKOrange75 avatar DarKOrange75 commented on June 20, 2024

I don't understand the choice here...
Is there anyway we can fix it by ourselves since updates seem very scarce...

from hass-shutter-card.

Deejayfool avatar Deejayfool commented on June 20, 2024

If someone find the corresponding labels of "ui.components.logbook.messages.was_closed" and "ui.components.logbook.messages.was_opened", I'll update it with them :) .

from hass-shutter-card.

jluc2808 avatar jluc2808 commented on June 20, 2024

i don't understand what to do , do we have to change something by ourself somewhere ?
rem: ui.components.logbook.messages.was_closed isn't the right label to use because this the old state and the current one

from hass-shutter-card.

Deejayfool avatar Deejayfool commented on June 20, 2024

No, I can update the card with the good labels, but I don't know where is the list of labels.
It was an other contributor who chose the labels "was_closed" and "was_opened", but I guess the good labels are somewhere else. If someone find them, just let me know and I'll update it.

from hass-shutter-card.

mochoandre avatar mochoandre commented on June 20, 2024

It looks like the problem was on Homeassistant side. From some time now it is good and only says open or closed

from hass-shutter-card.

jluc2808 avatar jluc2808 commented on June 20, 2024

@mochoandre it's not ok for me , i always have "était fermé" or "était ouvert" in french and never "fermé" ou "ouvert".

i have tried to install a fork with "wired label" or the fork of @Criban but for some unknown reason it seems that the old code is still used.
I have modified the code directly under config/www/community/hass-shutter-card/hass-shutter-card.js , save, restart HA, but still with the old code running, do i have to make another action ?

from hass-shutter-card.

jluc2808 avatar jluc2808 commented on June 20, 2024

as the @Criban fork have some problems (error message : this is not défined)
i follow his modification (thanks a lot to @Criban)
i have created a new fork to add optional text:

  • text_opened
  • text_closed
  • text_no_position (for RTS or other shutter without return position)

you could find the new fork :
https://github.com/jluc2808/hass-shutter-card

the fork could be installed with HACS, while adding personnal repository: https://github.com/jluc2808/hass-shutter-card
when done with HACS this will overwrite the hass_shutter_card already installed
you could use without a restart of HA

from hass-shutter-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.