adjusting enabled sensors, and setpoint step
This commit is contained in:
@@ -65,6 +65,7 @@ class ModbusRTUMonitorCoilSensor(
|
|||||||
"""Binary sensor entity for Modbus RTU coil state."""
|
"""Binary sensor entity for Modbus RTU coil state."""
|
||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
|
_attr_entity_registry_enabled_default = False # Disabled by default, user can enable if needed
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ class ModbusRTUMonitorClimate(
|
|||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
_attr_hvac_modes = [HVACMode.HEAT] # Always on, no off mode
|
_attr_hvac_modes = [HVACMode.HEAT] # Always on, no off mode
|
||||||
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
_attr_target_temperature_step = 0.1 # Allow 0.1°C increments
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
@@ -202,6 +202,7 @@ class ModbusRTUMonitorRegisterSensor(
|
|||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
_attr_state_class = SensorStateClass.MEASUREMENT
|
_attr_state_class = SensorStateClass.MEASUREMENT
|
||||||
|
_attr_entity_registry_enabled_default = False # Disabled by default, user can enable if needed
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user