From db74954dea57d0f56fef7d88ac1e2790238305bb Mon Sep 17 00:00:00 2001 From: wilbiev Date: Mon, 23 Dec 2024 19:22:43 +0000 Subject: [PATCH] Update docs --- .../custom_card_iAbadia_battery_chip.md | 58 +++++++++++++++++++ .../custom_card_schumijo_flower.md | 35 ++++++++++- 2 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 docs/usage/custom_cards/custom_card_iAbadia_battery_chip.md diff --git a/docs/usage/custom_cards/custom_card_iAbadia_battery_chip.md b/docs/usage/custom_cards/custom_card_iAbadia_battery_chip.md new file mode 100644 index 000000000..05a56b8fe --- /dev/null +++ b/docs/usage/custom_cards/custom_card_iAbadia_battery_chip.md @@ -0,0 +1,58 @@ +--- +title: iAbadia's Battery Chip Custom Card +hide: + - toc +--- + + + +# Custom-card "Battery Chip" + +This is a `custom-card` or `custom-chip` to see your device's battery level at a glance. + +![Screenshot](../../assets/img/custom_card_iAbadia_battery_chip.png) + +## Credits + +Author: Iñaki Abadia - 2024 +Version: 1.0.0 + +## Changelog + +
+1.0.0 +Initial release +
+ +## Requirements + +None + +## Usage + +```yaml +type: "custom:button-card" +template: custom_card_iAbadia_battery_chip +variables: + ulm_custom_card_iAbadia_battery_chip_entity: sensor.living_room_sensor_battery + ulm_custom_card_iAbadia_battery_chip_icon: mdi:thermostat + ulm_custom_card_iAbadia_battery_chip_warning: 30 + ulm_custom_card_iAbadia_battery_chip_danger: 10 +``` + +## Variables + +| Variable | Example | Required | Explanation | +| ---------------------------------------------- | -------------------- | -------- | ----------------------------------------------------- | +| ulm_custom_card_iAbadia_battery_chip_entity | `sensor.temperature` | ✓ | Battery entity | +| ulm_custom_card_iAbadia_battery_chip_icon | `mdi:thermometer` | ✘ | Icon to be displayed. Will default to mdi:battery | +| ulm_custom_card_iAbadia_battery_chip_warning | `20` | ✘ | Battery level below which to color as warning (yellow) | +| ulm_custom_card_iAbadia_battery_chip_danger | `10` | ✘ | Battery level below which to color as danger (red) | + +## Template Code + +??? note "Template Code" + + ```yaml title="custom_card_irmajavi_speedtest.yaml" + --8<-- "custom_cards/custom_card_iAbadia_battery_chip/custom_card_iAbadia_battery_chip.yaml" + ``` diff --git a/docs/usage/custom_cards/custom_card_schumijo_flower.md b/docs/usage/custom_cards/custom_card_schumijo_flower.md index 994a3c851..9acad317a 100644 --- a/docs/usage/custom_cards/custom_card_schumijo_flower.md +++ b/docs/usage/custom_cards/custom_card_schumijo_flower.md @@ -14,8 +14,9 @@ This is a `custom-card` to display a plant entity. Shows state of the plant and ## Credits -Author: schumijo - 2021 -Version: 1.1.0 +- Author: schumijo - 2021 +- Update 2.0.0 : Ashino - 2024 +- Version: 2.0.0 ## Changelog @@ -28,6 +29,11 @@ Initial release Fix language files for beta5 Updated README +
+2.0.0 +Add support to lovelace-flower-card from Olen (advanced forked version) +Updated README +
## Usage @@ -38,6 +44,10 @@ Updated README ulm_card_flower_entity: plant.bonsai_ficus ulm_card_flower_name: Bonsai Ficus ulm_card_flower_species: "ficus retusa" + ulm_card_flower_show_bars: + - temperature + - humidity + - moisture ``` #### Variables @@ -67,11 +77,30 @@ Updated README yes The species of your plant + +ulm_card_flower_show_bars + +- temperature +
+- moisture +
+- humidity + +no +The bar you want to display. Any of : +
  • illuminance
  • +
  • humidity
  • +
  • moisture
  • +
  • conductivity
  • +
  • temperature
  • +
  • dli
  • + + ## Requirements -Need [lovelace-flower-card](https://github.com/thomasloven/lovelace-flower-card) +Need [lovelace-flower-card](https://github.com/Olen/lovelace-flower-card) ## Template code