custom-components / ble_monitor

BLE monitor for passive BLE sensors

Home Page:https://community.home-assistant.io/t/passive-ble-monitor-integration/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: last_packet_id is typed as last_packet id

DrewIshy opened this issue · comments

What happened?

Just noticed that in line 1108 and 993 of sensor.py extra_state_attribute has last_pacekt [space] id whereas all the other places it has last_packet_id.
I'm writing a new sensor and came across this while debugging something completely different.

NO IDEA if this is causing an issue as I have not looked into it, but I got a error message which had this in it and was wondering if this was the cause. Seemed like a typo for PowerSensor and SwitchSensor which I am not using

Sensor type

No response

Relevant log output

No response

Thanks, good spot. Didn’t affect the working much I think, but good to fix anyways.