Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace DEVICE_CLASS_TIMESTAMP with SensorDeviceClass.TIMESTAMP #23

Merged

Conversation

040medien
Copy link
Contributor

This PR updates the stadtreinigung_hamburg custom integration to replace the deprecated DEVICE_CLASS_TIMESTAMP with SensorDeviceClass.TIMESTAMP. This change addresses deprecation warnings and ensures future compatibility with Home Assistant Core 2025.1.

This fixes issue #18

Update sensor.py to use SensorDeviceClass.TIMESTAMP instead of the deprecated DEVICE_CLASS_TIMESTAMP, ensuring compatibility with Home Assistant Core 2025.1.
@vigonotion vigonotion merged commit cd81e45 into custom-components:master Oct 29, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants