beautified device tree, added soft / hard state filter