merged patch provided by c.hoeflake in #355
Merge pull request #824 from teichsta/onewire-type-enhancement

merged patch provided by c.hoeflake in #355