You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `battery-card` is a slightly enhanced `generic-card`, that can indicate whether and how a device is being charged and colors the icon based on the battery level.
13
17
14
18
## Variables
@@ -20,6 +24,7 @@ The `battery-card` is a slightly enhanced `generic-card`, that can indicate whet
20
24
| ulm_card_battery_attribute || :material-close: | If your entity provides the battery percent in an attribute (= not as an own sensor), fill in the attribute's name here. E.g. if you have `sensor.livingroom_thermometer` and the attribute for your battery power is `sensor.livingroom_thermometer.attributes.battery_percent`, you fill in battery_percent here. |
21
25
| ulm_card_battery_battery_state_entity_id || :material-close: | Entity that holds the battery state (charging/discharging). If provided, the Icon will display the current status. |
22
26
| ulm_card_battery_charger_type_entity_id || :material-close: | Entity that holds the charger type (ac/wireless/none). This Entity replaces the need for the `ulm_card_battery_battery_state_entity_id` entity. If provided, the Icon will display the current charger type. This is only useful if you charge your devices Wireless and with cable. |
27
+
| ulm_card_battery_charging_animation |`false`| :material-close: | Weather to show charging animation or not. If set to `true`, `ulm_card_battery_battery_state_entity_id` needs to be defined and `ulm_card_battery_charger_type_entity_id` will be ignored. |
23
28
| ulm_card_battery_battery_level_danger || :material-check: | Changes the color of the Icon, if the battery level falls below the provided value. Must be higher than `ulm_card_battery_battery_level_waring`|
24
29
| ulm_card_battery_battery_level_waring || :material-check: | Changes the color of the Icon, if the battery level falls below the provided value. |
25
30
| ulm_card_battery_color_battery_level_danger | var(--google-red) | :material-close: | Color of icon if battery level is within the 'danger' zone. |
0 commit comments