A plumbing fixture, comprising: a bowl having a lower opening; a flush valve for controlling flow from the bowl; and a valve actuator having a motor, and a linkage connected to the motor to be driven thereby and also connected to the flush valve so as to controllably pivot the flush valve between a first position in which the flush valve prevents fluid removal from the bowl and a second open position where fluid in the bowl is permitted to evacuate from the bowl characterised in that the plumbing fixture further comprises: a trapway in selective communication with the lower opening, the trapway having an upwardly extending leg linked to a downwardly extending leg in switchback fashion, wherein there is a space between the bowl and trapway; the flush valve is positioned between the lower opening and a portion of the trapway; the motor is positioned at least in part in the space; and a controller in electrical communication with the motor to control pivoting of the flush valve; wherein the controller is configured to define a limited range of pivoting of the flush valve between a sealing position and an open position; and wherein the controller is configured to establish a limited range of pivoting of the flush valve at least in part by identifying a high resistance sealing position and then setting an operational sealing position at a lower resistance sealing position adjacent thereto. a bowl having a lower opening; a flush valve for controlling flow from the bowl; and a valve actuator having a motor, and a linkage connected to the motor to be driven thereby and also connected to the flush valve so as to controllably pivot the flush valve between a first position in which the flush valve prevents fluid removal from the bowl and a second open position where fluid in the bowl is permitted to evacuate from the bowl the plumbing fixture further comprises: a trapway in selective communication with the lower opening, the trapway having an upwardly extending leg linked to a downwardly extending leg in switchback fashion, wherein there is a space between the bowl and trapway; the flush valve is positioned between the lower opening and a portion of the trapway; the motor is positioned at least in part in the space; and a controller in electrical communication with the motor to control pivoting of the flush valve; wherein the controller is configured to define a limited range of pivoting of the flush valve between a sealing position and an open position; and wherein the controller is configured to establish a limited range of pivoting of the flush valve at least in part by identifying a high resistance sealing position and then setting an operational sealing position at a lower resistance sealing position adjacent thereto. a trapway in selective communication with the lower opening, the trapway having an upwardly extending leg linked to a downwardly extending leg in switchback fashion, wherein there is a space between the bowl and trapway; the flush valve is positioned between the lower opening and a portion of the trapway; the motor is positioned at least in part in the space; and a controller in electrical communication with the motor to control pivoting of the flush valve; wherein the controller is configured to define a limited range of pivoting of the flush valve between a sealing position and an open position; and wherein the controller is configured to establish a limited range of pivoting of the flush valve at least in part by identifying a high resistance sealing position and then setting an operational sealing position at a lower resistance sealing position adjacent thereto.