Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Replace deprecated constant DEVICE_CLASS_OPENING #2

Open
cyrkul opened this issue Feb 15, 2024 · 2 comments
Open

Replace deprecated constant DEVICE_CLASS_OPENING #2

cyrkul opened this issue Feb 15, 2024 · 2 comments

Comments

@cyrkul
Copy link

cyrkul commented Feb 15, 2024

Home assistant is logging warning regarding deprecated constant DEVICE_CLASS_OPENING:

2024-02-15 23:18:14.509 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_OPENING was used from froggy, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.OPENING instead, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-Froggy/issues
2024-02-15 23:18:14.510 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_OPENING was used from froggy, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.OPENING instead, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-Froggy/issues

Would it be possible to replace it to BinarySensorDeviceClass.Opening? Seems like straight forward change.

@PiotrMachowski
Copy link
Owner

Woah, somebody uses this integration 😮

@cyrkul
Copy link
Author

cyrkul commented Feb 15, 2024

Unfortunately in some places Google Maps is not showing accurate opening times, so this integration comes in handy :)

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants