Skip to content

F3800 set up failing #50

Description

@LouPaloma

I'm running a F3800 with firmware version 2.7.2. I have successfully added the device, but no sensors are being created. Reloading the integration produces the same errors as noted in the log snippet below. Perhaps exception handling is too coarse grained such that a single failure kills the entire process?

2026-09-12 14:12:32.411 INFO (MainThread) [homeassistant.components.sensor] Setting up solix_ble.sensor
2026-09-12 14:12:32.412 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up solix_ble platform for sensor: 'F3800' object has no attribute 'power_in'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 499, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/solix_ble/sensor.py", line 251, in async_setup_entry
    SolixSensorEntity(
    ~~~~~~~~~~~~~~~~~^
        device, "Total Power In", "W", "power_in", SensorDeviceClass.POWER
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/config/custom_components/solix_ble/sensor.py", line 1220, in __init__
    self._update_updatable_attributes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/config/custom_components/solix_ble/sensor.py", line 1234, in _update_updatable_attributes
    attribute_value = getattr(self._device, self._attribute_name)
AttributeError: 'F3800' object has no attribute 'power_in'. Did you mean: 'ac_power_in'?
2026-09-12 14:12:32.415 INFO (MainThread) [homeassistant.components.switch] Setting up solix_ble.switch

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions