-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to add sensor #90
Comments
Hi @probablypablito, it is awesome to hear that you are enjoying the app and trying to implement new sensors :)
How ever if i can suggest, clone dev branch try to add your code and then open merge request, so i can see your code and suggest what to fix ;) |
Hi! I successfully added my sensor into the Sensors class and it works great in HomeAssistant! The only thing that's still not clear to me before I make a PR is how to make sure my sensor gets added to the default configuration.yaml. So far, I've had to add my sensor manually at the bottom of the generated config after the binary is built. I remember trying to add it to the |
Hi, that is the correct file, however you need to clear the build directory since it is build only if it doesn't exist. |
@probablypablito did you manage to create PR ? :) |
Hi sorry for the lack of response, I did not manage to get the configuration yaml to appear, doubly so because the dev branch doesn't seem to compile for me. I'll still PR my code tomorrow so you can take a look at it in case I just missed something obvious. |
@probablypablito just tested dev branch, it compile correctly, so make PR and i will take a look. :) |
Hi! I really like this project. I'm interesting in contributing my own binary sensor to it. I've successfully build HADC_Reborn using dotnet. I have made the code for my sensor, added in the Sensors directory, and also added it to the configuration.yaml. It shows up in Home Assistant, but seems to just stay as false. My questions are:
Again, thank you for this project!
The text was updated successfully, but these errors were encountered: