Skip to content

Releases: custom-cards/button-card

v3.5.0-dev.2

02 Apr 14:55
Compare
Choose a tag to compare
v3.5.0-dev.2 Pre-release
Pre-release

3.5.0-dev.2 (2023-04-02)

Bug Fixes

  • card broken with HA 2023.04bXX (9b4f1e2), closes #669 #671
  • extra space at bottom because of button-card-action-handler (699b57d), closes #672
  • remove border from blank card (b05c6b4), closes #652

Documentation

v3.5.0-dev.1

17 Feb 21:41
Compare
Choose a tag to compare
v3.5.0-dev.1 Pre-release
Pre-release

3.5.0-dev.1 (2021-02-17)

Features

  • state_display: Support for state_display in state (440dc77), closes #426

v3.4.2

17 Feb 20:57
Compare
Choose a tag to compare

3.4.2 (2021-02-17)

Bug Fixes

3.4.1

27 Dec 14:28
Compare
Choose a tag to compare

Bug fixes

  • Clicks on embedded cards were triggering the action of button-card (Fixes #410)

Other

  • Remove the ellipsis class from embedded cards

3.4.0

02 Dec 14:06
Compare
Choose a tag to compare

New Features

  • Auto expand groups with group_expand: true. This helps when your entity or any entity from triggers_update or any discovered entity is a group and you want to update the card also when child entities are updated (eg: counting the number of entities which are on in a group). This works with nested groups too. (Fix #392)

  • Support for configuring the card size for the auto-layout feature of lovelace using card_size. Default value is still 3, but you can now override it. Lovelace multiplies the value by about 50px for the auto layout feature.

    type: custom:button-card
    entity: switch.my_switch
    card_size: 42
  • Support for displaying a tooltip while hoovering the card for 1.5s using the tooltip parameter. It supports javascript templates. You can also apply any CSS style to the tooltip (either in the main styles config object or in any of the state entry).

    type: custom:button-card
    entity: switch.my_switch
    tooltip: |
      [[[
        return entity.state
      ]]]
    styles:
      tooltip:
        - color: '[[[ return entity.state === "on" ? "red" : "green" ]]]'

    or

    type: custom:button-card
    entity: switch.my_switch
    tooltip: |
      [[[
        return entity.state
      ]]]
    state:
      - value: 'on'
        styles:
          tooltip:
            - color: red
      - value: 'off'
        styles:
          tooltip:
            - color: green

Bugfixes

  • Don't take brightness into account if the light is off (this is a bogus implementation of the light entity probably). Fix #378
  • Fix deprecation of --paper-card-background-color
  • Fix Timer not updating on page change (#365)

Other

  • Documentation typos (Thanks to all the contributors)
  • Some perf upgrades (probably only noticeable on slow systems)
  • Update all dependencies

3.4.0-5

08 Nov 15:02
Compare
Choose a tag to compare
3.4.0-5 Pre-release
Pre-release

Other

  • Remove double babel call
  • Some more (tiny) perf upgrades
  • Update to latest lit-element and lit-html

3.4.0-4

06 Nov 17:50
Compare
Choose a tag to compare
3.4.0-4 Pre-release
Pre-release

Other

  • Update all dependencies
  • Probably some (unnoticeable) perf improvments

3.4.0-3

05 Nov 01:28
Compare
Choose a tag to compare
3.4.0-3 Pre-release
Pre-release

Bugfixes

  • Attempt to fix slowness on IOS14 (#375)

3.4.0-2

01 Nov 19:43
Compare
Choose a tag to compare
3.4.0-2 Pre-release
Pre-release

New features

  • Auto expand groups with group_expand: true. This helps when your entity or any entity from triggers_update or any discovered entity is a group and you want to update the card also when child entities are on (eg: counting the number of entities which are on in a group). This works with nested groups too. (Fix #392)

3.4.0-1

17 Oct 15:07
Compare
Choose a tag to compare
3.4.0-1 Pre-release
Pre-release

Bug fixes

  • Don't take brightness into account if the light is off (this is a bogus implementation of the light entity probably). Fix #378