briis / hass-weatherflow

Home Assistant Integration for WeatherFlow Stations
MIT License
67 stars 11 forks source link

Disabling entities uses a soon to be disabled method #5

Closed tomlut closed 2 years ago

tomlut commented 2 years ago

When I use the GUI to disable a sensor generated by this integration I get this warning:

2021-12-04 22:12:37 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses str for entity registry disabled_by. This is deprecated and will stop working in Home Assistant 2022.3, it should be updated to use RegistryEntryDisabler instead. Please report issue for config using this method at homeassistant/components/config/entity_registry.py, line 127: entry = registry.async_update_entity(msg["entity_id"], **changes)

tomlut commented 2 years ago

Apologies. This is a core issue. Not an issue with your integration.