laurent-martin / ets-to-homeassistant

script to convert ETS5 project file to a YAML configuration file suitable for Home Assistant
Apache License 2.0
52 stars 12 forks source link

general output format: indentation and quotes #26

Open Superwallah opened 1 month ago

Superwallah commented 1 month ago

Is it intentional that the output format differs from the format described on https://www.home-assistant.io/integrations/knx ?

Your output has the dash on the same level as the category label and no quotes around the values: cover: - name: Rollo move_long_address: 3/1/1

The KNX page suggests to have

cover: - name: "Rollo" move_long_address: "3/1/1"

laurent-martin commented 1 month ago

Well, it's generated by the YAML library in Ruby, so that must be compliant to the standard: https://yaml.org/