state is a symbol, so match it with the strings
Merge pull request #6 from openSUSE-Team/coolo_fix_state

state is a symbol, so match it with the strings