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

[MQTT] Presence sensor type not set correctly #671

Open
2 tasks done
jokob-sk opened this issue May 10, 2024 · 2 comments
Open
2 tasks done

[MQTT] Presence sensor type not set correctly #671

jokob-sk opened this issue May 10, 2024 · 2 comments
Labels
bug 🐛 Something isn't working next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed. Workaround provided ⚒️ A workaround for the issue was provided so no further actions will be taken.

Comments

@jokob-sk
Copy link
Owner

Is there an existing issue for this?

Current Behavior

The sensor type setting is not taken into account

Expected Behavior

Be able to change the sensor type and for it to be reflected

Steps To Reproduce

  1. Save settings
  2. Sensor type will be blank

app.conf

No response

docker-compose.yml

No response

What branch are you running?

Production

app.log

No response

Debug enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.
@jokob-sk jokob-sk added the bug 🐛 Something isn't working label May 10, 2024
@jokob-sk
Copy link
Owner Author

jokob-sk commented May 10, 2024

Possible workaround (to be confirmed):

Insert

PRESENCE_SENSOR_TYPE='device_tracker'

or

PRESENCE_SENSOR_TYPE='binary_sensor'

into your app.conf, alternatively, try to download the netalertx-dev image and re-save the settings.

@jokob-sk jokob-sk added Workaround provided ⚒️ A workaround for the issue was provided so no further actions will be taken. next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed. labels May 10, 2024
@iLeoLion
Copy link

Switched to the netalertx-dev image, re-applied settings and now it created the binary_sensor.
HomeAssistant picked up the data.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed. Workaround provided ⚒️ A workaround for the issue was provided so no further actions will be taken.
Projects
None yet
Development

No branches or pull requests

2 participants