travisghansen / hass-opnsense

OPNsense integration with Home Assistant
194 stars 25 forks source link

Fix creating device trackers if no devices selected #131

Open amosyuen opened 6 months ago

amosyuen commented 6 months ago

Configuration description for choosing devices to track configuration page says "Choose which devices you want to track. If you don't select any devices, all devices will be tracked but will be disabled by default. If you do select any devices, only those devices will be tracked and will be enabled by default."

However, if I do not select any devices, no entities are added at all (even checking disabled ones) because device_per_arp_entry is always False.

alexdelprete commented 1 day ago

@Snuffy2 what do you think about this?