Open EpicLPer opened 7 months ago
I got the same error message "UUID not found", but in another issue post I found the solution:
https://github.com/wxt9861/esxi_stats/issues/41
You need the VM name, not the UUID, and all in lower case. I had lower/upper case mix which worked well till last week. Then I did an upgrade on Home Assistant and ESXi-stats and it stopped working.
Maybe this solves you issue.
Changed the names of the VM's to only lower case. and the names in the home assistant config.
and the automation started working again 👍
Great to hear that :-)
The case and spacing in VM is what I was trying to fix by using UUID. UUID is being pulled by the component, so user should not have to do anything, however I think the way vCenter and ESXi host asigns UUIDs to VM is different which might be the issue here.
Either way, there is a new attribute in the latest release which capture the VM name as it is in vCenter/Host so I will likely rework it again to use the attribute instead of UUID.
Describe the bug The integration always throws a "VM UUID not found" error no matter what UUID combination I try.
To Reproduce Steps to reproduce the behavior:
esxcli vm process list
or get UUID from.vmx
file52 xx 92 xx f0 xx 60 07-d2 xx 58 af xx xx 81 f1
or52xx92xxf0xx6007-d2xx58afxxxx81f1
)Expected behavior VM should react to service calls accordingly.
Screenshots X
ESXi environment (please complete the following information):
Additional context The Readme does not state how to get the VM UUID properly and still mentions to use the old, now defunct VM Name instead.