Inspect the bulb, not the name of the bulb

Inspecting b.name always just gave me "undefined". It seems better to
inspect the whole bulb to get its complete status.