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

STATE_UNLOCKED was used from nodered, this is a deprecated constant #307

Closed
DirkMu opened this issue Oct 3, 2024 · 3 comments · May be fixed by #309
Closed

STATE_UNLOCKED was used from nodered, this is a deprecated constant #307

DirkMu opened this issue Oct 3, 2024 · 3 comments · May be fixed by #309

Comments

@DirkMu
Copy link

DirkMu commented Oct 3, 2024

Describe the bug

I am on HA Core 2024.10 and get the following warning:

(ImportExecutor_0) [homeassistant.const] STATE_UNLOCKED was used from nodered, this is a deprecated constant which will be removed in HA Core 2025.10. Use LockState.UNLOCKED instead, please report it to the author of the 'nodered' custom integration

(MainThread) [homeassistant.helpers.frame] Detected that custom integration 'nodered' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/nodered/switch.py, line 62: platform.async_register_entity_service(, please create a bug report at https://github.com/zachowj/hass-node-red/issues

To Reproduce

Restart HA
Maybe 2024.10 required

Expected behavior

No response

Screenshots

No response

Example Flow

No response

Environment Information

Version: 0.73.0

Home Assistant version: 2024.10.0
Companion version: 4.1.1

Node-RED version: 4.0.3
Docker: yes
Add-on: no

Node.js version: v20.17.0 x64 linux
OS: Linux 4.4.302+ x64

Additional context

No response

@Guenni9
Copy link

Guenni9 commented Oct 11, 2024

Thank You!

The first issue is gone with 4.12-binary_sensor.py, but

(ImportExecutor_0) [homeassistant.const] STATE_UNLOCKED was used from nodered, this is a deprecated constant which will be removed in HA Core 2025.10. Use LockState.UNLOCKED instead, please report it to the author of the 'nodered' custom integration

still occurs for me. Any hint?

@Guenni9
Copy link

Guenni9 commented Oct 11, 2024

see also #296

@DirkMu
Copy link
Author

DirkMu commented Oct 11, 2024

Yes, 4.12 has not been released yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants