I don’t see that there’s any sort of integration for writing code to process information from HA entities like Node Red + Companion. Am I missing something and this is more than just an interface for the config files and maybe a git client for those config files?

  • ikidd@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    No, I see all the config files in VScode, but I really don’t have much need for that since I’ve usually done that stuff via SSH. I was wondering if VSCode gave any sort of actual integration with HA like the NodeRed Companion does by exposing all the entities within the IDE so you can do your own coding.

    Another commenter mentioned Pyscript which seems like it does some sort of tying together of HA and code.

    • killeronthecorner@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I see, not as far as I’m aware. Cool idea though, the hass UI can be a bit limiting sometimes. I’d love to see a workflow view of different automations (automation management in Hass is pretty poor IMO)

    • danielo515@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Vscode extension is aware of home assistant entities, so you get (or should) auto completion of existing entities and services, which you will not get on vim over ssh