We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf95a7 commit 4faf285Copy full SHA for 4faf285
custom_components/calendar_event/binary_sensor.py
@@ -196,8 +196,8 @@ async def _update_state(self) -> None:
196
197
def _matches_criteria(self, event_summary: str) -> bool:
198
"""Check if event summary matches the configured criteria."""
199
- event_summary_lower = event_summary.lower()
200
- summary_lower = self._summary.lower()
+ event_summary_lower = event_summary.casefold()
+ summary_lower = self._summary.casefold()
201
202
if self._comparison_method == "contains":
203
return summary_lower in event_summary_lower
0 commit comments