Page 1 of 1

object 'kStateImageSel' has no attribute 'Open'

PostPosted: Mon Feb 05, 2024 11:53 am
by CliveS
Now that I managed to untangle my install problems I have been playing around.

I added an Aqara P2 Matter contact sensor to Home Assistant and now have it working in Indigo, instant response but I had to change 'kStateImageSel'

Code: Select all
 Home Assistant Agent            Aqara P2 Contact Sensor Via Home Assistant: Starting Agent device for entity 'binary_sensor.aqara_door_and_window_sensor_p2_door'
   Home Assistant Agent Debug      Updating device Aqara P2 Contact Sensor Via Home Assistant with {'entity_id': 'binary_sensor.aqara_door_and_window_sensor_p2_door', 'state': 'on', 'attributes': {'device_class': 'door', 'friendly_name': 'Aqara Door and Window Sensor P2 Door'}, 'last_changed': '2024-02-05T13:16:59.863467+00:00', 'last_updated': '2024-02-05T13:16:59.863467+00:00', 'context': {'id': '01HNWPMD2QWPYF2ZCEANC3TBTP', 'parent_id': None, 'user_id': None}}
   Home Assistant Agent Debug      Aqara P2 Contact Sensor Via Home Assistant: states list changed, updating...
   Home Assistant Agent Error      Error in plugin execution ServerReplacedElem:

  File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/plugin_base.py", line 1385, in device_updated
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/plugin_base.py", line 1321, in _dispatch_device_start_comm
  File "plugin.py", line 247, in deviceStartComm
  File "plugin.py", line 471, in entity_update
type: type object 'kStateImageSel' has no attribute 'Open'


Re: object 'kStateImageSel' has no attribute 'Open'

PostPosted: Mon Feb 05, 2024 1:18 pm
by FlyingDiver
Oops. That should have been "Opened" not "Open".