Skip to content

Commit

Permalink
Updated readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kgn3400 committed Jul 15, 2024
1 parent edd34f7 commit daac2d9
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion custom_components/calendar_merge/calendar_handler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Calendar handler helper."""
"""Calendar handler."""

from __future__ import annotations

Expand Down
1 change: 1 addition & 0 deletions custom_components/calendar_merge/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ class ConfigFlowHandler(SchemaConfigFlowHandler, domain=DOMAIN):
config_flow = CONFIG_FLOW
options_flow = OPTIONS_FLOW

# ------------------------------------------------------------------
def async_config_entry_title(self, options: Mapping[str, Any]) -> str:
"""Return config entry title."""

Expand Down
2 changes: 1 addition & 1 deletion custom_components/calendar_merge/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"arrow"
],
"ssdp": [],
"version": "1.0.0",
"version": "1.0.1",
"zeroconf": []
}
2 changes: 1 addition & 1 deletion custom_components/calendar_merge/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __init__(
]

self.coordinator.update_method = self.async_refresh
self.coordinator.update_interval = timedelta(minutes=1)
self.coordinator.update_interval = timedelta(minutes=5)

self.platform: EntityPlatform = entity_platform.async_get_current_platform()

Expand Down
2 changes: 1 addition & 1 deletion custom_components/calendar_merge/translations/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
},
"issues": {
"missing_entity": {
"description": "Det ser ud til, at entiteten `{entity}` enten er blevet slettet eller omdøbt, som bruges i Kalenderbegivenheder hjælperen `{calendar_merge_helper}`.\n\n Venligst løs dette problem.",
"description": "Det ser ud til, at entiteten `{entity}` enten er blevet slettet eller omdøbt, som bruges i Kalenderfletning hjælperen `{calendar_merge_helper}`.\n\n Venligst løs dette problem.",
"title": "Kalenderfletning hjælper: Entitet slettet eller omdøbt"
},
"template_error": {
Expand Down
2 changes: 1 addition & 1 deletion custom_components/calendar_merge/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"show_show_end_date": "Show end date",
"show_summary": "Show summary",
"use_summary_as_entity_name": "Use summary as entity name",
"format_language": "Language to usr for formatting date and time",
"format_language": "Language to use for formatting date and time",
"md_header_template": "Header template for markdown text",
"md_item_template": "Item template for markdown text. Values = package_name, version and old_version. Use html tag 'br' for linebreak"
}
Expand Down
Binary file modified images/config1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/config2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

The calendar merge helper allows you to create an overall overview for one or more calendars. For a certain number of days into the future and a maximum number of events.

There will be created a main sensor with the number of calendar events. And attributes with events formatted and raw to create the markdown text.
There will be created a calendar with the merged calendar events and a main sensor with the number of calendar events. And attributes with events formatted and raw to create the markdown text or used a template.
And for each event there will be created a sensor with a postfix _event_0 to _event_x with the summary and the event date.
Please note that changes to the monitored calendars first will be reflected in the Calendar merge helper within a couple of minutes.

For installation instructions until the Calendar merge helper is part of HACS, [see this guide](https://hacs.xyz/docs/faq/custom_repositories).
Or click
Expand Down

0 comments on commit daac2d9

Please sign in to comment.