Skip to content

3.1.0

Compare
Choose a tag to compare
@RomRider RomRider released this 05 Jan 14:55

New Features

  • Support for https://cast.home-assistant.io (Fix #262)
  • Support for templates in custom_fields card's config (Fix #239). This let you use button-card templates with variable card configurations.
    entity: light.my_light
    custom_fields:
      slider:
        card:
          type: custom:slider-entity-row
          full_row: true
          hide_state: true
          hide_when_off: true
          entity: '[[[ return entity.entity_id ]]]' # Will be light.my_light
  • Support for variables in the templates and config templates (Fix #245)
    button_card_templates:
      variable_test:
        variables:
          var_name: "var_value"
          var_name2: "var_value2"
        name: '[[[ return variables.var_name ]]]'
    
    [...]
    
    - type: custom:button-card
      template: variable_test
      entity: sensor.test
      # name will be "var_value"
    
    - type: custom:button-card
      template: variable_test
      entity: sensor.test
      variables:
        var_name: "My local Value"
    # name will be "My local Value"

Bugfix

  • Fix #247: iPad OS was double clicking on every button... Rotten Apple!