I want to add something to the Refoss component in Home Assistant. Because I own the Refoss EM06 and the company just released a guide to add this device to HA. But I can’t find a way to get to this specific Folder. I have samba share, file edit and VSCode server. Can’t find it. Not even as hidden folder.
I don’t know anything about Refoss but… There is an official Refoss Integration: Refoss - Home Assistant. I would hope that the integration would cover what you are trying to add without you having to copy something to the HA file structure.
But, there might also be a typo in their instructions. I think it should be homeassistant/custom_components not homeassistant/components
Is there a Refoss folder in the custom_components folder?
As a follow-up, I did find this documentation: Integration file structure | Home Assistant Developer Docs. But I believe the integration components directory may be protected (hidden); therefore, not accessible. So, I would contact Refoss to update their instructions and/or integration.
EDIT: Confirmed that the integrations directories have been protected as of 2024.6. File write access must be granted in the Home Assistant configuration YAML. For example:
################## allow list of directories for file integration to write #############################
homeassistant:
allowlist_external_dirs:
- "/share/user_data/tub"
- "/share/user_data/inverter"
- "/share/user_data/battery"
So, you will need to get the path from Refoss and include it in the allowlist_external_dirs. I’m guessing it is "/components/refoss"
I have tried to add this to my config.yaml but I only get en error that this directory doesn’t exist…I have already mailed the Refoss support and wait for a response. Hopefully they add the integration of the EM06 straight to the official integration with 2024.07.
Yes, I have configured the Refoss Integration but no device were found.
How do you integrate the EM06?
I found this website (REFOSS HOME) downloaded the Zip and in there was a Guide and the files which needed to be replaced in the Refoss components folder.