-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Cannot setup example_light #13
Comments
i have the same problem |
@skrutt : here is a better example: in _send_reliable_message just return True, so you can run it without any of those devices. |
It's using the old identifier, but it does still work. You're right that we should update these. Your error is because you didn't update the requirements, so it is trying to install a library for |
Is this component supposed to be runnable as an example, or is it only a template for light component development? If the former is true, what am I supposed to replace |
I think it is the later one. Any communication with the actual lights/hub/platform etc. should be outsourced to a python package on its own (like the imaginary awesomelights) leaving only the part that communicates with HA in the maintained source. if you are looking for an example of the former one, checkout the list of light integrations: https://www.home-assistant.io/integrations/#light |
I see. Thank you. |
I think the example configuration for example_light still uses an old identifier:
https://github.com/home-assistant/example-custom-config/blame/master/custom_components/example_light/README.md#L18
should be:
I this is correct, I can create an PR but even with this change, I can't get it to work. in the logs I see this:
The text was updated successfully, but these errors were encountered: