diff --git a/homeassistant/components/onewire/sensor.py b/homeassistant/components/onewire/sensor.py index 3b7eeb50c29..bce17dbf3cb 100644 --- a/homeassistant/components/onewire/sensor.py +++ b/homeassistant/components/onewire/sensor.py @@ -233,6 +233,13 @@ def get_entities(config): # This part of the implementation does not conform to policy regarding 3rd-party libraries, and will not longer be updated. # https://developers.home-assistant.io/docs/creating_platform_code_review/#5-communication-with-devicesservices _LOGGER.debug("Initializing using OWFS %s", base_dir) + _LOGGER.warning( + "The OWFS implementation of 1-Wire sensors is deprecated, " + "and should be migrated to OWServer (on localhost:4304). " + "If migration to OWServer is not feasible on your installation, " + "please raise an issue at https://github.com/home-assistant/core/issues/new" + "?title=Unable%20to%20migrate%20onewire%20from%20OWFS%20to%20OWServer", + ) for family_file_path in glob(os.path.join(base_dir, "*", "family")): with open(family_file_path) as family_file: family = family_file.read()