mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Fix Intergas climate entity category (#143240)
This commit is contained in:
parent
59588f960d
commit
2b4c5178f4
@ -12,7 +12,7 @@ from homeassistant.components.climate import (
|
|||||||
HVACAction,
|
HVACAction,
|
||||||
HVACMode,
|
HVACMode,
|
||||||
)
|
)
|
||||||
from homeassistant.const import ATTR_TEMPERATURE, EntityCategory, UnitOfTemperature
|
from homeassistant.const import ATTR_TEMPERATURE, UnitOfTemperature
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
from homeassistant.helpers.device_registry import DeviceInfo
|
from homeassistant.helpers.device_registry import DeviceInfo
|
||||||
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
||||||
@ -43,7 +43,6 @@ async def async_setup_entry(
|
|||||||
class InComfortClimate(IncomfortEntity, ClimateEntity):
|
class InComfortClimate(IncomfortEntity, ClimateEntity):
|
||||||
"""Representation of an InComfort/InTouch climate device."""
|
"""Representation of an InComfort/InTouch climate device."""
|
||||||
|
|
||||||
_attr_entity_category = EntityCategory.CONFIG
|
|
||||||
_attr_min_temp = 5.0
|
_attr_min_temp = 5.0
|
||||||
_attr_max_temp = 30.0
|
_attr_max_temp = 30.0
|
||||||
_attr_name = None
|
_attr_name = None
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
'device_id': <ANY>,
|
'device_id': <ANY>,
|
||||||
'disabled_by': None,
|
'disabled_by': None,
|
||||||
'domain': 'climate',
|
'domain': 'climate',
|
||||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
'entity_category': None,
|
||||||
'entity_id': 'climate.thermostat_1',
|
'entity_id': 'climate.thermostat_1',
|
||||||
'has_entity_name': True,
|
'has_entity_name': True,
|
||||||
'hidden_by': None,
|
'hidden_by': None,
|
||||||
@ -84,7 +84,7 @@
|
|||||||
'device_id': <ANY>,
|
'device_id': <ANY>,
|
||||||
'disabled_by': None,
|
'disabled_by': None,
|
||||||
'domain': 'climate',
|
'domain': 'climate',
|
||||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
'entity_category': None,
|
||||||
'entity_id': 'climate.thermostat_1',
|
'entity_id': 'climate.thermostat_1',
|
||||||
'has_entity_name': True,
|
'has_entity_name': True,
|
||||||
'hidden_by': None,
|
'hidden_by': None,
|
||||||
@ -151,7 +151,7 @@
|
|||||||
'device_id': <ANY>,
|
'device_id': <ANY>,
|
||||||
'disabled_by': None,
|
'disabled_by': None,
|
||||||
'domain': 'climate',
|
'domain': 'climate',
|
||||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
'entity_category': None,
|
||||||
'entity_id': 'climate.thermostat_1',
|
'entity_id': 'climate.thermostat_1',
|
||||||
'has_entity_name': True,
|
'has_entity_name': True,
|
||||||
'hidden_by': None,
|
'hidden_by': None,
|
||||||
@ -218,7 +218,7 @@
|
|||||||
'device_id': <ANY>,
|
'device_id': <ANY>,
|
||||||
'disabled_by': None,
|
'disabled_by': None,
|
||||||
'domain': 'climate',
|
'domain': 'climate',
|
||||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
'entity_category': None,
|
||||||
'entity_id': 'climate.thermostat_1',
|
'entity_id': 'climate.thermostat_1',
|
||||||
'has_entity_name': True,
|
'has_entity_name': True,
|
||||||
'hidden_by': None,
|
'hidden_by': None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user