Card Cover - dckiller51/astrion-custom-dashboard GitHub Wiki
🚪 Cover Card (cover)
The Cover card allows you to control roller shutters, Venetian blinds, gates, and garage doors connected via Home Assistant with precise positioning and status feedback.
📸 Preview
✨ Features & Possibilities
- Direct Commands: Open, close, and stop actions instantly.
- Position Slider: Precise opening percentage control (e.g., setting a roller shutter to 50%).
- Tilt Control: Support for tilt angles on Venetian blinds.
⚙️ Options Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
type |
String | Required | Must be set to "cover". |
name |
String | Optional | Custom display name for the card. |
entity_id |
String | Required | The Home Assistant entity ID (e.g., cover.volet_salon). |
show_position_control |
Boolean | true |
Displays the slider to control the opening position. |
show_tilt_control |
Boolean | false |
Displays the controls for adjusting blind tilt angles. |
📄 JSON Configuration Example
Voici un exemple de configuration JSON pour intégrer des volets et stores dans votre tableau de bord :
{
"name": "Volets",
"cards": [
{
"type": "cover",
"options": {
"name": "Volet Salon",
"entity_id": "cover.volet_salon",
"show_position_control": true,
"show_tilt_control": false
}
},
{
"type": "cover",
"options": {
"name": "Volet Chambre",
"entity_id": "cover.volet_chambre",
"show_position_control": true,
"show_tilt_control": false
}
}
],
"hotkeys": [],
"longHotkeys": []
}