Guide to development of component

Hi there,

python and home assistant is new to my, but I have some programming experience. I would like to develop a new custom component, but wonder how this is done regarding test, debug etc.

Any tips, guides for getting started.
Regards
Martin

This could help:

I have seen it - but wanted to know if anyone had a guide or best practice for writing, debugging and testing components.

I am also at this stage. I wish to create a sensor component and have started at https://home-assistant.io/developers/platform_example_sensor/

It would be very helpful to see how this example could be developed further, with discussion about the testing that takes place at each iteration of the code…?

2 Likes