Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

climate_ip: error while creating controller! #13

Closed
valdenny opened this issue Oct 30, 2020 · 10 comments
Closed

climate_ip: error while creating controller! #13

valdenny opened this issue Oct 30, 2020 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@valdenny
Copy link

valdenny commented Oct 30, 2020

Dear atxbyea,
I have a problem with this custom component.
Can you help me pls?

Best regards.
Daniele

HA Version
Home Assistant 0.115.2

configuration.yaml
climate:

  • platform: climate_ip
    name: 'AC Living Room'
    config_file: 'mim-h03_heatpump.yaml'
    ip_address: 'xxx.xxx.xxxx.xxxx'
    token: 'xxxxxxxxxxxxx'
    cert: 'ac14k_m.pem'
    debug: True

LOG

Oct 30 14:37:17 DVSL_HomeAssistant hass: 2020-10-30 14:37:17 INFO (MainThread) [custom_components.climate_ip.climate] Updating operations...
Oct 30 14:37:17 DVSL_HomeAssistant hass: 2020-10-30 14:37:17 INFO (MainThread) [custom_components.climate_ip.climate] Updating properties...
Oct 30 14:37:17 DVSL_HomeAssistant hass: 2020-10-30 14:37:17 ERROR (MainThread) [custom_components.climate_ip.climate] climate_ip: error while creating controller!
Oct 30 14:37:17 DVSL_HomeAssistant hass: 2020-10-30 14:37:17 ERROR (MainThread) [homeassistant.components.climate] Error while setting up climate_ip platform for climate
Oct 30 14:37:17 DVSL_HomeAssistant hass: Traceback (most recent call last):
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 192, in _async_setup_platform
Oct 30 14:37:17 DVSL_HomeAssistant hass: await asyncio.shield(task)
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/climate.py", line 124, in async_setup_platform
Oct 30 14:37:17 DVSL_HomeAssistant hass: device_controller = create_controller(
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller.py", line 71, in create_controller
Oct 30 14:37:17 DVSL_HomeAssistant hass: if c.initialize():
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller_yaml.py", line 169, in initialize
Oct 30 14:37:17 DVSL_HomeAssistant hass: self.update_state()
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller_yaml.py", line 226, in update_state
Oct 30 14:37:17 DVSL_HomeAssistant hass: prop.update_state(device_state, debug)
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/properties.py", line 233, in update_state
Oct 30 14:37:17 DVSL_HomeAssistant hass: v = self.status_template.render(device_state=device_state)
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
Oct 30 14:37:17 DVSL_HomeAssistant hass: self.environment.handle_exception()
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
Oct 30 14:37:17 DVSL_HomeAssistant hass: reraise(*rewrite_traceback_stack(source=source))
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
Oct 30 14:37:17 DVSL_HomeAssistant hass: raise value.with_traceback(tb)
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "", line 1, in top-level template code
Oct 30 14:37:17 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/environment.py", line 471, in getattr
Oct 30 14:37:17 DVSL_HomeAssistant hass: return getattr(obj, attribute)
Oct 30 14:37:17 DVSL_HomeAssistant hass: jinja2.exceptions.UndefinedError: list object has no element 2

@atxbyea
Copy link
Owner

atxbyea commented Nov 16, 2020

I haven't seen any other users with the mim version, are you sure it is the correct file you are using ? what is the model of the heat pump @valdenny ?

@atxbyea atxbyea added the bug Something isn't working label Nov 16, 2020
@atxbyea atxbyea self-assigned this Nov 16, 2020
@valdenny
Copy link
Author

valdenny commented Nov 16, 2020

Hi @atxbyea , thanks for supporting me! It is a dual split system AR12MSFPEWQNET and AR09MSFPEWQNET. To manage everything via mobile, Samsung support recommended the MIM-H03 WiFi Kit. I am a System Administrator, I am not a Developer, but if you guide me we can solve it together.
The configuration file I am using is a copy of the original "mim-h03_heatpump.yaml" file. The changes concern only the ID of the devices as indicated in the first 3 lines of the same file.

@atxbyea
Copy link
Owner

atxbyea commented Nov 21, 2020

Oct 30 14:37:17 DVSL_HomeAssistant hass: 2020-10-30 14:37:17 ERROR (MainThread) [custom_components.climate_ip.climate] climate_ip: error while creating controller!

Seems to indicate this bit of code :

try:
    device_controller = create_controller(
        config.get(CONF_CONTROLLER), config, _LOGGER
    )
except:
    _LOGGER.error("climate_ip: error while creating controller!")
    raise 

Which is related to the vol.Optional(CONF_CONTROLLER, default=DEFAULT_CONF_CONTROLLER): cv.string,
and

controller Controller type to use (default, and the only one for now: yaml) No

Try putting
controller: yaml in your configuration.yaml

@valdenny
Copy link
Author

Hi Eirik,
I added "controller: yaml" in my configuration.yaml, but the result did not change:

climate:

  • platform: climate_ip
    name: 'ClimatizzatoreSoggiorno'
    config_file: '/home/homeassistant/.homeassistant/custom_components/climate_ip/ac_soggiorno.yaml'
    ip_address: 'xxx.xxx.xxx.xxx'
    controller: yaml
    token: 'xxxxxxx'
    cert: 'ac14k_m.pem'
    debug: True

I also added some "print" inside the files to facilitate troubleshooting:

climate.py line 122: print ("DEBUG_1", hass, config )
climate.py line 124: print ("DEBUG_2", config )
climate.py line 129: print ("DEBUG_3", device_controller )
controller.py line 68: print ("DEBUG_7", type, config, logger )
controller.py line 70: print ("DEBUG_5", ctrl )
controller.py line 73: print ("DEBUG_6", c )

Below you can see the Start log and then the Home Assistant stop log.


Starting Home Assistant LOG

Nov 23 14:27:28 DVSL_HomeAssistant systemd: Started Home Assistant.
Nov 23 14:27:30 DVSL_HomeAssistant hass: 2020-11-23 14:27:30 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=88 from 2020-11-23 13:25:01.213255)
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for climate_ip which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] climate_ip: async setup platform
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] Loading configuration file: /home/homeassistant/.homeassistant/custom_components/climate_ip/ac_soggiorno.yaml
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] ip_address: xxx.xxx.xxx.xxx
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] token: xxxxxxx
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] Validate properties: False (False)
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] Updating state...
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] Updating getter...
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] Checking execute condition
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 WARNING (MainThread) [custom_components.climate_ip.climate] Execute condition not found, executing
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] Executing command...
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 INFO (MainThread) [custom_components.climate_ip.climate] {'timeout': 5, 'cert': '/home/homeassistant/.homeassistant/custom_components/climate_ip/ac14k_m.pem', 'verify': False, 'headers': {'Authorization': 'Bearer xxxxxxx', 'Content-Type': 'application/json'}, 'method': 'GET', 'url': 'https://xxx.xxx.xxx.xxx:8888/devices'}
Nov 23 14:27:32 DVSL_HomeAssistant hass: 2020-11-23 14:27:32 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for climate_ip doing I/O at custom_components/climate_ip/connection_request.py, line 105: resp = session.request(**self._params)
Nov 23 14:27:33 DVSL_HomeAssistant hass: 2020-11-23 14:27:33 INFO (MainThread) [custom_components.climate_ip.climate] Command executed with code: 200, text: {"Devices":[{"ConfigurationLink":{"href":"/devices/0/configuration"},"InformationLink":{"href":"/devices/0/information"},"Operation":{"dhwPower":"Off","power":"Off","ventilationPower":"Off"},"Temperatures":[{"desired":0,"id":"0","increment":1,"unit":"Celsius"}],"description":"DisableTempIncrement","id":"0","name":"Wifi-kit","resources":["Alarms","Operation","Temperatures","Information","Configuration"],"type":"Air_Conditioner","uuid":"702C1F80-C05D-0000-0000-000000000000"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2020-11-23T14:23:47"}],"ConfigurationLink":{"href":"/devices/032001000/configuration"},"InformationLink":{"href":"/devices/032001000/information"},"Mode":{"modes":["Opmode_Heat"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":23,"id":"0","increment":1,"maximum":30,"minimum":16,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":2,"supportedWindModes":["0","4","3","2","Up_And_Low","Fix"]},"description":"RAC","id":"032001000","name":"Soggiorno","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"368601a0-b333-44be-b322-c28b2169033d"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2020-11-23T14:23:47"}],"ConfigurationLink":{"href":"/devices/032001001/configuration"},"InformationLink":{"href":"/devices/032001001/information"},"Mode":{"modes":["Opmode_Auto"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":30,"minimum":18,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":0,"supportedWindModes":["0","Up_And_Low","Fix"]},"description":"RAC","id":"032001001","name":"Camera Matrimoniale","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"f8d5cbf6-7921-4af6-8fec-718cc1319c68"}]}
Nov 23 14:27:33 DVSL_HomeAssistant hass: 2020-11-23 14:27:33 INFO (MainThread) [custom_components.climate_ip.climate] Getter updated with value: {'Alarms': [{'alarmType': 'Device', 'code': '0', 'id': '0', 'triggeredTime': '2020-11-23T14:23:47'}], 'ConfigurationLink': {'href': '/devices/032001000/configuration'}, 'InformationLink': {'href': '/devices/032001000/information'}, 'Mode': {'modes': ['Opmode_Heat'], 'options': ['Volume_100'], 'supportedModes': ['Opmode_Auto', 'Opmode_Cool', 'Opmode_Dry', 'Opmode_Fan', 'Opmode_Heat']}, 'Operation': {'power': 'Off'}, 'Temperatures': [{'current': 22, 'desired': 23, 'id': '0', 'increment': 1, 'maximum': 30, 'minimum': 16, 'name': 'INDOOR', 'unit': 'Celsius'}], 'Wind': {'direction': 'Fix', 'speedLevel': 2, 'supportedWindModes': ['0', '4', '3', '2', 'Up_And_Low', 'Fix']}, 'description': 'RAC', 'id': '032001000', 'name': 'Soggiorno', 'resources': ['Operation', 'Wind', 'Mode', 'Temperatures', 'Information', 'Configuration', 'Alarms'], 'type': 'Air_Conditioner', 'uuid': '368601a0-b333-44be-b322-c28b2169033d'}
Nov 23 14:27:33 DVSL_HomeAssistant hass: 2020-11-23 14:27:33 INFO (MainThread) [custom_components.climate_ip.climate] Updating operations...
Nov 23 14:27:33 DVSL_HomeAssistant hass: 2020-11-23 14:27:33 INFO (MainThread) [custom_components.climate_ip.climate] Updating properties...
Nov 23 14:27:33 DVSL_HomeAssistant hass: 2020-11-23 14:27:33 ERROR (MainThread) [homeassistant.components.climate] Error while setting up climate_ip platform for climate
Nov 23 14:27:33 DVSL_HomeAssistant hass: Traceback (most recent call last):
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/climate.py", line 125, in async_setup_platform
Nov 23 14:27:33 DVSL_HomeAssistant hass: device_controller = create_controller(
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller.py", line 74, in create_controller
Nov 23 14:27:33 DVSL_HomeAssistant hass: if c.initialize():
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller_yaml.py", line 169, in initialize
Nov 23 14:27:33 DVSL_HomeAssistant hass: self.update_state()
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller_yaml.py", line 226, in update_state
Nov 23 14:27:33 DVSL_HomeAssistant hass: prop.update_state(device_state, debug)
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/properties.py", line 233, in update_state
Nov 23 14:27:33 DVSL_HomeAssistant hass: v = self.status_template.render(device_state=device_state)
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
Nov 23 14:27:33 DVSL_HomeAssistant hass: self.environment.handle_exception()
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
Nov 23 14:27:33 DVSL_HomeAssistant hass: reraise(*rewrite_traceback_stack(source=source))
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
Nov 23 14:27:33 DVSL_HomeAssistant hass: raise value.with_traceback(tb)
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "", line 1, in top-level template code
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/jinja2/environment.py", line 471, in getattr
Nov 23 14:27:33 DVSL_HomeAssistant hass: return getattr(obj, attribute)
Nov 23 14:27:33 DVSL_HomeAssistant hass: jinja2.exceptions.UndefinedError: list object has no element 2
Nov 23 14:27:33 DVSL_HomeAssistant hass: During handling of the above exception, another exception occurred:
Nov 23 14:27:33 DVSL_HomeAssistant hass: Traceback (most recent call last):
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 192, in _async_setup_platform
Nov 23 14:27:33 DVSL_HomeAssistant hass: await asyncio.shield(task)
Nov 23 14:27:33 DVSL_HomeAssistant hass: File "/home/homeassistant/.homeassistant/custom_components/climate_ip/climate.py", line 129, in async_setup_platform
Nov 23 14:27:33 DVSL_HomeAssistant hass: print ("DEBUG_3", device_controller )
Nov 23 14:27:33 DVSL_HomeAssistant hass: UnboundLocalError: local variable 'device_controller' referenced before assignment


Stopping Home Assistant LOG

Nov 23 14:32:14 DVSL_HomeAssistant systemd: Stopping Home Assistant...
Nov 23 14:32:15 DVSL_HomeAssistant hass: DEBUG_1 <homeassistant.core.HomeAssistant object at 0x7fe182a3fc10> OrderedDict([('platform', 'climate_ip'), ('name', 'ClimatizzatoreSoggiorno'), ('config_file', '/home/homeassistant/.homeassistant/custom_components/climate_ip/ac_soggiorno.yaml'), ('ip_address', 'xxx.xxx.xxx.xxx'), ('controller', 'yaml'), ('token', 'xxxxxxx'), ('cert', 'ac14k_m.pem'), ('debug', True), ('update_delay', '1.5'), ('poll', ''), ('temperature_unit', '°C')])
Nov 23 14:32:15 DVSL_HomeAssistant hass: DEBUG_2 OrderedDict([('platform', 'climate_ip'), ('name', 'ClimatizzatoreSoggiorno'), ('config_file', '/home/homeassistant/.homeassistant/custom_components/climate_ip/ac_soggiorno.yaml'), ('ip_address', 'xxx.xxx.xxx.xxx'), ('controller', 'yaml'), ('token', 'xxxxxxx'), ('cert', 'ac14k_m.pem'), ('debug', True), ('update_delay', '1.5'), ('poll', ''), ('temperature_unit', '°C')])
Nov 23 14:32:15 DVSL_HomeAssistant hass: DEBUG_7 yaml OrderedDict([('platform', 'climate_ip'), ('name', 'ClimatizzatoreSoggiorno'), ('config_file', '/home/homeassistant/.homeassistant/custom_components/climate_ip/ac_soggiorno.yaml'), ('ip_address', 'xxx.xxx.xxx.xxx'), ('controller', 'yaml'), ('token', 'xxxxxxx'), ('cert', 'ac14k_m.pem'), ('debug', True), ('update_delay', '1.5'), ('poll', ''), ('temperature_unit', '°C')]) <Logger custom_components.climate_ip.climate (INFO)>
Nov 23 14:32:15 DVSL_HomeAssistant hass: DEBUG_5 <class 'custom_components.climate_ip.controller_yaml.YamlController'>
Nov 23 14:32:15 DVSL_HomeAssistant hass: DEBUG_6 <custom_components.climate_ip.controller_yaml.YamlController object at 0x7fe15833a130>
Nov 23 14:32:15 DVSL_HomeAssistant systemd: Stopped Home Assistant.

@valdenny
Copy link
Author

Hi Eirik, do you have any suggestions for me to understand where the problem lies? thank you very much!

@Poncharello
Copy link

Poncharello commented Jan 25, 2021

Hi folks,
hi @atxbyea,
as @valdenny, I am also trying to set up the integration for a MIM-H03 wifi controller with a dual split console (MH026FJEA+AJ040MCJ2EH).
In my configuration.yaml I put:

climate:

  • platform: climate_ip
    config_file: '/config/custom_components/climate_ip/mim-h03_heatpump.yaml'
    ip_address: 'xxx.xxx.xxx.xxx'
    token: 'xxxxxxxxxxxxxxxxxxx'
    cert: '/config/custom_components/climate_ip/ac14k_m.pem'
    name: 'MIM-H03'

But the control isn't working:

Schermata 2021-01-25 alle 17 20 38

From the log, I get:

Logger: custom_components.climate_ip.climate
Source: custom_components/climate_ip/connection_request.py:135
Integration: climate_ip (documentation, issues)
First occurred: 17:09:49 (4 occurrences)
Last logged: 17:11:14
Execution failed, unknown error

I did not edit the "mim-h03_heatpump.yaml" file (really don't know how to).

I'm running HA supervised on Docker:

System Health

version 2021.1.5
installation_type Home Assistant Supervised
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.51-v7l+
arch armv7l
timezone Europe/Rome
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4530
Installed Version 1.10.1
Stage running
Available Repositories 710
Installed Repositories 12
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Hass.io
host_os Raspbian GNU/Linux 10 (buster)
update_channel stable
supervisor_version 2021.01.7
docker_version 19.03.12
disk_total 58.2 GB
disk_used 15.7 GB
healthy true
supported failed to load: Unsupported
supervisor_api ok
version_api ok
installed_addons File editor (5.2.0), Log Viewer (0.9.1), SSH & Web Terminal (7.8.0), Check Home Assistant configuration (3.6.0), Glances (0.9.1), InfluxDB (4.0.1), Grafana (6.0.0), Portainer (1.4.0), Let's Encrypt (4.11.0)
Lovelace
dashboards 1
mode storage
views 6
resources 4

Any help would be greatly appreciated.

Thanks!

@valdenny valdenny closed this as completed Mar 7, 2021
@valdenny
Copy link
Author

valdenny commented Mar 7, 2021

Hi @Poncharello,
Hi @atxbyea
I solved it by editing the yaml file as attached.
I have created a new version of the file that I am attaching to the comment.
Daniele.

image

image

image

mim-h03-v3.0.25.yaml.txt

@Poncharello
Copy link

Ciao @valdenny,
thank you! I think the only thing I'm missing now is to retrieve the token from the MIM-H03 controller.
How did you get it? I tried almost every guide on the internet without success.
Could you please help me one more time?

Thanks in advance!
:)

@valdenny valdenny mentioned this issue Mar 23, 2021
@Poncharello
Copy link

Hi @valdenny,
hi @atxbyea,
as explained in the #4 discussion, I was able to obtain my token from the MIM-H03 controller.
I followed @valdenny instructions to create 2 different yaml files (editing the unit ID) in order to set up 2 climate controls.
Now I'm struggling against a very strange issue. My wifi controller is connected to 2 floor console indoor units (IDs 032001000 and 032001001). One of them is working flawlessly. The second is not working as expected: its state and current/desired temps are taken from the other unit. This results, obviously, in undesired operations.
So, as I can understand, all parameters and states of unit 032001001 are taken from unit 032001000. Commands are sent correctly (on, off, operating modes etc.), but states are read incorrectly.
I tried, with no success, to invert the RMC address (used for centralized controllers) on the rotary switches of the units. I also tried to perform tracking on the controller by pressing SW03, as mentioned on the user manual.
Any idea of what's going on? Below you can find my log.
Thank you in advance :)

2021-03-26 21:49:55 INFO (MainThread) [custom_components.climate_ip.climate] climate_ip: async setup platform
2021-03-26 21:49:55 INFO (MainThread) [custom_components.climate_ip.climate] Loading configuration file: /config/custom_components/climate_ip/mim-h03-v3.0.25_032001001.yaml
2021-03-26 21:49:55 INFO (MainThread) [custom_components.climate_ip.climate] ip_address: 192.168.178.127
2021-03-26 21:49:55 INFO (MainThread) [custom_components.climate_ip.climate] token: cs4ouldlu0
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Validate properties: False (False)
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Updating state...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Updating getter...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Checking execute condition
2021-03-26 21:49:56 WARNING (MainThread) [custom_components.climate_ip.climate] Execute condition not found, executing
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Executing command...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] {'timeout': 5, 'cert': '/config/custom_components/climate_ip/ac14k_m.pem', 'verify': False, 'headers': {'Authorization': 'Bearer cs4ouldlu0', 'Content-Type': 'application/json'}, 'method': 'GET', 'url': 'https://192.168.178.127:8888/devices/'}
2021-03-26 21:49:56 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for climate_ip doing I/O at custom_components/climate_ip/connection_request.py, line 105: resp = session.request(**self.params)
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Command executed with code: 200, text: {"Devices":[{"ConfigurationLink":{"href":"/devices/0/configuration"},"InformationLink":{"href":"/devices/0/information"},"Operation":{"dhwPower":"Off","power":"Off","ventilationPower":"Off"},"Temperatures":[{"desired":0,"id":"0","increment":1,"unit":"Celsius"}],"description":"DisableTempIncrement","id":"0","name":"Wifi-kit","resources":["Alarms","Operation","Temperatures","Information","Configuration"],"type":"Air_Conditioner","uuid":"702C1F83-C167-0000-0000-000000000000"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:06"}],"ConfigurationLink":{"href":"/devices/032001000/configuration"},"InformationLink":{"href":"/devices/032001000/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001000","name":"Camera Ospiti","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"89037e14-3080-45b9-b842-102cb8f4da8d"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:06"}],"ConfigurationLink":{"href":"/devices/032001001/configuration"},"InformationLink":{"href":"/devices/032001001/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001001","name":"Camera Principale","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"683b81b4-a7c1-4267-9807-afd71ec86c14"}]}
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Getter updated with value: {'Alarms': [{'alarmType': 'Device', 'code': '0', 'id': '0', 'triggeredTime': '2021-03-26T21:49:06'}], 'ConfigurationLink': {'href': '/devices/032001000/configuration'}, 'InformationLink': {'href': '/devices/032001000/information'}, 'Mode': {'modes': ['Opmode_Fan'], 'options': ['Volume_100'], 'supportedModes': ['Opmode_Auto', 'Opmode_Cool', 'Opmode_Dry', 'Opmode_Fan', 'Opmode_Heat']}, 'Operation': {'power': 'Off'}, 'Temperatures': [{'current': 22, 'desired': 24, 'id': '0', 'increment': 1, 'maximum': -1000, 'minimum': -1000, 'name': 'INDOOR', 'unit': 'Celsius'}], 'Wind': {'direction': 'Fix', 'speedLevel': 4, 'supportedWindModes': ['4', '3', '2', 'Up_And_Low', 'Fix']}, 'description': 'CONSOLE', 'id': '032001000', 'name': 'Camera Ospiti', 'resources': ['Operation', 'Wind', 'Mode', 'Temperatures', 'Information', 'Configuration', 'Alarms'], 'type': 'Air_Conditioner', 'uuid': '89037e14-3080-45b9-b842-102cb8f4da8d'}
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Updating operations...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Updating properties...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] climate_ip: async setup platform
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Loading configuration file: /config/custom_components/climate_ip/mim-h03-v3.0.25_032001000.yaml
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] ip_address: 192.168.178.127
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] token: cs4ouldlu0
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Validate properties: False (False)
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Updating state...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Updating getter...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Checking execute condition
2021-03-26 21:49:56 WARNING (MainThread) [custom_components.climate_ip.climate] Execute condition not found, executing
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] Executing command...
2021-03-26 21:49:56 INFO (MainThread) [custom_components.climate_ip.climate] {'timeout': 5, 'cert': '/config/custom_components/climate_ip/ac14k_m.pem', 'verify': False, 'headers': {'Authorization': 'Bearer cs4ouldlu0', 'Content-Type': 'application/json'}, 'method': 'GET', 'url': 'https://192.168.178.127:8888/devices/'}
2021-03-26 21:49:57 WARNING (MainThread) [homeassistant.util.async
] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for climate_ip doing I/O at custom_components/climate_ip/connection_request.py, line 105: resp = session.request(**self._params)
2021-03-26 21:49:57 INFO (MainThread) [custom_components.climate_ip.climate] Command executed with code: 200, text: {"Devices":[{"ConfigurationLink":{"href":"/devices/0/configuration"},"InformationLink":{"href":"/devices/0/information"},"Operation":{"dhwPower":"Off","power":"Off","ventilationPower":"Off"},"Temperatures":[{"desired":0,"id":"0","increment":1,"unit":"Celsius"}],"description":"DisableTempIncrement","id":"0","name":"Wifi-kit","resources":["Alarms","Operation","Temperatures","Information","Configuration"],"type":"Air_Conditioner","uuid":"702C1F83-C167-0000-0000-000000000000"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:07"}],"ConfigurationLink":{"href":"/devices/032001000/configuration"},"InformationLink":{"href":"/devices/032001000/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001000","name":"Camera Ospiti","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"89037e14-3080-45b9-b842-102cb8f4da8d"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:07"}],"ConfigurationLink":{"href":"/devices/032001001/configuration"},"InformationLink":{"href":"/devices/032001001/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001001","name":"Camera Principale","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"683b81b4-a7c1-4267-9807-afd71ec86c14"}]}
2021-03-26 21:49:57 INFO (MainThread) [custom_components.climate_ip.climate] Getter updated with value: {'Alarms': [{'alarmType': 'Device', 'code': '0', 'id': '0', 'triggeredTime': '2021-03-26T21:49:07'}], 'ConfigurationLink': {'href': '/devices/032001000/configuration'}, 'InformationLink': {'href': '/devices/032001000/information'}, 'Mode': {'modes': ['Opmode_Fan'], 'options': ['Volume_100'], 'supportedModes': ['Opmode_Auto', 'Opmode_Cool', 'Opmode_Dry', 'Opmode_Fan', 'Opmode_Heat']}, 'Operation': {'power': 'Off'}, 'Temperatures': [{'current': 22, 'desired': 24, 'id': '0', 'increment': 1, 'maximum': -1000, 'minimum': -1000, 'name': 'INDOOR', 'unit': 'Celsius'}], 'Wind': {'direction': 'Fix', 'speedLevel': 4, 'supportedWindModes': ['4', '3', '2', 'Up_And_Low', 'Fix']}, 'description': 'CONSOLE', 'id': '032001000', 'name': 'Camera Ospiti', 'resources': ['Operation', 'Wind', 'Mode', 'Temperatures', 'Information', 'Configuration', 'Alarms'], 'type': 'Air_Conditioner', 'uuid': '89037e14-3080-45b9-b842-102cb8f4da8d'}
2021-03-26 21:49:57 INFO (MainThread) [custom_components.climate_ip.climate] Updating operations...
2021-03-26 21:49:57 INFO (MainThread) [custom_components.climate_ip.climate] Updating properties...
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] update
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Updating state...
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Updating getter...
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Checking execute condition
2021-03-26 21:49:59 WARNING (SyncWorker_5) [custom_components.climate_ip.climate] Execute condition not found, executing
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Executing command...
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] {'timeout': 5, 'cert': '/config/custom_components/climate_ip/ac14k_m.pem', 'verify': False, 'headers': {'Authorization': 'Bearer cs4ouldlu0', 'Content-Type': 'application/json'}, 'method': 'GET', 'url': 'https://192.168.178.127:8888/devices/'}
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Command executed with code: 200, text: {"Devices":[{"ConfigurationLink":{"href":"/devices/0/configuration"},"InformationLink":{"href":"/devices/0/information"},"Operation":{"dhwPower":"Off","power":"Off","ventilationPower":"Off"},"Temperatures":[{"desired":0,"id":"0","increment":1,"unit":"Celsius"}],"description":"DisableTempIncrement","id":"0","name":"Wifi-kit","resources":["Alarms","Operation","Temperatures","Information","Configuration"],"type":"Air_Conditioner","uuid":"702C1F83-C167-0000-0000-000000000000"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:09"}],"ConfigurationLink":{"href":"/devices/032001000/configuration"},"InformationLink":{"href":"/devices/032001000/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001000","name":"Camera Ospiti","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"89037e14-3080-45b9-b842-102cb8f4da8d"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:09"}],"ConfigurationLink":{"href":"/devices/032001001/configuration"},"InformationLink":{"href":"/devices/032001001/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001001","name":"Camera Principale","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"683b81b4-a7c1-4267-9807-afd71ec86c14"}]}
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Getter updated with value: {'Alarms': [{'alarmType': 'Device', 'code': '0', 'id': '0', 'triggeredTime': '2021-03-26T21:49:09'}], 'ConfigurationLink': {'href': '/devices/032001000/configuration'}, 'InformationLink': {'href': '/devices/032001000/information'}, 'Mode': {'modes': ['Opmode_Fan'], 'options': ['Volume_100'], 'supportedModes': ['Opmode_Auto', 'Opmode_Cool', 'Opmode_Dry', 'Opmode_Fan', 'Opmode_Heat']}, 'Operation': {'power': 'Off'}, 'Temperatures': [{'current': 22, 'desired': 24, 'id': '0', 'increment': 1, 'maximum': -1000, 'minimum': -1000, 'name': 'INDOOR', 'unit': 'Celsius'}], 'Wind': {'direction': 'Fix', 'speedLevel': 4, 'supportedWindModes': ['4', '3', '2', 'Up_And_Low', 'Fix']}, 'description': 'CONSOLE', 'id': '032001000', 'name': 'Camera Ospiti', 'resources': ['Operation', 'Wind', 'Mode', 'Temperatures', 'Information', 'Configuration', 'Alarms'], 'type': 'Air_Conditioner', 'uuid': '89037e14-3080-45b9-b842-102cb8f4da8d'}
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Updating operations...
2021-03-26 21:49:59 INFO (SyncWorker_5) [custom_components.climate_ip.climate] Updating properties...
2021-03-26 21:50:00 INFO (MainThread) [custom_components.climate_ip.climate] state_attributes
2021-03-26 21:50:00 INFO (MainThread) [custom_components.climate_ip.climate] Controller::state_attributes
2021-03-26 21:50:00 INFO (MainThread) [custom_components.climate_ip.climate] Should poll: False
2021-03-26 21:50:01 INFO (SyncWorker_1) [custom_components.climate_ip.climate] update
2021-03-26 21:50:01 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Updating state...
2021-03-26 21:50:01 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Updating getter...
2021-03-26 21:50:01 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Checking execute condition
2021-03-26 21:50:01 WARNING (SyncWorker_1) [custom_components.climate_ip.climate] Execute condition not found, executing
2021-03-26 21:50:01 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Executing command...
2021-03-26 21:50:01 INFO (SyncWorker_1) [custom_components.climate_ip.climate] {'timeout': 5, 'cert': '/config/custom_components/climate_ip/ac14k_m.pem', 'verify': False, 'headers': {'Authorization': 'Bearer cs4ouldlu0', 'Content-Type': 'application/json'}, 'method': 'GET', 'url': 'https://192.168.178.127:8888/devices/'}
2021-03-26 21:50:02 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Command executed with code: 200, text: {"Devices":[{"ConfigurationLink":{"href":"/devices/0/configuration"},"InformationLink":{"href":"/devices/0/information"},"Operation":{"dhwPower":"Off","power":"Off","ventilationPower":"Off"},"Temperatures":[{"desired":0,"id":"0","increment":1,"unit":"Celsius"}],"description":"DisableTempIncrement","id":"0","name":"Wifi-kit","resources":["Alarms","Operation","Temperatures","Information","Configuration"],"type":"Air_Conditioner","uuid":"702C1F83-C167-0000-0000-000000000000"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:12"}],"ConfigurationLink":{"href":"/devices/032001000/configuration"},"InformationLink":{"href":"/devices/032001000/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001000","name":"Camera Ospiti","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"89037e14-3080-45b9-b842-102cb8f4da8d"},{"Alarms":[{"alarmType":"Device","code":"0","id":"0","triggeredTime":"2021-03-26T21:49:12"}],"ConfigurationLink":{"href":"/devices/032001001/configuration"},"InformationLink":{"href":"/devices/032001001/information"},"Mode":{"modes":["Opmode_Fan"],"options":["Volume_100"],"supportedModes":["Opmode_Auto","Opmode_Cool","Opmode_Dry","Opmode_Fan","Opmode_Heat"]},"Operation":{"power":"Off"},"Temperatures":[{"current":22,"desired":24,"id":"0","increment":1,"maximum":-1000,"minimum":-1000,"name":"INDOOR","unit":"Celsius"}],"Wind":{"direction":"Fix","speedLevel":4,"supportedWindModes":["4","3","2","Up_And_Low","Fix"]},"description":"CONSOLE","id":"032001001","name":"Camera Principale","resources":["Operation","Wind","Mode","Temperatures","Information","Configuration","Alarms"],"type":"Air_Conditioner","uuid":"683b81b4-a7c1-4267-9807-afd71ec86c14"}]}
2021-03-26 21:50:02 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Getter updated with value: {'Alarms': [{'alarmType': 'Device', 'code': '0', 'id': '0', 'triggeredTime': '2021-03-26T21:49:12'}], 'ConfigurationLink': {'href': '/devices/032001000/configuration'}, 'InformationLink': {'href': '/devices/032001000/information'}, 'Mode': {'modes': ['Opmode_Fan'], 'options': ['Volume_100'], 'supportedModes': ['Opmode_Auto', 'Opmode_Cool', 'Opmode_Dry', 'Opmode_Fan', 'Opmode_Heat']}, 'Operation': {'power': 'Off'}, 'Temperatures': [{'current': 22, 'desired': 24, 'id': '0', 'increment': 1, 'maximum': -1000, 'minimum': -1000, 'name': 'INDOOR', 'unit': 'Celsius'}], 'Wind': {'direction': 'Fix', 'speedLevel': 4, 'supportedWindModes': ['4', '3', '2', 'Up_And_Low', 'Fix']}, 'description': 'CONSOLE', 'id': '032001000', 'name': 'Camera Ospiti', 'resources': ['Operation', 'Wind', 'Mode', 'Temperatures', 'Information', 'Configuration', 'Alarms'], 'type': 'Air_Conditioner', 'uuid': '89037e14-3080-45b9-b842-102cb8f4da8d'}
2021-03-26 21:50:02 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Updating operations...
2021-03-26 21:50:02 INFO (SyncWorker_1) [custom_components.climate_ip.climate] Updating properties...
2021-03-26 21:50:02 INFO (MainThread) [custom_components.climate_ip.climate] state_attributes
2021-03-26 21:50:02 INFO (MainThread) [custom_components.climate_ip.climate] Controller::state_attributes
2021-03-26 21:50:03 INFO (MainThread) [custom_components.climate_ip.climate] Should poll: False
2021-03-26 21:50:03 INFO (MainThread) [custom_components.climate_ip.climate] Should poll: False

@Poncharello
Copy link

Solved.
In the yaml file of the 2nd indoor unit, I had to change from this:

status_template: '{{ device_state.Devices.1 }}'

to this:

status_template: '{{ device_state.Devices.2 }}'

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants