so there are 3 possible conditions and depending on what condition is present at the moment you want 3 different images to show on dashboard.
can you just not use a switch node and direct show a defined image ? sorry I may be misreading your requirement.
[{"id":"aa4055d2e729e0fa","type":"inject","z":"5a5b50a5e5a3beba","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"BUTTON-1","payloadType":"str","x":215,"y":250,"wires":[["7da39ba5a703ba6a"]]},{"id":"7da39ba5a703ba6a","type":"switch","z":"5a5b50a5e5a3beba","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"BUTTON-1","vt":"str"},{"t":"eq","v":"BUTTON-2","vt":"str"},{"t":"eq","v":"BUTTON-3","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":525,"y":300,"wires":[["63337c154a6d26b2"],["ee4d0d06294c7dd4"],["bd04340505552b4a"]]},{"id":"602aa9bfc152b5e6","type":"ui_template","z":"5a5b50a5e5a3beba","group":"5b5ee9f169c93ecf","name":"Logo","order":1,"width":"10","height":"10","format":"","storeOutMessages":false,"fwdInMessages":false,"resendOnRefresh":false,"templateScope":"local","className":"","x":1000,"y":300,"wires":[[]]},{"id":"ee4d0d06294c7dd4","type":"change","z":"5a5b50a5e5a3beba","name":"","rules":[{"t":"set","p":"img","pt":"msg","to":"\\test\\hc.png","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":300,"wires":[["0d4d75c8fa027d3f"]]},{"id":"0d4d75c8fa027d3f","type":"template","z":"5a5b50a5e5a3beba","name":"","field":"template","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<div>\n<img src={{img}} width=\"350\" height=\"290\" style= \"margin: 5px 5px 5px 5px\"; >\n</div>","output":"str","x":860,"y":300,"wires":[["602aa9bfc152b5e6"]]},{"id":"63337c154a6d26b2","type":"change","z":"5a5b50a5e5a3beba","name":"","rules":[{"t":"set","p":"img","pt":"msg","to":"\\test\\o.png","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":250,"wires":[["0d4d75c8fa027d3f"]]},{"id":"bd04340505552b4a","type":"change","z":"5a5b50a5e5a3beba","name":"","rules":[{"t":"set","p":"img","pt":"msg","to":"\\test\\c.png","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":350,"wires":[["0d4d75c8fa027d3f"]]},{"id":"70cc0622dba92e7c","type":"inject","z":"5a5b50a5e5a3beba","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"BUTTON-2","payloadType":"str","x":215,"y":300,"wires":[["7da39ba5a703ba6a"]]},{"id":"86230ce4d0e6efc3","type":"inject","z":"5a5b50a5e5a3beba","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"BUTTON-3","payloadType":"str","x":215,"y":350,"wires":[["7da39ba5a703ba6a"]]},{"id":"bcda6816b7ef2d86","type":"ui_button","z":"5a5b50a5e5a3beba","name":"","group":"5b5ee9f169c93ecf","order":7,"width":"3","height":"2","passthru":false,"label":"Open","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"BUTTON-1","payloadType":"str","topic":"topic","topicType":"msg","x":350,"y":375,"wires":[["7da39ba5a703ba6a"]]},{"id":"ccd4e14e7104e502","type":"ui_button","z":"5a5b50a5e5a3beba","name":"","group":"5b5ee9f169c93ecf","order":7,"width":"3","height":"2","passthru":false,"label":"half Open","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"BUTTON-2","payloadType":"str","topic":"topic","topicType":"msg","x":340,"y":425,"wires":[["7da39ba5a703ba6a"]]},{"id":"3ca2654bebea95f3","type":"ui_button","z":"5a5b50a5e5a3beba","name":"","group":"5b5ee9f169c93ecf","order":7,"width":"3","height":"2","passthru":false,"label":"Close","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"BUTTON-3","payloadType":"str","topic":"topic","topicType":"msg","x":350,"y":475,"wires":[["7da39ba5a703ba6a"]]},{"id":"5b5ee9f169c93ecf","type":"ui_group","name":"demo","tab":"195948bb680041dd","order":1,"disp":false,"width":"32","collapse":false,"className":""},{"id":"195948bb680041dd","type":"ui_tab","name":"Demo","icon":"dashboard","disabled":false,"hidden":false}]