Skip to content

Mill stopped working for long time #155754

@Thomza

Description

@Thomza

The problem

Hi!
Long time ago, mill stopped working for me.
I had 3 homes in mill app, now deleted one of them, 2 in total now.
I deleted all dead units from mill app for further troubleshooting.
Still can't get mill up and running again in HA. The fault has been identical all the time.

I need to keep mill integration disabled now, to not get too many requests to mill servers.

The fault occurs immediately after activating mill integration.

What version of Home Assistant Core has the issue?

2025.10.4

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

Mill

Link to integration documentation on our website

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

Diagnostics information

home-assistant_mill_2025-11-03T19-19-07.987Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

Logger: homeassistant.components.mill.coordinator
Kilde: helpers/update_coordinator.py:392
integrasjon: Mill (dokumentasjon, problemer)
Første forekomst: 19:42:57 (2 occurrences)
Sist logget: 19:43:04

Unexpected error fetching mill data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/mill/__init__.py", line 443, in fetch_heater_and_sensor_data
    await self.update_devices()
  File "/usr/local/lib/python3.13/site-packages/mill/__init__.py", line 232, in update_devices
    await asyncio.gather(*tasks)
  File "/usr/local/lib/python3.13/site-packages/mill/__init__.py", line 252, in _update_home
    await asyncio.gather(*tasks)
  File "/usr/local/lib/python3.13/site-packages/mill/__init__.py", line 285, in _update_device
    self.devices[_id] = Socket.init_from_response(
                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
        device_data, room_data, device_stats
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/mill/__init__.py", line 568, in init_from_response
    return cls(
        name=device_data.get("customName"),
    ...<6 lines>...
        stats=device_stats,
    )
  File "<string>", line 29, in __init__
  File "/usr/local/lib/python3.13/site-packages/mill/__init__.py", line 671, in __post_init__
    self.humidity = last_metrics.get("humidity")
                    ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

Additional information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions