Skip to content

Commit 229cf4a

Browse files
Start of repair
1 parent 34f46c3 commit 229cf4a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

custom_components/calendar_event/const.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
CONF_SUMMARY = "summary"
2727

2828
ATTR_DESCRIPTION = "description"
29+
30+
ISSUE_MISSING_CALENDAR_ENTITY = "missing_calendar_entity"

custom_components/calendar_event/translations/en.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,19 @@
3131
}
3232
}
3333
}
34+
},
35+
"issues": {
36+
"missing_calendar_entity": {
37+
"title": "Calendar entity missing for {entry_title}",
38+
"description": "The calendar entity `{calendar_entity}` is no longer available. Please update the configuration to select a different calendar entity.",
39+
"fix_flow": {
40+
"step": {
41+
"confirm": {
42+
"title": "Update calendar entity",
43+
"description": "The calendar entity `{calendar_entity}` is no longer available for the Calendar Event helper '{entry_title}'. Click 'Submit' to open the configuration options and select a different calendar entity."
44+
}
45+
}
46+
}
47+
}
3448
}
3549
}

0 commit comments

Comments
 (0)