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, or None if not set.

Setter:

Sets the value of enable_disable. Removes the attribute if set to None.

Type:

bool

Raises:

TypeError – If set to anything other than a bool or None.