![]() State to use for the color, icon and style of the button. If omitted, it's using the entity's units Override or define the units to display after the state of the entity. Will override the icon/the default entity_picture with your own image. Requires the stream: component to be enabled in home-assistant's config Falls back to using the icon if both are undefinedĭisplay the camera stream (if the entity is a camera). Replace the icon by the entity picture (if any) or the custom picture (if any). Replace the label altogether and display the the last_changed attribute in a nice way (eg: 12 minutes ago) Unless redefined in icon, uses the default entity icon from hassĭisplay or hide the units of a sensor, if any. defaults to false if not setįorce the display precision of the state to be with numeric_precision decimals Will pick entity_id's name by default, unless redefined in the name property or in any state name property Supports templates, see templatesĭisplay a label below the card. This will auto adapt to your screen sizeĭefine the type of action on click, if undefined, toggle will be used.ĭefine the type of action on hold, if undefined, nothing happens.ĭefine the type of action on double click, if undefined, nothing happens.ĭefine an optional text to show below the icon. By default, if the entity state is off, the color will be var(-paper-item-icon-color), for on it will be var(-paper-item-icon-active-color) and for any other state it will be var(-primary-text-color). Setting this to auto-no-temperature will behave like home-assistant's default, ignoring the temperature of the light. auto sets the color based on the color of a light including the temperature of the light. Additional color-type options blank-card and label-card can be used for organisation (see examples).Īuto | auto-no-temperature | rgb(28, 128, 199)Ĭolor of the icon/card. This allows the text/icon to be readable even if the background color is bright/dark. Setting this to card enable automatic font and icon color. Supports templates, see templatesĬolor either the background of the card or the icon inside the card. Will be overridden by the icon defined in a state (if present). When true, if any of the entities triggering a card update is a group, it will auto-expand the group and the card will update on any child entity state change. ![]() haptic support for the IOS companion AppĪny valid template from button_card_templatesĮntity_id list that would trigger a card update, see triggers_update.confirmation popup for sensitive items (optional) or locking mecanism. ![]() blank card and label card (for organization).automatic font color if color_type is set to card.card : apply color settings to the card only.icon : apply color settings to the icon only.units for sensors can be redefined or hidden.multiple layout support and custom layout support.Support for javascript templates in some fields.custom size of the icon, width and height (optional).custom state definition with customizable color, icon and style (optional).custom color (optional), or based on light rgb value/temperature.6 available actions on tap and/or hold and/or double click: none, toggle, more-info, navigate, url, assist and call-service.Changing the feedback color during a click.Button Card by Button card for your entities.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |