Home Assistant Config Helper python support

Feature Request: Add Python Language Support to Home Assistant Config Helper in Visual Studio Code

Description:

I would like to propose the addition of Python language support to the Home Assistant Config Helper within the Visual Studio Code editor. Currently, the Home Assistant Config Helper integration supports .yml, .yaml, and Home Assistant Jinja languages. However, for users who rely on Python-based automation solutions, such as AppDaemon, the lack of integrated Python support presents challenges in terms of workflow efficiency.

Benefits of Python Support:

  • Improved Workflow: Adding Python support would streamline the development process for users working with AppDaemon or similar Python-based automations, allowing them to leverage the powerful features provided by the Home Assistant Config Helper.
  • Consistency: This addition would ensure a more cohesive experience within Visual Studio Code, making it a one-stop solution for managing all types of automations (YAML and Python).
  • Enhanced Productivity: Autocompletion, syntax checking, and linting support for Python would allow users to detect issues earlier and improve development speed, resulting in a more efficient automation creation process.

Use Case:

As a user who leverages both YAML and Python for Home Assistant automations, particularly AppDaemon, I find it cumbersome to switch between editors or lose the functionality provided by the Config Helper when working with Python files. Adding Python language support would unify the experience for users managing both YAML-based automations and Python-based automation scripts in AppDaemon.

Request Summary:

I kindly request that Python be added to the supported languages in the Home Assistant Config Helper extension in Visual Studio Code. This would greatly simplify the development workflow for users who rely on Python for automation, enhancing both efficiency and usability.

Thank you for considering this feature request.

Sincerely,
OWi

Hi Owi,

Since this is rather niche with a vast minority of users needing this, my suggestion is just to load that extension yourself. Code Server Add-on is Huge already,
You can add any extension you want to your copy as long as it works with memory, disk, and architecture.

Is just an extension. Python would be another extension just like the add on loads yaml, prettier, and a lot of others.

1 Like

Hi Sir_Goodenough,

Thank you for your quick response and the suggestion! I understand that this is a more niche request, and I appreciate your explanation regarding the extension. I’ll give your recommendation a try and load the Python extension myself to see how it works within my setup.