ollo69 / ha_asuswrt_custom

AsusWrt Custom HA integration
Apache License 2.0
7 stars 0 forks source link

Device Tracker Entities are disabled #25

Closed auanasgheps closed 1 year ago

auanasgheps commented 1 year ago

Hi, I just installed this integration by uninstalling the official one. I'm having issues with Device Tracker entities.

The integration is working fine for router info. The device tracker is working fine for devices that already have an integration in HA that uses their IP address, like Shelly, Broadlink etc (they're seen as a "Device" in Asus integration too). But for devices that do not have such integration such as my laptop or my phone, the entity exists but shows as disabled.

Can you help? image

auanasgheps commented 1 year ago

Allright, I enabled it and seems that status is reported as expected. Don't know why, that's weird.

auanasgheps commented 1 year ago

Update: devices are all detected as "home" but they're not.

auanasgheps commented 1 year ago

Update2: the disconnected devices are now reported as away. Not sure if it's the integration or the router...

ollo69 commented 1 year ago

Entity related to tracked devices that do not provide additional HA features ( as switch, light and so on) are always created in disabled status and without an associated device, this is as HA works. You must manually enable the entities that you want to track. All tracked entities when disconnected from router remain in status home for a specific period. You can change this period in integration config option (I think that default is 5 minutes, but I'm not sure)

auanasgheps commented 1 year ago

Thank you!