safe get device discovered value
Merge pull request #289 from kubked/fix/csv-generate

Safe get device discovered value