Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my-button entity support, my-slider-v2 seekbar and more. #54

Merged
merged 7 commits into from
Feb 5, 2024

Commits on Feb 3, 2024

  1. Major button changes and bug fixes all around.

    Fixed bug on slider-v2 with switch & lock in vertical position not transitioning correct style
    More style changes to the button component. Again breaking changes if you use custom styling for the cards.
    With the new styling has come a new row/column of buttons. Readme has been updated to show config
    my-button has been updated to accept button, lock & no entities.
    my-button has been updated so there are default actions on the card for some of the entity types
    better config management in the code. Should not change anything for the user, except better stability maybe.
    Fixed bug in my-slider-v2 where card would not load state correctly
    changed colorMode/coverMode to just be mode. They will still work for now, but are deprecated, so you should use mode now.
    lock entity buttons accept the 'camera' key which is a string like 'camera.front_door'. This will show a mini livestream in the stats container which is opened on tap.
    label config now accept 'extra' key which is a string that will display an extra text underneath the main label
    styles has been updated so they can be nested in the configs they belong to.
    AnthonMS committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    95292f3 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Major code updates

    Better helper functions thanks to the wonderful authors of the custom button-card over at https://github.com/custom-cards/button-card
    Better typesafety in code thanks to aboive changes.
    AnthonMS committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    0897099 View commit details
    Browse the repository at this point in the history
  2. my-slider-v2 now support media_player seekbar mode. Simply give it a …

    …media_player as entity and set mode 'seekbar'
    AnthonMS committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    df067a2 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. my-slider-v2 'sliderMin' config key and more bug-fixes.

    my-slider-v2 new config key 'sliderMin'. This is to determine the minimum percentage progress to show always. To be honest, I am uncertain what showMin is for?
    There has always been bugs loading the initial states for the different entity domains. I am trying to address these. But having a hard time finding them all. Also input_numbers using decimals have never worked in this card. I am trying to address this as well.
    AnthonMS committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    05a03ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    737194f View commit details
    Browse the repository at this point in the history
  3. my-button media_player support and more bug fixes.

    my-button media_player support. It has seekbar in bottom, pause/play button in bottom left before seekbar, volume slider in right side if active and will show song title and artist under label and give it scrolling effect if text is too long to be displayed
     There has been a lot of bugs around some of the new logic with sliderMin and trying to get a transition to look nice on the slider by default. Hopefully I have found and fixed them all.
    AnthonMS committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    518c24c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    55581d9 View commit details
    Browse the repository at this point in the history