Skip to content

Ready for others to try? #1

Description

@GollyJer

Hi! I stumbled on this today while searching for newer circadian light solutions for Home Assistant.
Is this ready for others to try out? I gave it a go but it didn't work.

  1. How do I Check that astral dependency installed correctly?

  2. I'm seeing this warning.

Logger: homeassistant.components.light
Source: helpers/deprecation.py:257
integration: Light (documentation, issues)
First occurred: 10:16:02 PM (2 occurrences)
Last logged: 10:16:02 PM

The deprecated constant ATTR_COLOR_TEMP was used from lumaflow. It will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'lumaflow' custom integration
  1. and this error
Logger: homeassistant.components.light
Source: helpers/entity_platform.py:451
integration: Light (documentation, issues)
First occurred: 10:16:02 PM (1 occurrence)
Last logged: 10:16:02 PM

Error while setting up lumaflow platform for light: 'NoneType' object has no attribute 'states'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 451, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/lumaflow/light.py", line 47, in async_setup_entry
    light_entity = LumaFlowLight(
        coordinator,
    ...<2 lines>...
        controlled_lights
    )
  File "/config/custom_components/lumaflow/light.py", line 80, in __init__
    self._attr_supported_color_modes = self._determine_supported_color_modes()
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/config/custom_components/lumaflow/light.py", line 88, in _determine_supported_color_modes
    light_state = self.hass.states.get(light_id)
                  ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'states'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions