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

Added <operation>_failed logging #2636

Merged
merged 3 commits into from
Jan 7, 2020
Merged

Conversation

carldebilly
Copy link
Contributor

@carldebilly carldebilly commented Dec 30, 2019

for external tools (like Zigbee2MqttAssistant), this will allow the tool to know when an operation is failed.
#2223

Added the following:

  • bridge/bind/<device> & bridge/unbind/<device> can now produce the following logs:
    • device_bind
    • device_bind_failed 🆕
    • device_unbind
    • device_unbind_failed 🆕
  • bridge/config/remove, bridge/config/force_remove & bridge/config/ban can now produce the following logs:
    • device_remove
    • device_remove_failed 🆕
    • device_force_remove
    • device_force_remove_failed 🆕
    • device_ban
    • device_ban_failed 🆕
  • bridge/group/<group>/(remove|add|remove_all) commands:
    • device_group_add
    • device_group_add_failed 🆕
    • device_group_remove
    • device_group_remove_failed 🆕
    • device_group_remove_all
    • device_group_remove_all_failed 🆕

TODO:

  • Update documentation

for external tools (like Zigbee2MqttAssistant), this will allow the tool to know when an operation is failed.
Koenkk#2223
@carldebilly carldebilly force-pushed the cdb/remove-failed branch 4 times, most recently from fb6609f to fd11a30 Compare December 31, 2019 01:07
@Koenkk
Copy link
Owner

Koenkk commented Jan 3, 2020

Thanks, could you also make a PR for the docs? Then this can be merged.

carldebilly added a commit to carldebilly/zigbee2mqtt.io that referenced this pull request Jan 3, 2020
carldebilly added a commit to carldebilly/zigbee2mqtt.io that referenced this pull request Jan 3, 2020
Koenkk pushed a commit to carldebilly/zigbee2mqtt.io that referenced this pull request Jan 7, 2020
@Koenkk
Copy link
Owner

Koenkk commented Jan 7, 2020

Thanks!

@Koenkk Koenkk merged commit cabb1f3 into Koenkk:dev Jan 7, 2020
Koenkk pushed a commit to Koenkk/zigbee2mqtt.io that referenced this pull request Jan 7, 2020
@carldebilly carldebilly deleted the cdb/remove-failed branch January 7, 2020 20:26
Koenkk pushed a commit to Koenkk/zigbee2mqtt.io that referenced this pull request Jan 14, 2020
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

Successfully merging this pull request may close these issues.

2 participants