Home Assistant Core 2024.1.0 → 2024.2.0
7 versions, 26 breaking changes in 1 version, 0 required stops
Version by version, oldest first
2024.1.1 – 2024.1.6: no action items (6 versions)
2024.2.0 2024-02-07
Quoted from www.home-assistant.io/blog/2024/02/07/release-20242/#backward-incompatible-changes
Breaking
Authentication
We changed the way refresh tokens are handled. Refresh tokens are part of what keeps you logged in to Home Assistant.
Refresh tokens will be automatically deleted when unused. A refresh token is considered unused if it has not been used for a login within 90 days.
If your logged-in session hasn’t been used for 90 days, you will be logged out. You will need to log in again.
We recommend using Long-lived access tokens if you need a permanent token.
(@mib1185 - #108428) (documentation)
Breaking
Blink
The options flow that gave the option to set a custom scan interval has been removed.
Adjustable scan interval is no longer allowed, but the option has had no effect on the integration since 2023.11.
You can use an automation as an alternative to create a custom polling rate (documentation). Updating one entity in a blink configuration will update all entities in each blink configuration.
(@mkmer - #106735) (documentation)
Update Wi-Fi diagnostic to match new API units - previously Blink reported RSSI dBm, now they report generic 0-5 for signal strength.
(@mkmer - #107539) (documentation)
Breaking
Cisco Webex Teams
This integration has been disabled. The upstream libraries used by Home Assistant are not compatible with Python 3.12.
This compatibility issue has been reported upstream.
(@frenck - #108163) (documentation)
Breaking
EZVIZ
The services ezviz.ptz, ezviz.sound_alarm, and alarm_sound have been moved to button and select entities in release 2023.8. Support for the deprecated services has now been completely removed.
If you are using these services in automations or scripts, you will need to update them to match this change.
(@jpbede - #107582) (documentation)
Breaking
Google Generative AI Conversation
Any previous integration setups might have to be recreated or reconfigured with the new models/gemini-pro instead of the legacy models/chat-bison-001.
(@tronikos - #105789) (documentation)
Breaking
HomeWizard Energy
The Gas meter ID sensor is removed and the meter ID is now shown as a serial number in the device info panel instead.
(@DCSBL - #100684) (documentation)
Breaking
Honeywell Total Connect Comfort (US)
The preset mode was returning "unknown" rather than "none". Any references to preset_mode may need to be updated.
(@mkmer - #108599) (documentation)
Breaking
Huawei LTE
The services huawei_lte.clear_traffic_statistics and huawei_lte.reboot have been moved to button entities in release 2023.8. Support for the deprecated services has now been completely removed.
If you are using these services in automations or scripts, you will need to update them to match this change.
(@jpbede - #107578) (documentation)
Breaking
JustNimbus
The following sensors have been removed from the JustNimbus integration since they're no longer available through JustNimbus' API:
- Pump starts
- Pump hours
- Error code
- Total replenished
- Pump flow
- Drink flow
The following sensors have been renamed:
- Total saved (
total_saved) -> Total saved (water_saved) - Total use (
totver) -> Total use (water_used) - Maximum reservoir content (
reservoir_content_max) -> Reservoir capacity (reservoir_capacity)
Automations or scripts using any of the removed or renamed entities should be updated. Once updated, the old entities can be safely removed.
(@kvanzuijlen - #99212) (documentation)
Breaking
Litter-Robot
The services vacuum.turn_on and vacuum.turn_off were deprecated in 2023.11. Support for the deprecated services has now been completely removed.
If you are still using them, please adjust your automations and scripts and use vacuum.start and vacuum.stop instead.
(@jpbede - #107882) (documentation)
Breaking
Lutron
The Lutron integration previously created fans as light entities. This has been changed to create actual fan entities instead.
If you have automations, scripts, scenes, or dashboards that used these light entities, you will need to update them to use the new fan entities.
Breaking
MELCloud
The daily energy sensors have been removed to prevent being throttled by the external API. This mostly affects ATW devices.
For ATA devices, this sensor is also removed. However, the total energy consumed (if your device supports that) remains available. The latter supports long-term statistics, providing insights into daily energy usage via the energy dashboard or statistic card.
Breaking
Met Office
This integration has been disabled. The upstream libraries used by Home Assistant are not compatible with Python 3.12.
This compatibility issue has been reported upstream.
(@frenck - #108163) (documentation)
Breaking
MQTT
MQTT sensor or binary_sensor configuration with an entity_category explicitly set to config will fail to set up. Maintainers should set the entity_category attribute to diagnostic or omit the config attribute.
(@jbouwh - #107199) (documentation)
When an MQTT entity has a device name equal to the entity name or starts with the device name, this will no longer be corrected.
When entities like these are created, they will have device and entity names in the friendly name. Suppose the device name is omitted because it is the same as the entity name. In that case, the entity name attribute should be null in the JSON payload or YAML configuration.
(@jbouwh - #107188) (documentation)
The support for MQTT vacuum entities with a legacy schema is removed after 6 months of deprecation. Users can use the state schema instead, which is now the default.
(@jbouwh - #107274) (documentation)
Breaking
Proximity
The proximity entity (proximity.*) is deprecated and will be removed in 2024.8. It is superseded by sensor entities.
For each tracked person or device, one sensor for the distance and the direction of travel to/from the monitored zone is created. Further, for each Proximity configuration, one sensor that shows the nearest device or person and its distance and direction of travel to the monitored zone is created.
(@mib1185 - #108730) (documentation)
Breaking
Renson
The start time of day and start time of night sensors have been replaced by time entities. If you used these sensors in automations or scripts, you will need to update them to use the new time entities.
(@jimmyd-be - #105031) (documentation)
Breaking
RESTful Command
Call to RESTful command services will no longer silently fail and will raise an exception on, for example, timeout or decoding errors.
You could consider using continue_on_error for scripts and automations that use RESTful commands that are allowed to fail occasionally.
(@RoboMagus - #97208) (documentation)
Breaking
Roborock
The service vacuum.start_pause was deprecated in 2023.8. Support for the deprecated service has now been completely removed.
If you are still using this service, please adjust your automations and scripts, to use vacuum.pause or vacuum.start instead.
(@jpbede - #107895) (documentation)
Breaking
Sensors
Setting last_reset for entities with a state_class other than total is no longer supported. Please update your configuration if state_class is manually configured (for example, in templates or when using customize to override this attribute).
(@jpbede - #108391) (documentation)
Breaking
Swiss public transport
The state value of the sensor is now a standardized timestamp. Further, all timestamps and durations in the additional fields are now also proper datetime/durations.
(@miaucl - [#12341064855]) (documentation)
Breaking
TP-Link Smart Home
To prevent overloading the power strips, the energy data is now polled every 60 seconds. If you need to poll the data faster, please use an automation that calls the homeassistant.update_entity service.
(@bdraco - #104208) (documentation)
Breaking
Traccar
The YAML configuration for the Traccar integration has been deprecated and will be removed in Home Assistant 2024.8.0. Your YAML configuration will be automatically imported to the new Traccar Server integration.
If you previously used the scan_interval option, this is not being imported. If you are in need of a custom polling interval, you can use an automation to define your own custom polling behavior. Learn more about that here.
(@ludeeus - #109226) (documentation)
Breaking
Tuya
Tuya has provided an easier and improved login method for Home Assistant users.
Having a developer account with Tuya is no longer required; instead, you can scan a QR code with your Tuya Smart or Smart Life app to authenticate it with Home Assistant.
After updating to this release, Home Assistant will ask you to re-authenticate your Tuya Smart or Smart Life account using this new method.
(@frenck - #109155) (documentation)
The services vacuum.turn_on and vacuum.turn_off were deprecated in 2023.8. Support for the deprecated services has now been completely removed.
If still use them, please adjust your automations and scripts and use vacuum.start and vacuum.stop instead.
(@jpbede - #107896) (documentation)
Previously, Tuya would fall back to using the metric system if the temperature unit was not reported by a climate device. This behavior has been changed to use the default unit configured on your system instead.
(@DellanX - #108050) (documentation)
Breaking
Webhooks
Since version 2023.7 you have been informed that the "local only" option of webhooks will become the default. With this release this change is now put into effect. Please, if needed, adjust your automation triggers.
(@jpbede - #107670) (documentation)
Breaking
Withings
In withings, the unit of measurement of all duration-related sensors (for example, sleep, goal, and active time today) has been changed from measuring in seconds to measuring in either hours or minutes.
If you want to measure in a different unit, please change the preferred unit of measurement in the entity settings.
Breaking
Z-Wave
The default rounding of numeric sensors to two decimals has been removed.
We now let the device and driver decide what precision should be reported. This allows devices with greater precision to report accurately.
You can change the display precision in the UI for the sensor or use a template sensor if you want to change the precision.
(@MartinHjelmare - #107100) (documentation)
Set suggested precision to 0 decimals for voltage sensors with a native unit in V. This will uniform the display precision of voltage sensors where there otherwise seems to be a variety of precision reported from different devices.
If you want to change the precision, you can do that in the sensor options in the UI or with a template sensor.
(@MartinHjelmare - #107116) (documentation)
The Fan and Dry climate Preset modes have been removed after a period of deprecation. If you haven't done so, you should update your automations or scripts to use the corresponding Dry and Fan HVAC modes instead.
(@jbouwh - #108124) (documentation)
Note
Farewell to the following
The following integrations are also no longer available as of this release:
- Facebox has been removed. It is no longer possible to get API keys, and thus, it is no longer possible to use this integration. (@reedy - #107005)
- Legrand Home+ Control has been removed as their API shut down in December. Use the Netatmo integration as an alternative to integrate your Legrand Home+ Control devices. (@jpbede - #107587)
- Life360 has been removed. They are now actively blocking third-party access, including Home Assistant. The Home Assistant Companion app is a good and (above all) privacy-friendly alternative. (@pnbruckner - #107805)
From www.home-assistant.io/blog/2024/02/07/release-20242/#farewell-to-the-following
Release notes from github.com/home-assistant/core/releases, and the official release blog, checked 17 hours ago. Only text the vendor marks as breaking, or puts in a warning/caution/important note, is shown; read the full notes for anything else. Home Assistant lists its breaking changes in the “Backward-incompatible changes” section of each monthly release post on home-assistant.io (2020.12 onward). Each entry of that section is quoted as “Breaking” on the x.y.0 release, under the integration name the post gives it. The post’s “Farewell to the following” section (integrations removed in that release, 2020.12–2024.5) is quoted whole as “Note”. The post's separate section for custom integration developers is not quoted. Patch releases are listed but their notes (lists of fixes) are not quoted. Versions come from PyPI (package homeassistant).