|  Developer
Updated on November 22, 2021

hub.favorite.removed

  • Broadcast after a device, item or rule was removed from favorites. Users can manage and remove favorites in the Ezlo app.
  • This is a response to a request from hub.favorite.set
Edit
				
					{
        "id": "ui_broadcast",
        "msg_subclass": "hub.favorite.removed",
        "initiator": {
            "api_name": "some api name here",
            "connection_type": "UI",
            "peer_unique_id": "23/3"
        },
        "result": {
            "devices": [
                "_DEVICE_ID_"
            ],
            "items": [
                "_ITEM_ID_"
            ],
            "rules": [
                "_RULE_ID_"
            ]
        }
    }				
			
Edit
Field Description
result.devices (optional) Identifies the device that was removed from favorites
result.items (optional) Identifies the item that was removed from favorites
result.rules (optional) Identifies the rule that was removed from favorites