Closed shbatm closed 1 year ago
node-red-contrib-home-assistant-websocket: 0.47.0 Node-RED Companion: 1.1.2
Add your logs here.
Button entities will not fire and show as unknown in the Home Assistant UI.
unknown
2022-11-17 06:13:49.720 INFO (MainThread) [custom_components.nodered.discovery] Creating button a2277b3b.64d0f8 a014613185b274bd 2022-11-17 06:13:49.722 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:13:49.726 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:27:54.989 DEBUG (MainThread) [custom_components.nodered.discovery] Discovery message: {'type': 'nodered/discovery', 'server_id': 'a2277b3b.64d0f8', 'node_id': 'a014613185b274bd', 'config': {'name': 'Test Button'}, 'component': 'button', 'device_info': {'id': '3dcef21744e4a874', 'hw_version': '1.0.0', 'name': 'Laundry Tracker', 'manufacturer': 'Node-RED', 'model': '1', 'sw_version': '1.0.0'}, 'id': 24468} 2022-11-17 06:27:54.989 INFO (MainThread) [custom_components.nodered.discovery] Creating button a2277b3b.64d0f8 a014613185b274bd 2022-11-17 06:27:55.232 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:27:55.233 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:27:55.234 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:27:55.234 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button # When pressing button in UI: 2022-11-17 06:21:46.164 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities button.test_button or it is/they are currently not available # After a reload of the config entry: 2022-11-17 06:27:55.232 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:27:55.233 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:27:55.234 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button 2022-11-17 06:27:55.234 ERROR (MainThread) [homeassistant.components.button] Platform nodered does not generate unique IDs. ID nodered-a2277b3b.64d0f8-a014613185b274bd already exists - ignoring button.test_button
Restarted everything (server and add-ons) and seems to be working now.
Version of the custom_component
node-red-contrib-home-assistant-websocket: 0.47.0 Node-RED Companion: 1.1.2
Configuration
Describe the bug
Button entities will not fire and show as
![image](https://user-images.githubusercontent.com/18057952/202445534-4c15b378-e20a-4ea3-94a9-6cd941bcdcc6.png)
unknown
in the Home Assistant UI.Debug log