veista / smartthings

A fork of the Home Assistant SmartThings Integration. This adds better support for Samsung OCF Devices.
168 stars 39 forks source link

This is a deprecated constant which will be removed in HA Core 2025.1 #98

Open DeFlanko opened 6 months ago

DeFlanko commented 6 months ago

Some log entries

2024-02-28 12:39:42.962 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please create a bug report at https://github.com/veista/smartthings/issues
2024-02-28 12:39:42.967 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/veista/smartthings/issues
2024-02-28 12:39:42.970 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/veista/smartthings/issues
2024-02-28 12:39:42.974 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/veista/smartthings/issues
FilipeOS commented 5 months ago
Logger: custom_components.smartthings.smartapp
Source: custom_components/smartthings/smartapp.py:330
integration: SmartThings
First occurred: 22:30:12 (6 occurrences)
Last logged: 22:30:12

Failed to create subscription for 'tag.tagButton' under app '86b4f40f-9a8f-4d94-9d93-XXX': Unprocessable Entity (422): {"requestId": "YYY", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'samsungce.deviceIdentification' under app '86b4f40f-9a8f-4d94-9d93-XXX': Unprocessable Entity (422): {"requestId": "YYY", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'custom.error' under app '86b4f40f-9a8f-4d94-9d93-021756dfbead': Unprocessable Entity (422): {"requestId": "YYY", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'custom.disabledCapabilities' under app '86b4f40f-9a8f-4d94-9d93-XXX': Unprocessable Entity (422): {"requestId": "YYY", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'samsungce.softwareUpdate' under app '86b4f40f-9a8f-4d94-9d93-XXX': Unprocessable Entity (422): {"requestId": "YYY", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:188
First occurred: 22:30:09 (2 occurrences)
Last logged: 22:30:10

Detected that custom integration 'smartthings' accesses hass.components.cloud. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from cloud directly at custom_components/smartthings/smartapp.py, line 232: and hass.components.cloud.async_active_subscription(), please create a bug report at https://github.com/veista/smartthings/issues
Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
Logger: homeassistant.components.climate.const
Source: helpers/deprecation.py:206
integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 22:30:12 (16 occurrences)
Last logged: 22:30:12

SUPPORT_FAN_MODE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/veista/smartthings/issues
SUPPORT_SWING_MODE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please create a bug report at https://github.com/veista/smartthings/issues
SUPPORT_TARGET_TEMPERATURE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/veista/smartthings/issues
SUPPORT_TARGET_TEMPERATURE_RANGE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/veista/smartthings/issues
SUPPORT_PRESET_MODE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/veista/smartthings/issues
Logger: custom_components.smartthings.smartapp
Source: custom_components/smartthings/smartapp.py:376
integration: SmartThings
First occurred: 22:30:12 (1 occurrences)
Last logged: 22:30:12

Some device attributes may not receive push updates and there may be subscription creation failures under app '86b4f40f-9a8f-4d94-9d93-XXXXX' because 54 subscriptions are required but there is a limit of 40 per app
Logger: homeassistant.components.cover
Source: helpers/deprecation.py:206
integration: Cover ([documentation](https://www.home-assistant.io/integrations/cover), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+cover%22))
First occurred: 22:30:12 (12 occurrences)
Last logged: 22:30:12

DEVICE_CLASS_GARAGE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverDeviceClass.GARAGE instead, please create a bug report at https://github.com/veista/smartthings/issues
DEVICE_CLASS_SHADE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverDeviceClass.SHADE instead, please create a bug report at https://github.com/veista/smartthings/issues
SUPPORT_CLOSE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please create a bug report at https://github.com/veista/smartthings/issues
SUPPORT_OPEN was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please create a bug report at https://github.com/veista/smartthings/issues
SUPPORT_SET_POSITION was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at https://github.com/veista/smartthings/issues
Logger: homeassistant.components.binary_sensor
Source: helpers/deprecation.py:206
integration: Binary sensor ([documentation](https://www.home-assistant.io/integrations/binary_sensor), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+binary_sensor%22))
First occurred: 22:30:12 (16 occurrences)
Last logged: 22:30:13

DEVICE_CLASS_MOVING was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.MOVING instead, please create a bug report at https://github.com/veista/smartthings/issues
DEVICE_CLASS_OPENING was used from smartthings, 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/veista/smartthings/issues
DEVICE_CLASS_PRESENCE was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.PRESENCE instead, please create a bug report at https://github.com/veista/smartthings/issues
DEVICE_CLASS_PROBLEM was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.PROBLEM instead, please create a bug report at https://github.com/veista/smartthings/issues
DEVICE_CLASS_SOUND was used from smartthings, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.SOUND instead, please create a bug report at https://github.com/veista/smartthings/issues
perseus177 commented 4 months ago

Same problem

cgraf commented 1 month ago

https://github.com/veista/smartthings/issues/96#issuecomment-2269116367