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

Publish device list after force remove #4381

Closed
hacker-cb opened this issue Sep 16, 2020 · 3 comments
Closed

Publish device list after force remove #4381

hacker-cb opened this issue Sep 16, 2020 · 3 comments
Labels
problem Something isn't working

Comments

@hacker-cb
Copy link
Contributor

What happened

I force removed device:

Zigbee2MQTT:info  2020-09-16 16:15:26: Force removing '0x000d6f0014f34ec9'
Zigbee2MQTT:debug 2020-09-16 16:15:26: Clearing Home Assistant discovery topic for '0x000d6f0014f34ec9'
Zigbee2MQTT:info  2020-09-16 16:15:26: Successfully force_removed 0x000d6f0014f34ec9
Zigbee2MQTT:info  2020-09-16 16:15:26: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"0x000d6f0014f34ec9","type":"device_force_removed"}'

What did you expect to happen

New device list (without deleted one) should be published to mqtt

How to reproduce it (minimal and precise)

Just force remove device.

Debug info

Zigbee2MQTT version: 0.13.7
Adapter hardware: CC2538 + CC2592
Adapter firmware version: JetHome

@hacker-cb hacker-cb added the problem Something isn't working label Sep 16, 2020
@Koenkk
Copy link
Owner

Koenkk commented Sep 16, 2020

This is indeed not done for the legacy api (will not be updated anymore), when removing through the new api this is already done

@Koenkk Koenkk closed this as completed Sep 16, 2020
@hacker-cb
Copy link
Contributor Author

unfortunatelly, zigbee2mqttassistant uses old api :(

@Koenkk
Copy link
Owner

Koenkk commented Sep 16, 2020

You can try #4266 as an alternative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants