Plugwise integration won't complete setup (Core/Custom Component Beta)

Hi
Last weekend we’ve had a new CV-ketel + Plugwise Adam installed. Everything works fine except for the Home Assistant integration. When trying to add the integration, it keeps giving the error ‘Retrying setup: ‘NoneType’ object has no attribute ‘text’’. The debugging log gives back the following information:

Logger: homeassistant.components.plugwise
Source: components/plugwise/coordinator.py:67
Integration: Plugwise (documentation, issues)
First occurred: 7:28:10 PM (3 occurrences)
Last logged: 7:28:23 PM

Unexpected error fetching plugwise data: ‘NoneType’ object has no attribute ‘text’
Traceback (most recent call last):

  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/plugwise/coordinator.py", line 77, in _async_update_data
    await self._connect()
  File "/usr/src/homeassistant/homeassistant/components/plugwise/coordinator.py", line 67, in _connect
    self.api.get_all_devices()
  File "/usr/local/lib/python3.10/site-packages/plugwise/smile.py", line 149, in get_all_devices
    self._all_device_data()
  File "/usr/local/lib/python3.10/site-packages/plugwise/smile.py", line 98, in _all_device_data
    data = self._get_device_data(device_id)
  File "/usr/local/lib/python3.10/site-packages/plugwise/smile.py", line 274, in _get_device_data
    device_data = self._get_appliance_data(dev_id)
  File "/usr/local/lib/python3.10/site-packages/plugwise/helper.py", line 1022, in _get_appliance_data
    self._get_toggle_state(appliance, toggle, name, data)
  File "/usr/local/lib/python3.10/site-packages/plugwise/helper.py", line 1482, in _get_toggle_state
    data.update({name: item.find("state").text == "on"})
AttributeError: 'NoneType' object has no attribute 'text'

2023-02-20_19-30-12_msedge

I’ve also tried the Beta custom component from the GitHub, but that one gives back the same error. How can I get the Plugwise to work with my HA?

@rickstienstra Welcome to the HA Community!

Please create an New Issue here: Issues · plugwise/plugwise-beta · GitHub
And then I will try to solve the problem.