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

Incompatibility with Samsung WindFree AR12CVFAMWKNAZ using climate_ip integration #122

Open
helivander opened this issue Dec 18, 2024 · 0 comments

Comments

@helivander
Copy link

I am experiencing an issue with the climate_ip integration while attempting to connect my Samsung WindFree AR12CVFAMWKNAZ to the SmartThings API. The problem occurs during Home Assistant startup, with logs indicating a blocking call to create the SSL context (ssl.create_default_context()) in the file connection_request_tls_auto.py.

However, the same device works correctly when using the heating pump integration configuration (samsung_smartthings_dhw.yaml).

AML Configuration

climate:
  - platform: climate_ip
    config_file: '/config/custom_components/climate_ip/samsung_smartthings_hvac.yaml'
    ip_address: api.smartthings.com
    token: 'token'  # Example token
    device_id: 'device_id'  # Example ID
    name: 'AC Room'
    debug: yes

Logs:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/climate_ip/climate.py", line 126, in async_setup_platform device_controller = await create_controller( ^^^^^^^^^^^^^^^^^^^^^^^^ config.get(CONF_CONTROLLER), config, _LOGGER ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/config/custom_components/climate_ip/controller.py", line 71, in create_controller if await c.initialize(): ^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/climate_ip/controller_yaml.py", line 177, in initialize self.update_state() ~~~~~~~~~~~~~~~~~^^ File "/config/custom_components/climate_ip/controller_yaml.py", line 281, in update_state op.update_state(device_state, debug) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/climate_ip/properties.py", line 230, in update_state v = self.status_template.render(device_state=device_state) File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1304, in render self.environment.handle_exception() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 939, in handle_exception raise rewrite_traceback_stack(source=source) File "<template>", line 1, in top-level template code File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 487, in getattr return getattr(obj, attribute) jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'INDOOR'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant