• Norgur@fedia.io
    link
    fedilink
    arrow-up
    43
    ·
    8 months ago

    I wanted to answer but there is a space missing or too much, idk. Long story short: my answer isn’t working

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      edit-2
      8 months ago

      I, for one, remember editing a YAML file and getting it right on the first try!

      Once, of course, but that’s enough to show it’s possible.

      • Norgur@fedia.io
        link
        fedilink
        arrow-up
        5
        ·
        8 months ago

        It’s possible. I do it daily. I also fuck up YAML files and go space-hunting on the daily.

      • Norgur@fedia.io
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        8 months ago

        Yeah, you dimwit! Also, PID now doesn’t take a multi-line array anymore but single lines with commas, so what’s this

        PID:
           - 123354
           - 567673
           - 123456
        

        nonsense you’re trying to pull here, eh?!

    • DreadPotato@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      8 months ago

      Maybe home assistant a few years ago…I have a fully functional setup with loads of automations and haven’t written a single line of YAML for it.

      • rimjob_rainer@discuss.tchncs.de
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        8 months ago

        I just started using it a few months ago and most stuff I did was only possible using yaml (templates, custom integrations etc.). I think it depends on your requirements.

        • DreadPotato@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          None of my custom integrations are configured with YAML anymore, they’ve all moved to the GUI. Even a couple of my templates have been made directly in the GUI.

          “Not a single line of YAML” is a bit hyperbole, but the only YAML I’ve got left in my setup are a handful of custom sensors, I haven’t checked if that can now be done from the GUI. It’s around 100 lines of YAML in total or something like that. But all the home automation stuff is done purely with GUI.

          There has been huge improvements on what can be done from the GUI in the last few years since I started with HA.

          • rimjob_rainer@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            8 months ago

            Most of my automations use templates. I have template sensors, I use the KNX integration, which must be configured using yaml and the adaptive lighting integration as well. For my dashboard I used many template cards (evaluation of states with templates to set appropriate icons, colours and text), tabbed cards, card mod for css inside yaml for my custom room cards.

            You see, it absolutely depends on your requirements and how sophisticated your dashboard is.

            • DreadPotato@sopuli.xyz
              link
              fedilink
              arrow-up
              1
              ·
              8 months ago

              I use the KNX integration, which must be configured using yaml

              This is probably because of the devs behind the integration though and not the fault of HA.

              I have my all my cards and dashboards defined through GUI as well, you van make plenty sophisticated interfaces without YAML. A lot of tutorials are probably not up to date with what you can do though and use YAML.

              • rimjob_rainer@discuss.tchncs.de
                link
                fedilink
                arrow-up
                3
                ·
                edit-2
                8 months ago

                I don’t think you can do something like this without yaml (fully custom mushroom template cards, each button opens a popup with the entities in the room, text formatting and unit conversion, also icons change dynamically depending on state and icons appear for open windows):

  • MrSpArkle@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    8 months ago

    It’s ok, someone will just swing through the window and save you from the complexity and dread of YAML with the gracefulness of pulumi and jsonnet.

    • zinderic@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      8 months ago

      Right. Why should someone write 10 lines of yaml when they can program 20 lines of Go? Or python. Or assembly for a risc cpu because it just feels so friendly with that nice instruction set.