Skip to content

Pentair Screenlogic  #49065

Closed
Closed
@MrBill12

Description

The problem

Attempting to get the new Pentair ScreenLogic Integration running. When adding the integration my Pentair adapter/gateway is found on the network and the integration supplies the correct "Pentair:" address for my screenlogic hardware. The integration doesn't make it thru startup, and throws errors: https://paste.ubuntu.com/p/vW9mn23k8v/

What is version of Home Assistant Core has the issue?

core-2021.4.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Pentair ScreenLogic

Link to integration documentation on our website

https://www.home-assistant.io/integrations/screenlogic/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.switch] Error adding entities for domain switch with platform screenlogic
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1
2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform screenlogic
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1
2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.binary_sensor] Error adding entities for domain binary_sensor with platform screenlogic
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1
2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform screenlogic
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1
2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.switch] Error while setting up screenlogic platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 213, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1
2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up screenlogic platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 213, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1
2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up screenlogic platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 213, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1
2021-04-11 09:20:57 ERROR (MainThread) [homeassistant.components.climate] Error while setting up screenlogic platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 213, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 390, in _async_add_entity
    device_info = entity.device_info
  File "/usr/src/homeassistant/homeassistant/components/screenlogic/__init__.py", line 202, in device_info
    "model": EQUIPMENT.CONTROLLER_HARDWARE[controller_type][hardware_type],
KeyError: 1

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions