eufy-mega / model/capabilities / SuctionActions
Type Alias: SuctionActions
type SuctionActions = object;Bound suction reads — the object returned by dev.suction(). Read-only (Tuya-DP writes pending).
Properties
boostIq?
readonly optional boostIq?: boolean;Whether BoostIQ auto-suction is on (property boostIq).
level?
readonly optional level?: SuctionLevelValue;Suction level, as one of the SuctionLevel values — name it with suctionLevelName.
Narrowed to the known scale for the caller's benefit, which is NARROWER THAN THE WIRE: the level arrives as a plain integer and a firmware reporting a value outside SuctionLevel would be typed as one of these regardless. suctionLevelName stays total for that reason — it answers undefined for an int it does not recognise, so an unexpected level surfaces as unnamed rather than mislabelled. Which levels a given robot actually offers varies by model (a T2351 reports 0-3); the meaning of each value does not.