Generate unique IDs for ical sensor entities #144
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As the integration did not generate unique IDs it was not possible to edit them in a convenient and supported way:
![Bildschirmfoto 2024-09-22 um 08 11 19](https://private-user-images.githubusercontent.com/70015952/369668023-334e11ec-da40-4026-8a7b-096f2659992b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjk5MDksIm5iZiI6MTczOTAyOTYwOSwicGF0aCI6Ii83MDAxNTk1Mi8zNjk2NjgwMjMtMzM0ZTExZWMtZGE0MC00MDI2LThhN2ItMDk2ZjI2NTk5OTJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE1NDY0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1YTI1ODg1ZTA5NjM4NjQyYjNhYTFmMjYxMzAzMDJkOTgzYTY1MzA4MGVmMDg4OTk5MTk0Y2FkZDljNzI5ZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.O2qZ9Gh6z8Fc2dDl-CNgB_v9AgMp5JHifYtgrZlBgVo)
With this PR unique IDs are introduced which enables:
Added also some cleanup/liniting to the code to make it more readable 😄