-
Notifications
You must be signed in to change notification settings - Fork 28
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
No virtual.yaml was created. Creating one does not work #88
Comments
If you went straight to the alpha without upgrading then you'll need to add a Virtual integration to handle the defines. (It is alpha and the docs need updating.) Go to Make sure the defaults look good - ie, point to the file you created - and click submit. |
Okay, so currently trying to add the integration (v0.8.0.1) brings up the message that it can't be added through the UI: "This device cannot be added from the UI. You can add this device by adding it to your 'configuration.yaml'. See the documentation for more information." The only option is to open the documentation. What was the old config for configuration.yaml, if that still works? Edit: Found the old instructions on archive.org, and it seems to work fine! |
@qdatk could you please elaborate on what you had to change to get it to work? |
Did you add sensors under "virtual:"? They need to be their own section. I made this mistake the first time round. Also, it will not appear in the UI's list of integrations or devices, but only under entities. |
thanks @qdatk, I did the following:
I am not able to get it to work with these changes (no sensors with same names as defined in virtual.yaml, or anything similar). I am not able to add the integration from the GUI since it throws an error dialog saying it cannot be added via the UI. Is there anything else I am missing? |
Put something like this in configuration.yaml:
|
Can you try the latest build, the code might have used the wrong directory. |
I restarted from scratch again around New Years, and it started working. |
In my HA's config folder there is no virtual.yaml file. i tried searching for it, no results. I created a new one in the config folder, and even after a reboot it is not creating anything.
i populated the virtual.yaml with the following:
`devices:
Living Room Lights:
initial_value: 'on'
support_brightness: true
initial_brightness: 100`
Help would be appriciated, thanks!
The text was updated successfully, but these errors were encountered: