You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create a custom js-yaml schema, which supports Homeassistant tags. For that I developed homeassistant-js-yaml-schema.
Unfortunately something is not working as expected, leading to this behavior. The schema reads the tags, but it adds too much meta information.
I noticed the same behavior in the provided example custom_types.js. I used exact the same file custom_types.js, loaded exact the same file custom_types.yml and dumped it. The result differs and also adds too much meta information. For me it looks like the represent function is ignored.
I want to create a custom js-yaml schema, which supports Homeassistant tags. For that I developed homeassistant-js-yaml-schema.
Unfortunately something is not working as expected, leading to this behavior. The schema reads the tags, but it adds too much meta information.
I noticed the same behavior in the provided example custom_types.js. I used exact the same file
custom_types.js
, loaded exact the same filecustom_types.yml
and dumped it. The result differs and also adds too much meta information. For me it looks like therepresent
function is ignored.See my test here:
The
result
isThe text was updated successfully, but these errors were encountered: