File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
custom_components/solvis_control Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,23 @@ class ModbusFieldConfig:
2323 device_class : str
2424 state_class : str
2525 multiplier : float = 0.1
26- # 1 = INPUT, 2 = HOLDING
26+ absolute_value : bool = False
2727
2828 register : int = 1
29+ # 1 = INPUT, 2 = HOLDING
2930 entity_category : str = None
31+ # Option to disable entitiy by default
3032 enabled_by_default : bool = True
33+ # Allows entities to be set to editable
3134 edit : bool = False
35+ # Assigns a range for number entities input_type = 2
3236 range_data : tuple = None
37+ # Assigns possible potions for select entities input_type = 1
3338 options : tuple = None
34- absolute_value : bool = False
39+
3540 # Assign CONF_OPTION to entities
3641 conf_option : int = 0
42+
3743 # Configuration for which state class a register belongs to
3844 # Possibilites:
3945 # sensor (0), select (1), number (2), switch (3)
You can’t perform that action at this time.
0 commit comments