Skip to content

Commit d281430

Browse files
authored
Merge pull request #25 from Nisbo/BETA
v2.1.0.Beta.5 to Main 2.1.0
2 parents 1c0e446 + 9ad39f5 commit d281430

File tree

10 files changed

+904
-226
lines changed

10 files changed

+904
-226
lines changed

README.md

Lines changed: 43 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## v2.0.0 Now with GUI configuration (German and English)
1+
## v2.1.0 YAML configuration deprecated - will be converted automatically to a "GUI-Sensor"
22

33
# Another MVG
44

@@ -8,11 +8,12 @@
88

99
2. [Create a sensor for your stop / station](#2-create-a-sensor-for-your-stop--station)
1010
2.1. [via GUI (recommended)](#option-1-via-gui-recommended)
11-
2.2. [via configuration.yaml](#option-2-via-configurationyaml)
11+
2.2. [via configuration.yaml](#option-2-via-configurationyaml-deprecated) (deprecated)
1212

1313
3. [Adding a card to your dashboard](#3-adding-a-card-to-your-dashboard)
14+
3.1. [Add the map to your dashboard](#31-add-the-map-to-your-dashboard)
1415

15-
4. [Code for your configuration.yaml](#4-code-for-your-configurationyaml)
16+
4. [Code for your configuration.yaml](#4-code-for-your-configurationyaml-deprecated) (deprecated)
1617

1718
5. [Screenshots](#5-screenshots)
1819

@@ -28,6 +29,8 @@
2829
[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?repository=another_mvg&owner=Nisbo)
2930
[![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=another_mvg)
3031

32+
* go to ```Settings``` --> ```Devices and services``` --> add integration ```another mvg``` and follow the configuration flow
33+
3134
* create a manual card with this content:
3235
```
3336
type: custom:content-card-another-mvg
@@ -105,7 +108,7 @@ Or use these steps:
105108
⚠️ It may take a minute to create the entity
106109

107110

108-
## Option 2: via ```configuration.yaml```
111+
## Option 2: via ```configuration.yaml``` (deprecated)
109112
* Configure the configuration.yaml [(see guide below)](#4-code-for-your-configurationyaml)
110113
* Check configuration.yaml with the check function under Dev-Tools
111114
* Restart HA again
@@ -127,7 +130,42 @@ entity: sensor.yourSensor
127130
⚠️ If you get the error that ```custom:content-card-another-mvg``` doesnt exist, clear the frontend / browser cache.
128131

129132

130-
# 4. Code for your configuration.yaml
133+
134+
135+
136+
### 3.1 Add the map to your dashboard
137+
138+
![grafik](https://github.com/user-attachments/assets/138f06bc-dc74-4dc6-b0ee-fbdc49af74e7)
139+
140+
The card can be added and configured directly through the map selector, like other cards.
141+
Simply go to your dashboard, click on "Add Card", search for "Another MVG", and select the card from the results.
142+
143+
![grafik](https://github.com/user-attachments/assets/aac03dfb-9358-4787-a1f8-0923aeb1db1a)
144+
145+
![grafik](https://github.com/user-attachments/assets/da13be9f-e8cf-461d-a907-7841b89bbc8a)
146+
147+
That’s all. In the standard configuration, it shows the complete map.
148+
If you want to zoom in, follow the instructions in the description.
149+
This editor is currently only available in German because I have no clue how to add language support to the card.
150+
If there is a real need, I can create an additional card for English users.
151+
152+
If, for some reason, you are not able to find the card, try clearing your frontend and browser cache, or try configuring the card on your own.
153+
154+
```
155+
type: custom:content-card-another-mvg-livemap
156+
mode: schematic
157+
x: "2750800"
158+
y: "1560005"
159+
zoom: "4.8"
160+
```
161+
162+
163+
# 4. Code for your configuration.yaml (deprecated)
164+
165+
⚠️ Currently its still working, but it will be removed in one of the next versions.
166+
All sensors from the configuration.yaml will be migrated automatically.
167+
If you see the sensors in the GUI you can remove the code from the configuration.yaml.
168+
There will be no more updates on this section in the documentation.
131169

132170
### Add the name of this integration
133171

0 commit comments

Comments
 (0)