As a part of #1237
States can be displayed in "state" labels & "legend state" labels.
Currently "unknown" (for entity state) & "none" (for attribute) values are not shown since "unknown" entities & "none" attributes are not processed properly in graphs (see #1237).