LightwaveSmartHome / homeassistant-lightwave-smart

Lightwave custom component for Home Assistant. Requires a Link Plus hub (Smart Series / generation 2), but will control both generation 1 ("Connect Series") and generation 2 ("Smart Series") devices.
https://www.lightwaverf.com
9 stars 1 forks source link

deprecated constant which will be removed in HA Core 2025.1. #9

Open JohnSchols opened 6 months ago

JohnSchols commented 6 months ago

on restarting home assistant the log is displaying the following WARNINGS.

Ideally provide output from homeassistant.log, preferably with additional logging enabled. 2024-02-21 08:56:56.469 INFO (MainThread) [homeassistant.components.switch] Setting up lightwave2.switch 2024-02-21 08:56:56.476 INFO (MainThread) [homeassistant.components.light] Setting up lightwave2.light 2024-02-21 08:56:56.501 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.510 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.522 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_HUMIDITY was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.532 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.542 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.552 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.563 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.573 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.585 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.596 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.597 INFO (MainThread) [homeassistant.components.climate] Setting up lightwave2.climate 2024-02-21 08:56:56.620 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.632 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.644 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.657 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.670 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.683 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.685 INFO (MainThread) [homeassistant.components.cover] Setting up lightwave2.cover 2024-02-21 08:56:56.704 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_WINDOW was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.WINDOW instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.716 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_PLUG was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.PLUG instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.726 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_MOTION was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.MOTION instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.735 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_WINDOW was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.WINDOW instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.745 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_PLUG was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.PLUG instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.755 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_MOTION was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.MOTION instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.756 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up lightwave2.binary_sensor 2024-02-21 08:56:56.773 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.785 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.793 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.803 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.812 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.822 WARNING (MainThread) [homeassistant.const] ENERGY_WATT_HOUR was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.831 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_POWER was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.841 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ENERGY was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ENERGY instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.850 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_SIGNAL_STRENGTH was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.SIGNAL_STRENGTH instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.860 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_BATTERY was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.869 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_TIMESTAMP was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TIMESTAMP instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.881 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.894 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_MILLIAMPERE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.MILLIAMPERE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.909 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_CURRENT was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.CURRENT instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.922 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_VOLTAGE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.VOLTAGE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.933 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ILLUMINANCE was used from lightwave2, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ILLUMINANCE instead, please report it to the author of the 'lightwave2' custom integration 2024-02-21 08:56:56.935 INFO (MainThread) [homeassistant.components.sensor] Setting up lightwave2.sensor 2024-02-21 08:56:56.940 INFO (MainThread) [homeassistant.components.lock] Setting up lightwave2.lock

To enable additional logging, add the following to configuration.yaml

logger: default: warning logs: lightwave_smart.lightwave_smart: debug custom_components.lightwave_smart: debug

ikb42 commented 6 months ago

hi, it looks like you're using the previous version: lightwave2 ?