[ESPHome] Disable dashboard based update entities by default (#120907)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>pull/121021/head
parent
e322cada48
commit
72d706ab52
|
@ -97,6 +97,7 @@ class ESPHomeDashboardUpdateEntity(
|
|||
_attr_title = "ESPHome"
|
||||
_attr_name = "Firmware"
|
||||
_attr_release_url = "https://esphome.io/changelog/"
|
||||
_attr_entity_registry_enabled_default = False
|
||||
|
||||
def __init__(
|
||||
self, entry_data: RuntimeEntryData, coordinator: ESPHomeDashboardCoordinator
|
||||
|
|
|
@ -34,6 +34,11 @@ from homeassistant.exceptions import HomeAssistantError
|
|||
from .conftest import MockESPHomeDevice
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def enable_entity(entity_registry_enabled_by_default: None) -> None:
|
||||
"""Enable update entity."""
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def stub_reconnect():
|
||||
"""Stub reconnect."""
|
||||
|
|
Loading…
Reference in New Issue