-
-
Notifications
You must be signed in to change notification settings - Fork 26
Fails to initialize when the AC unit is in Auto mode #72
Copy link
Copy link
Open
Labels
Description
There is an issue in initialization of DaikinFactory if AC (RX Series Urusara X) has been switched to Auto mode..
device = await DaikinFactory(ip_address, session)leads to an "Error extracting values: Key p_1D not found" error.
This code from pydaikin/daikin_brp084.py
# Get target temperature
if self.values['mode'] in self.API_PATHS["temp_settings"]:
self.values['stemp'] = str(
self.hex_to_temp(
self.find_value_by_pn(
response,
*self.get_path("temp_settings", self.values['mode']),
)
)
)
else:
self.values['stemp'] = "--"
fails on self.find_value_by_pn.
If AC is in Cooling mode, no error happens. Interesting that if the AC is in Drying mode (which has no target temperature either). no error happens.
Reactions are currently unavailable