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

unknown type DPST-11-1 #1

Closed PhilippeRaven closed 2 years ago

PhilippeRaven commented 3 years ago

Hi, I'm trying to convert to knxproj file to yaml file to import it in Home Assistant. Currently I got the following error by running ./ets_to_hass.rb myproj.knxproj : Traceback (most recent call last): 6: from ./ets_to_hass.rb:127:in

' 5: from ./ets_to_hass.rb:127:in new' 4: from ./ets_to_hass.rb:24:ininitialize' 3: from ./ets_to_hass.rb:24:in each' 2: from ./ets_to_hass.rb:27:inblock in initialize' 1: from ./ets_to_hass.rb:27:in each' ./ets_to_hass.rb:49:inblock (2 levels) in initialize': unknown type DPST-11-1 (RuntimeError) `

I don't know if it's the only DPST type no handled I got in my proj, but at the moment I'm stuck with this. Thanks !

laurent-martin commented 3 years ago

I have pushed a new version.

It is still limited, but by default it does not execute my specific code.

PhilippeRaven commented 3 years ago

Thanks, I'll try it !

laurent-martin commented 2 years ago

Latest vesion does not fail when unmanaged DPST is found. DPST-11-1 is type "date", it is not listed here: https://www.home-assistant.io/integrations/knx/