Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor unknown devices is now missing a label for the host details, it used to be 'leased' #153

Open
EdgarBarranco opened this issue May 23, 2024 · 1 comment

Comments

@EdgarBarranco
Copy link

EdgarBarranco commented May 23, 2024

Hi,

Something changed, maybe in the release 2.1.0. unknown devices used to have a "leased" label for the IP. I could send notifications and alerts any time a new device received an IP via DHCP that didn't have a static IP. Now the attribute has the actual IP as the label, then mac, followed by the device name. This makes state_attr not being able to parse the new device details.

This is the output of the state:

state_class: measurement
192.168.254.185: FF:FF:FF:FF:FF (ESP_FFFFF)
icon: mdi:help-network-outline
friendly_name: EDGEROUTER-X Unknown Devices
unit_of_measurement: Devices

Can a label be put back so it looks something like:

state_class: measurement
ip: 192.168.254.185 
mac: FF:FF:FF:FF:FF 
host: ESP_FFFFF
icon: mdi:help-network-outline
friendly_name: EDGEROUTER-X Unknown Devices
unit_of_measurement: Devices

so state_attr can use the extra labels to extract the new host information.

Thanks!

@EdgarBarranco EdgarBarranco changed the title sensor unknown devices is now missing a label for the host details, it used to 'be leased' sensor unknown devices is now missing a label for the host details, it used to be 'leased' May 23, 2024
@illuzn
Copy link

illuzn commented Jul 5, 2024

Fixed in #156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants