enable_disable
- class EnableDisableMixin
(Implicitly inherits
ControlBehaviorMixin
)Allows the entity to control whether or not it’s circuit condition affects its operation.
- property enable_disable: bool
Whether or not the machine enables its operation based on the circuit condition. Only used on entities that have multiple operation states, including (but not limited to) a circuit condition.
- Getter:
Gets the value of
enable_disable
, orNone
if not set.- Setter:
Sets the value of
enable_disable
. Removes the attribute if set toNone
.- Type:
bool
- Raises:
TypeError – If set to anything other than a
bool
orNone
.