Skip to content

Commit 89f91ec

Browse files
authored
Support for 1.3.3.3
1 parent 4da6790 commit 89f91ec

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ entities:
194194

195195
## Devices
196196

197-
Devices are power feeds within your home that you want to show in the card. By default, device power is not subtracted from the home power value. If you want that to happen, set the card-level `subtract_devices_from_home: true`.
197+
Devices are power feeds within your home that you want to show in the card. By default, device power is not subtracted from the home power value. If you want that to happen, set the card-level `subtract_devices_from_home: true`. You can override this per device with `subtract_from_home` (omit it to inherit the card-level setting).
198198

199199
**Important:** Any entity can be used in the device section to show icon/label, but only entities with `device_class: power` will be subtracted from the home power if `subtract_devices_from_home: true`. In addition, only devices with `device_class: power` will show power flow lines in the devices section.
200200

@@ -211,6 +211,7 @@ Devices are power feeds within your home that you want to show in the card. By d
211211
| Icon | `icon` | Optional icon for the device badge. |
212212
| Color | `color` | Optional color override for that device. |
213213
| Threshold | `threshold` | Dims/zeros device below threshold (in watts) (per `threshold_mode`). |
214+
| Subtract from home | `subtract_from_home` | Overrides card-level `subtract_devices_from_home` for this device. |
214215
| Force hide under threshold | `force_hide_under_threshold` | If true, hides the device entirely when under threshold. Will hide at 0 W if no threshold set. |
215216
| Decimals | `decimal_places` | Decimal places for that device (defaults to card-level `decimal_places`). |
216217
| Unit of Measurement | `unit` / `unit_of_measurement` | Converts `W` to `kW` if set to `kW` |
@@ -229,6 +230,7 @@ Example below of how devices can be setup:
229230
- entity: sensor.pool_pump_power
230231
icon: mdi:pool
231232
threshold: 50
233+
subtract_from_home: false
232234
- entity: climate.garage
233235
attribute: temperature
234236
unit: "C"
@@ -351,4 +353,4 @@ entities:
351353
attribute: temperature
352354
unit: "C"
353355
threshold: 50
354-
```
356+
```

0 commit comments

Comments
 (0)