Defaults to the entity iconĭefine the type of action on click, if undefined, toggle will be used.See Actionĭefine the type of action on hold, if undefined, nothing happens See ActionĬard_room.yaml - card_room : template : - "ulm_translation_engine" variables : label_use_temperature : true label_use_brightness : false double_tap_action : action : "call-service" service : "input_lect_option" service_data : option : "]]" entity_id : "]]" color : "var(-google-grey-500)" size : "45%" aspect_ratio : "1/1" show_icon : true show_label : true show_name : true icon : "mdi:sofa-single" label : |- ]] variables : "]]" state : - operator : "template" value : "]]" styles : card : - display : "none" entity : "]]" widget_icon_room : variables : tap_action : action : "toggle" hold_action : action : "more-info" tap_action : action : "]]" entity : "]]" navigation_path : "[[[ return variables.tap_action. Create a lighting group: Tap Devices > plus sign > Add Group. holdaction map (Optional) The action taken on card tap and hold. Sengled makes the worlds most advanced light bulbs with color, motion sensors, speakers. For more information, see the action documentation. tapaction map (Optional) The action taken on card tap. The full list can be found here: link Options statecolor boolean (Optional, default: true) If false, the icon does not change color when the entity is active. on the Ui in Lovelace I have some colorverse ngc 6302. - type: glance title: Lights entities: - entity: group.bedroom icon: mdi:lamp tapaction: action: toggle - entity: group.office icon: mdi:lightbulb tapaction: action: toggle - entity: group.kitchen icon: mdi:lightbulb name: Kitchen tapaction: action: toggle - entity: group.livingroom icon: mdi:lightbulb. For this readme the cards are divided into three groups. It is depending on two things, namely using a theme and make extensive use of the template function from the customcomponent button-card made by RomRaider. If you want to tweak this card a little bit more, below are some examples. Changing templates List of templates Tap actions Color scheme Icons. Usage UI-Lovelace-Minimalist Usage Using this theme is not difficult, but you need to know a few basics, so your design can make its best impression. Tap_action for the icon (see button card documentation for options)Īll the options from the button card are still available for the large room card. List of the additional button card templates to apply to this icon Variables ¶ Variableĭefine whether the label should show the current room temperatureThe temperature should be provide by either a temperature or current_temperature attribute or by the entity stateĭefine whether the label should show the current room brightness of the lightsRequires label_use_temperature to be false These can be configured using custom colors and tap actions. The card has support for up to 4 subicons at the right side of the card. and DWD severe weather warnings card for Home Assistant Lovelace UI. This is the room-card, used to show the state of single room in a quick glance. Customize Low Carbon Energy label, icon, circle color, icon color and state.
0 Comments
Leave a Reply. |