From 94ae489a052242179a5c8467456fb39b90f8a908 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 28 Mar 2025 14:47:17 -1000 Subject: [PATCH] Apply suggestions from code review --- homeassistant/components/esphome/entry_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/esphome/entry_data.py b/homeassistant/components/esphome/entry_data.py index c670a5f0876..c9f45cb2da1 100644 --- a/homeassistant/components/esphome/entry_data.py +++ b/homeassistant/components/esphome/entry_data.py @@ -286,9 +286,9 @@ class RuntimeEntryData: if self.device_info: # Only load the update platform is the device_info is set - # When we restore the entry, the device_info is not set yet + # When we restore the entry, the device_info may not be set yet # and we don't want to load the update platform since it needs - # non-restored data. + # a complete device_info. if async_get_dashboard(hass): needed_platforms.add(Platform.UPDATE) if self.device_info.voice_assistant_feature_flags_compat(self.api_version):