Fix broken issue creation in econet (#137773)

* econet: Fix broken issue creation

* econet: fix broken issue creation with create_issue
This commit is contained in:
jdanders 2025-02-12 03:41:52 -08:00 committed by Franck Nijhof
parent df49c53bb6
commit b4ef00659c
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -23,7 +23,7 @@ from homeassistant.components.climate import (
from homeassistant.const import ATTR_TEMPERATURE, UnitOfTemperature from homeassistant.const import ATTR_TEMPERATURE, UnitOfTemperature
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue from homeassistant.helpers.issue_registry import IssueSeverity, create_issue
from . import EconetConfigEntry from . import EconetConfigEntry
from .const import DOMAIN from .const import DOMAIN
@ -214,7 +214,7 @@ class EcoNetThermostat(EcoNetEntity[Thermostat], ClimateEntity):
def turn_aux_heat_on(self) -> None: def turn_aux_heat_on(self) -> None:
"""Turn auxiliary heater on.""" """Turn auxiliary heater on."""
async_create_issue( create_issue(
self.hass, self.hass,
DOMAIN, DOMAIN,
"migrate_aux_heat", "migrate_aux_heat",
@ -228,7 +228,7 @@ class EcoNetThermostat(EcoNetEntity[Thermostat], ClimateEntity):
def turn_aux_heat_off(self) -> None: def turn_aux_heat_off(self) -> None:
"""Turn auxiliary heater off.""" """Turn auxiliary heater off."""
async_create_issue( create_issue(
self.hass, self.hass,
DOMAIN, DOMAIN,
"migrate_aux_heat", "migrate_aux_heat",