From 0d888947ba1c4a51d5e871edb535cd194d5ec366 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sat, 5 Jan 2019 12:27:46 +0100 Subject: [PATCH] Expose power_socket property at AirConditioningCompanionStatus.__repr__() --- miio/airconditioningcompanion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miio/airconditioningcompanion.py b/miio/airconditioningcompanion.py index 04c49d23e..a751bd954 100644 --- a/miio/airconditioningcompanion.py +++ b/miio/airconditioningcompanion.py @@ -238,6 +238,7 @@ def mode(self) -> Optional[OperationMode]: def __repr__(self) -> str: s = " str: "fan_speed=%s, " \ "mode=%s>" % \ (self.power, + self.power_socket, self.load_power, self.air_condition_model.hex(), self.model_format,