Skip to content

Commit 114499e

Browse files
committed
docs: Integrate Automation Cookbook into navigation and home page
1 parent 68b719d commit 114499e

5 files changed

Lines changed: 15 additions & 7 deletions

File tree

custom_components/db_infoscreen/strings.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"via_stations": "Only show departures via",
2525
"direction": "Only show departures in direction",
2626
"excluded_directions": "Exclude departures in direction",
27-
"ignored_train_types": "Do not track specified train types (f.e. ICE)"
27+
"ignored_train_types": "Do not track specified train types (f.e. ICE)",
28+
"show_occupancy": "Show Occupancy Information"
2829
}
2930
}
3031
},
@@ -90,7 +91,8 @@
9091
"detailed": "Detailed Information",
9192
"enable_text_view": "Enable Simplified Text View",
9293
"admode": "Display Mode",
93-
"hidelowdelay": "Hide Low Delay"
94+
"hidelowdelay": "Hide Low Delay",
95+
"show_occupancy": "Show Occupancy Information"
9496
}
9597
},
9698
"advanced_options": {

custom_components/db_infoscreen/translations/de.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"via_stations": "Zeige nur Abfahrten über",
2525
"direction": "Zeige nur Abfahrten in Richtung",
2626
"excluded_directions": "Zeige keine Abfahrten in Richtung",
27-
"ignored_train_types": "Exkludiere bestimmte Zugarten (z.B. ICE)"
27+
"ignored_train_types": "Exkludiere bestimmte Zugarten (z.B. ICE)",
28+
"show_occupancy": "Auslastungsinformationen anzeigen"
2829
}
2930
}
3031
},
@@ -90,7 +91,8 @@
9091
"detailed": "Detaillierte Informationen",
9192
"enable_text_view": "Aktiviere vereinfachte Textansicht (für ePaper)",
9293
"admode": "Bevorzugte Zeitdarstellung",
93-
"hidelowdelay": "Verzögerungen unterdrücken"
94+
"hidelowdelay": "Verzögerungen unterdrücken",
95+
"show_occupancy": "Auslastungsinformationen anzeigen"
9496
}
9597
},
9698
"advanced_options": {

custom_components/db_infoscreen/translations/en.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"via_stations": "Only show departures via",
2525
"direction": "Only show departures in direction",
2626
"excluded_directions": "Exclude departures in direction",
27-
"ignored_train_types": "Do not track specified train types (f.e. ICE)"
27+
"ignored_train_types": "Do not track specified train types (f.e. ICE)",
28+
"show_occupancy": "Show Occupancy Information"
2829
}
2930
}
3031
},
@@ -90,7 +91,8 @@
9091
"detailed": "Detailed Information",
9192
"enable_text_view": "Enable Simplified Text View",
9293
"admode": "Display Mode",
93-
"hidelowdelay": "Hide Low Delay"
94+
"hidelowdelay": "Hide Low Delay",
95+
"show_occupancy": "Show Occupancy Information"
9496
}
9597
},
9698
"advanced_options": {

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,11 @@ This project is a bridge between the Home Assistant ecosystem and the wider open
9999
| **Deep Attributes** | Access route info, warnings, messages, train composition (`wagon_order`), and unique `trip_id`. |
100100
| **Occupancy** | See how full the train is (1-4 scale) before it arrives. |
101101
| **Station Search** | Integrated search prevents typos by letting you pick from official station names. |
102+
| **Example Automations** | [Cookbook](automations.md) with alerts for platform changes, cancellations, and more. |
102103
| **ePaper Ready** | Built-in "Text View" mode for ESPHome/ePaper displays. |
103104

104105
---
105106

106107
## 🚀 Getting Started
107108

108-
[Install with HACS](installation.md){ .md-button .md-button--primary } [View Settings](configuration.md){ .md-button }
109+
[Install with HACS](installation.md){ .md-button .md-button--primary } [View Settings](configuration.md){ .md-button } [Example Automations](automations.md){ .md-button }

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ nav:
9191
- Configuration: configuration.md
9292
- Options: options.md
9393
- Advanced: advanced.md
94+
- Automations: automations.md
9495
- Limitations: limitations.md
9596
- Troubleshooting: troubleshooting.md
9697
- Development: development.md

0 commit comments

Comments
 (0)