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

Used deprecated constant #442

Closed
3 tasks
Daemo00 opened this issue Dec 31, 2024 · 2 comments
Closed
3 tasks

Used deprecated constant #442

Daemo00 opened this issue Dec 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Daemo00
Copy link

Daemo00 commented Dec 31, 2024

LocalTuya Version

2024.12.1

Home Assistant Version

2025.1.0b4

Environment

  • Does the device work using the Home Assistant Tuya Cloud component?
  • Is this device connected to another local integration, including Home Assistant and any other tools?
  • The devices are within the same HA subnet, and they get discovered automatically when I add them

What happened?

After a reboot, the following warning is logged:

Logger: homeassistant.components.light
Source: helpers/deprecation.py:222
integration: Light (documentation, issues)
First occurred: 12:04:04 (2 occurrences)
Last logged: 12:04:04

ATTR_COLOR_TEMP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'localtuya' custom integration

Steps to reproduce.

Reboot

Relevant log output

ATTR_COLOR_TEMP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'localtuya' custom integration

Diagnostics information.

No response

@Daemo00 Daemo00 added the bug Something isn't working label Dec 31, 2024
@junk67
Copy link

junk67 commented Jan 4, 2025

Just adding a bit more information. First is the HA Core Logs for the two very similar errors. Second is the debug log information.

Logger: homeassistant.components.light
Source: helpers/deprecation.py:222
integration: Light (documentation, issues)
First occurred: 8:18:55 PM (2 occurrences)
Last logged: 8:18:55 PM

ATTR_COLOR_TEMP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'localtuya' custom integration

Logger: homeassistant.components.vacuum
Source: helpers/deprecation.py:222
integration: Vacuum (documentation, issues)
First occurred: 8:18:55 PM (12 occurrences)
Last logged: 8:18:55 PM

STATE_DOCKED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'localtuya' custom integration
STATE_ERROR was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'localtuya' custom integration
STATE_IDLE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.IDLE instead, please report it to the author of the 'localtuya' custom integration
STATE_PAUSED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.PAUSED instead, please report it to the author of the 'localtuya' custom integration
STATE_RETURNING was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'localtuya' custom integration

2025-01-03 20:18:55.264 WARNING (ImportExecutor_0) [homeassistant.components.light] ATTR_COLOR_TEMP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.267 WARNING (ImportExecutor_0) [homeassistant.components.light] ATTR_COLOR_TEMP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.278 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_CLEANING was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.279 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_DOCKED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.281 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_ERROR was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.283 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_IDLE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.IDLE instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.284 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_PAUSED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.PAUSED instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.286 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_RETURNING was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.288 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_CLEANING was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.290 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_DOCKED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.291 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_ERROR was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.294 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_IDLE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.IDLE instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.296 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_PAUSED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.PAUSED instead, please report it to the author of the 'localtuya' custom integration
2025-01-03 20:18:55.299 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_RETURNING was used from localtuya, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'localtuya' custom integration

Copy link

This issue was closed because it was resolved on the release: 2025.1.0

@github-actions github-actions bot added stale and removed master/next-release Fixed in master branch, Will be ready in the next release stale labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants