mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
[ESPHome] Disable dashboard based update entities by default (#120907)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user