Remove unused code in ESPHome (#96503)

This commit is contained in:
J. Nick Koston 2023-07-13 13:38:15 -10:00 committed by GitHub
parent d2991d3f5e
commit 09237e4eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,10 +78,6 @@ class DomainData:
"""Pop the runtime entry data instance associated with this config entry."""
return self._entry_datas.pop(entry.entry_id)
def is_entry_loaded(self, entry: ConfigEntry) -> bool:
"""Check whether the given entry is loaded."""
return entry.entry_id in self._entry_datas
def get_or_create_store(
self, hass: HomeAssistant, entry: ConfigEntry
) -> ESPHomeStorage: