2022.4: Update breaking changes

This commit is contained in:
Franck Nijhof 2022-04-04 15:13:06 +02:00
parent 13bef236b3
commit e4c4511e8c
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -729,6 +729,20 @@ will now retrieve the temperature and humidity from the room sensor.
[@gjohansson-ST]: https://github.com/gjohansson-ST
[#66949]: https://github.com/home-assistant/core/pull/66949
---
The previously deprecated YAML configuration of the Version
integration has been removed.
Version is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@frenck] - [#69028]) ([documentation](/integrations/sensibo))
[@frenck]: https://github.com/frenck
[#69028]: https://github.com/home-assistant/core/pull/69028
{% enddetails %}
{% details "RFXCOM RFXtrx" %}
@ -801,20 +815,6 @@ be derived from the `entity_id`.
---
The token and URL to the entity picture URL for cameras attributes are
no longer recorded in the database.
The token is only valid for 5 minutes and it not useful afterwards.
The entity picture url which also contained the token was only valid
for 5 minutes as well.
([@bdraco] - [#68404]) ([documentation](/integrations/recorder))
[@bdraco]: https://github.com/bdraco
[#68824]: https://github.com/home-assistant/core/pull/68824
---
The attributes for the `sun.sun` entity are no longer recorded in the database.
As historical data can be derived from the `astral` library without the
@ -826,6 +826,51 @@ there as well since it frequently generates new attributes rows in the database.
[@bdraco]: https://github.com/bdraco
[#68887]: https://github.com/home-assistant/core/pull/68887
---
Integrations and platforms can now provide hints to the recorder to
exclude certain entity state attributes from being recorded.
This is used to exclude attributes that hold little to no historical value,
or are a static value. This can greatly reduce the amount of data stored.
The following attributes are no longer recorded:
- For all entities: `attribution` and `supported_features`.
- Camera: `token` and URL to the `entity_picture` URL.
- Climate: `hvac_modes`, `fan_modes`, `swing_modes`, `min_temp`, `max_temp`, `min_humidity`, `max_humidity`, `target_temp_step`, and `preset_modes`.
- Fan: `preset_modes`.
- Light: `color_modes`, `min_mireds`, `max_mireds`, and `effect_list`.
- Media Player: `entity_picture_local`, `source_list`, `media_postition`, and `media_postition_updated_at`.
- Water Heater: `operation_list`, `min_temp`, and `max_temp`.
- Humidifier: `min_humidity`, `max_humidity`, and `available_modes`.
- Number: `min`, `max`, `step`, and `mode`.
- Select: `options`.
- Siren: `available_tones`.
- Vacuum: `fan_speed_list`.
- Weather: `forecast`.
([@bdraco] - [#68404] [#69155] [#69156] [#69158] [#69159] [#69165] [#69192] [#69193] [#69194] [#69195] [#69196] [#69199])
([@frenck] - [#69205] [#69209])
[@bdraco]: https://github.com/bdraco
[#68824]: https://github.com/home-assistant/core/pull/68824
[#69155]: https://github.com/home-assistant/core/pull/69155
[#69158]: https://github.com/home-assistant/core/pull/69158
[#69192]: https://github.com/home-assistant/core/pull/69192
[#69156]: https://github.com/home-assistant/core/pull/69156
[#69159]: https://github.com/home-assistant/core/pull/69159
[#69165]: https://github.com/home-assistant/core/pull/69165
[#69193]: https://github.com/home-assistant/core/pull/69193
[#69194]: https://github.com/home-assistant/core/pull/69194
[#69195]: https://github.com/home-assistant/core/pull/69195
[#69196]: https://github.com/home-assistant/core/pull/69196
[#69199]: https://github.com/home-assistant/core/pull/69199
[#69205]: https://github.com/home-assistant/core/pull/69205
[#69209]: https://github.com/home-assistant/core/pull/69209
{% enddetails %}
{% details "UptimeRobot" %}
@ -863,6 +908,20 @@ removed from your YAML configuration files.
[@tkdrob]: https://github.com/tkdrob
[#68336]: https://github.com/home-assistant/core/pull/68336
---
- The attribute for measure time is now a proper iso formatted string.
- The attribute for available has been removed and is now setting the entity
available or not.
Any automation or script depending on these attributes has to be updated to
reflect these changes.
([@gjohansson-ST] - [#65233]) ([documentation](/integrations/huawei_lte))
[@gjohansson-ST]: https://github.com/gjohansson-ST
[#65233]: https://github.com/home-assistant/core/pull/65233
{% enddetails %}
{% details "Tesla Powerwall" %}
@ -1123,6 +1182,17 @@ in the state machine and database. The new sensors can be enabled in the UI.
[@bdraco]: https://github.com/bdraco
[#68347]: https://github.com/home-assistant/core/pull/68347
---
The UniFi Protect Privacy Mode switch is now marked as a configuration entity.
This means that these switches are no longer automatically exposed or shown
on autogenerated Lovelace dashboards, Google Assistant, Alexa, or HomeKit.
([@balloob] - [#68954]) ([documentation](/integrations/unifiprotect))
[@balloob]: https://github.com/balloob
[#68954]: https://github.com/home-assistant/core/pull/68954
{% enddetails %}
{% details "File Size" %}
@ -1234,22 +1304,6 @@ after upgrading.
{% enddetails %}
{% details "Trafikverket Weather Station" %}
- The attribute for measure time is now a proper iso formatted string.
- The attribute for available has been removed and is now setting the entity
available or not.
Any automation or script depending on these attributes has to be updated to
reflect these changes.
([@gjohansson-ST] - [#65233]) ([documentation](/integrations/huawei_lte))
[@gjohansson-ST]: https://github.com/gjohansson-ST
[#65233]: https://github.com/home-assistant/core/pull/65233
{% enddetails %}
{% details "Trafikverket Train" %}
The Trafikverket Train integration migrated to configuration
@ -1315,6 +1369,19 @@ after upgrading.
[@mib1185]: https://github.com/mib1185
[#68386]: https://github.com/home-assistant/core/pull/68386
---
The `is_open` attribute is removed from all entities and now exposed as own
sensor.
If you have automations or script relying on this attribute, you will need
to adjust them for this change.
([@mib1185] - [#68925]) ([documentation](/integrations/tankerkoenig))
[@mib1185]: https://github.com/mib1185
[#68925]: https://github.com/home-assistant/core/pull/68925
{% enddetails %}
{% details "Enphase Envoy" %}
@ -1362,6 +1429,234 @@ after upgrading.
{% enddetails %}
{% details "SwitchBot" %}
The previously deprecated YAML configuration of the SwitchBot
integration has been removed.
SwitchBot is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69002]) ([documentation](/integrations/switchbot))
[@balloob]: https://github.com/balloob
[#69002]: https://github.com/home-assistant/core/pull/69002
{% enddetails %}
{% details "Solax" %}
The previously deprecated YAML configuration of the Solax
integration has been removed.
Solax is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69003]) ([documentation](/integrations/solax))
[@balloob]: https://github.com/balloob
[#69003]: https://github.com/home-assistant/core/pull/69003
{% enddetails %}
{% details "Nanoleaf" %}
The previously deprecated YAML configuration of the Nanoleaf
integration has been removed.
Nanoleaf is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69004]) ([documentation](/integrations/nanoleaf))
[@balloob]: https://github.com/balloob
[#69004]: https://github.com/home-assistant/core/pull/69004
{% enddetails %}
{% details "Apple iCloud" %}
The previously deprecated YAML configuration of the Apple iCloud
integration has been removed.
Apple iCloud is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69006]) ([documentation](/integrations/icloud))
[@balloob]: https://github.com/balloob
[#69006]: https://github.com/home-assistant/core/pull/69006
{% enddetails %}
{% details "DNS IP" %}
The previously deprecated YAML configuration of the DNS IP
integration has been removed.
DNS IP is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69007]) ([documentation](/integrations/dnsip))
[@balloob]: https://github.com/balloob
[#69007]: https://github.com/home-assistant/core/pull/69007
{% enddetails %}
{% details "Launch Library" %}
The previously deprecated YAML configuration of the Launch Library
integration has been removed.
Launch Library is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69008]) ([documentation](/integrations/launch_library))
[@balloob]: https://github.com/balloob
[#69008]: https://github.com/home-assistant/core/pull/69008
{% enddetails %}
{% details "Version" %}
The previously deprecated YAML configuration of the Version
integration has been removed.
Version is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69010]) ([documentation](/integrations/version))
[@balloob]: https://github.com/balloob
[#69010]: https://github.com/home-assistant/core/pull/69010
{% enddetails %}
{% details "Brunt" %}
The previously deprecated YAML configuration of the Brunt
integration has been removed.
Brunt is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@balloob] - [#69024]) ([documentation](/integrations/brunt))
[@frenck]: https://github.com/frenck
[#69024]: https://github.com/home-assistant/core/pull/69024
{% enddetails %}
{% details "Yale Smart Alarm" %}
The previously deprecated YAML configuration of the Yale Smart Alarm
integration has been removed.
Yale Smart Alarm is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@frenck] - [#69025]) ([documentation](/integrations/yale_smart_alarm))
[@frenck]: https://github.com/frenck
[#69025]: https://github.com/home-assistant/core/pull/69025
{% enddetails %}
{% details "Met.no" %}
The previously deprecated YAML configuration of the Met.no
integration has been removed.
Met.no is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@frenck] - [#69027]) ([documentation](/integrations/met))
[@frenck]: https://github.com/frenck
[#69027]: https://github.com/home-assistant/core/pull/69027
{% enddetails %}
{% details "EZVIZ" %}
The previously deprecated YAML configuration of the EZVIZ
integration has been removed.
EZVIZ is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@frenck] - [#69031]) ([documentation](/integrations/ezviz))
[@frenck]: https://github.com/frenck
[#69031]: https://github.com/home-assistant/core/pull/69031
{% enddetails %}
{% details "Fronius" %}
The previously deprecated YAML configuration of the Fronius
integration has been removed.
Fronius is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@frenck] - [#69032]) ([documentation](/integrations/fronius))
[@frenck]: https://github.com/frenck
[#69032]: https://github.com/home-assistant/core/pull/69032
- Remove deprecated YAML configuration from Fronius ([@frenck] - [#69032]) ([fronius docs]) (breaking-change) (beta fix)
{% enddetails %}
{% details "Yamaha Music Cast" %}
The previously deprecated YAML configuration of the Yamaha Music Cast
integration has been removed.
Yamaha Music Cast is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@frenck] - [#69033]) ([documentation](/integrations/yamaha_musiccast))
[@frenck]: https://github.com/frenck
[#69033]: https://github.com/home-assistant/core/pull/69033
{% enddetails %}
{% details "LG webOS Smart TV" %}
The previously deprecated YAML configuration of the LG webOS Smart TV
integration has been removed.
LG webOS Smart TV is now configured via the UI, any existing YAML
configuration has been imported in previous releases and can now be safely
removed from your YAML configuration files.
([@thecode] - [#69043]) ([documentation](/integrations/webostv))
[@thecode]: https://github.com/thecode
[#69043]: https://github.com/home-assistant/core/pull/69043
{% enddetails %}
## Farewell to the following
The following GPIO Integrations have been previously deprecated and have now been removed.