custom:appliance-gas-cylinder-card: a propane cylinder drawn in SVG, in the 5 kg, 11 kg or 33 kg format. The gas level rises and falls inside the cylinder (rippling surface, bubbles), the liquid turns orange at the low level and red at the critical level. Made for Bluetooth LPG level sensors (Mopeka, EPTTECH LPG-2412-BT…) or any sensor that gives a level in % or a mass in kg.
Every entity is optional, but give at least entity or entity_remaining:
| Option | What it does |
|---|---|
entity |
level of the cylinder: a sensor in % (default) or in kg / g / lb (detected from its unit) |
entity_remaining |
gas left in kg (g and lb are converted). If only one of the two is given, the other is computed from the capacity |
entity_battery |
battery of the level sensor (%): tile, turns orange under battery_low (20 %) |
entity_signal |
Bluetooth signal of the sensor (dBm, % or a text such as Good) |
cylinder_size |
5, 11 (default) or 33: the drawing and the gas capacity (kg) |
capacity |
other gas capacity in kg (e.g. 13 for a 13 kg cylinder): overrides cylinder_size for the kg ↔ % conversion |
cylinder_color |
grey (default), red, green, blue, orange, or any CSS colour (#hex, rgb(), name) |
gas_label |
text on the label band (default PROPANE) |
low_level / critical_level |
thresholds in % (defaults 20 and 10): the badge goes Low then Critical, and Empty at 2 % or less |
show_status, show_remaining, show_level, show_battery, show_signal, compact, animations, labels, language, illustration_size, transparent, tile_background, tile_order |
 |
Tiles: gas left (kg), level (%), sensor battery, sensor signal. A tap on the drawing or a tile opens the entity.
type: custom:appliance-gas-cylinder-card
name: Barbecue
cylinder_size: 11
cylinder_color: red
entity: sensor.lpg_level # %
entity_remaining: sensor.lpg_remaining_kg
entity_battery: sensor.lpg_battery
entity_signal: sensor.lpg_rssi
low_level: 25
critical_level: 10