mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 05:47:10 +00:00
Remove unused code in ESPHome (#96503)
This commit is contained in:
parent
d2991d3f5e
commit
09237e4eff
@ -78,10 +78,6 @@ class DomainData:
|
|||||||
"""Pop the runtime entry data instance associated with this config entry."""
|
"""Pop the runtime entry data instance associated with this config entry."""
|
||||||
return self._entry_datas.pop(entry.entry_id)
|
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(
|
def get_or_create_store(
|
||||||
self, hass: HomeAssistant, entry: ConfigEntry
|
self, hass: HomeAssistant, entry: ConfigEntry
|
||||||
) -> ESPHomeStorage:
|
) -> ESPHomeStorage:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user