-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
virtual.yaml will not be visible #140
Comments
You can create it and put your configuration in it. |
I am running HAOS and created the |
You still need to add a virtual integration:
then choose the file you created. |
Hi, I have the same issue. How do I get the integration working? I tried the following:
This integration cannot be added from the UI I also tried to use This is my virtual.yaml: binary_sensor:
|
I had the same issue with the latest 0.9.0b18 On a bare-metal installation, the virtual.yaml is not created automatically. Maybe due to folder permission problems. Could not find any hints in the debug log. So I created the virtual.yaml file manually (in the same folder as the configuration.yaml) with one test light and no entry in the configuration.yaml. version: 1
devices:
Test Light:
- platform: light
initial_value: "off" Saved, and restarted, HA. Now I see my test light. What's not working, if I created just an empty file, without the version: 1
devices: {} Now the Integration is working and showing my test device. |
There is no way to add devices directly from the UI. To add more virtual device you have 2 options:
It's done like this because config flow doesn't have seem to be set up for this, you can't edit a list of items very easily. config flow normally lets you put enough information in to connect to a remote service that will provide the devices to HA. Here the remote service is your yaml file which you are free to edit and reload. And I will improve the documentation about setting this up. |
ahhh, ok, this was misleading from the documentation, where you wrote, that the integration can be configured via config flow. But you meant the first installation and not the creation of the individual virtual devices. Ok, understood. So far everything is going great except for the initial hiccup. Thank you very much! |
I cannot find the virtual.yaml file.
The text was updated successfully, but these errors were encountered: