gcobb321 / icloud3

iCloud3 v3 - iCloud3 is an advanced iDevice tracker that uses Apple iCloud account and HA Companion App data for presence detection and location based automations.
MIT License
580 stars 54 forks source link

Error in Home Assistant 2023.6.0 beta #267

Open B-Hartley opened 1 year ago

B-Hartley commented 1 year ago

python version problem ?

2023-06-02 07:41:07.457 ERROR (MainThread) [icloud3] 'function' object has no attribute '_exclude_e'
Traceback (most recent call last):
  File "/config/custom_components/icloud3/sensor.py", line 420, in __init__
    ha_history_recorder.entity_filter._exclude_e.add(self.entity_id)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'function' object has no attribute '_exclude_e'
2023-06-02 07:41:07.460 ERROR (MainThread) [icloud3] 'function' object has no attribute '_exclude_e'
B-Hartley commented 1 year ago

Sorry. intended to raise on v3 beta.

gcobb321 commented 1 year ago

The HA guys must have changed the history component and removed the hack I was using to exclude some of the iCloud3 sensors from being added to the history data base. I just installed 2023.6.0.b2 and saw it. I’m out of town until next week and will post a fix then.

B-Hartley commented 1 year ago

Thanks