jheling / freeathome

Free@Home component for Home Assistant
103 stars 37 forks source link

Changes to HA #175

Closed LRG-Pasty closed 3 months ago

LRG-Pasty commented 5 months ago

Debug on HA is showing depreciation code changed as follows

2024-01-06 18:14:55.392 WARNING (MainThread) [homeassistant.const] SPEED_KILOMETERS_PER_HOUR was used from freeathome, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.KILOMETERS_PER_HOUR instead, please report it to the author of the 'freeathome' custom integration 2024-01-06 18:14:55.400 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.438 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from freeathome, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please report it to the author of the 'freeathome' custom integration 2024-01-06 18:14:55.447 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.456 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.465 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.474 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.520 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.532 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.541 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from freeathome, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please report it to the author of the 'freeathome' custom integration 2024-01-06 18:14:55.550 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_TILT_POSITION was used from freeathome, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_TILT_POSITION instead, please report it to the author of the 'freeathome' custom integration 2024-01-06 18:14:55.558 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.567 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.577 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.586 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from freeathome, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please report it to the author of the 'freeathome' custom integration 2024-01-06 18:14:55.595 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_TILT_POSITION was used from freeathome, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_TILT_POSITION instead, please report it to the author of the 'freeathome' custom integration 2024-01-06 18:14:55.603 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from freeathome, 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 'freeathome' custom integration 2024-01-06 18:14:55.678 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.679 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.680 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.681 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.682 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.683 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.684 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.685 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.686 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.687 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.687 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.688 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.690 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.690 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.691 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.692 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.692 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.693 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.696 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.697 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.698 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.698 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.699 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.700 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.700 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.701 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.704 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.705 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.706 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.707 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.707 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.708 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.710 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.711 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.712 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.freeathome.light.FreeAtHomeLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.726 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.freeathome.climate.FreeAtHomeThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.728 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.freeathome.climate.FreeAtHomeThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.730 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.freeathome.climate.FreeAtHomeThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.731 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.freeathome.climate.FreeAtHomeThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:14:55.732 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.freeathome.climate.FreeAtHomeThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please report it to the author of the 'freeathome' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-01-06 18:15:06.503 WARNING (MainThread) [custom_components.audioflow] failed to fetch state update Traceback (most recent call last):

jheling commented 3 months ago

Fixed by #181