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

Missing topic fields on Mqtt Device Trigger announcement message. #2090

Open
Odyno opened this issue Oct 17, 2024 · 0 comments
Open

Missing topic fields on Mqtt Device Trigger announcement message. #2090

Odyno opened this issue Oct 17, 2024 · 0 comments

Comments

@Odyno
Copy link
Contributor

Odyno commented Oct 17, 2024

Describe the bug
Error on Home Assistant Mqtt Device Trigger on mqtt announcement message:

2024-10-18 00:23:56.951 ERROR (MainThread) [homeassistant.components.mqtt.entity] Error 'required key not provided @ data['topic']' when processing MQTT discovery message topic: 'homeassistant/device_automation/246F287AF099-4094-RF/config', message: '{'automation_type': 'trigger', 'type': 'received', 'subtype': '4094', 'original_topic': 'home/OMG2_BTRF/433toMQTT/4094', 'device': {'identifiers': ['246F287AF099'], 'via_device': 'OMG2_BTRF'}, 'platform': 'mqtt'}'

Missing "topic" field because it was removed on the Pull Requests #2068 (commit a89ff43 ) on the file main.ino line 586 (3187ed6#diff-be2f56ee0eb97b1e324e1cc7f0ad87e1a2a0b8b3cdb42cf3ce3e18e296915955R582 )

Mqtt Device Trigger announcement message the topic field is required (from documentation https://www.home-assistant.io/integrations/device_trigger.mqtt/#topic )

To Reproduce
Configure RF + HADiscovery
Receive a RF message

Expected behavior

  • Mqtt Device Trigger announcement message with topic field
  • Mqtt Message with the RF data
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

1 participant