mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-21 01:20:11 -07:00
change power usage names and added units
This commit is contained in:
parent
5bc145f94a
commit
7b7f1e76f6
@ -146,8 +146,8 @@ def ac_config(client, device_id):
|
||||
print(ac.get_filter_state())
|
||||
print(ac.get_mfilter_state())
|
||||
print(ac.get_energy_target())
|
||||
print(ac.get_inout_instant_power())
|
||||
print(ac.get_out_total_instant_power())
|
||||
print(ac.get_power(), " watts")
|
||||
print(ac.get_outdoor_power(), " watts")
|
||||
print(ac.get_volume())
|
||||
print(ac.get_light())
|
||||
print(ac.get_zones())
|
||||
|
@ -249,13 +249,13 @@ class ACDevice(Device):
|
||||
|
||||
return self._get_config('EnergyDesiredValue')
|
||||
|
||||
def get_inout_instant_power(self):
|
||||
"""Get the instant power consumption."""
|
||||
def get_outdoor_power(self):
|
||||
"""Get instant power usage in watts of the outdoor unit"""
|
||||
|
||||
return self._get_config('InOutInstantPower')
|
||||
|
||||
def get_out_total_instant_power(self):
|
||||
"""Get the OutTotalInstantPower value (not sure what that is)"""
|
||||
def get_power(self):
|
||||
"""Get the instant power usage in watts of the whole unit"""
|
||||
|
||||
return self._get_config('OutTotalInstantPower')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user