State attribute combiner
need to combine the list of state in one single attribute (of type state)
fault, if at least one fault, else alarm, if at least one alarm, else moving, if at least one moving, else ....
need to combine the list of state in one single attribute (of type state)
fault, if at least one fault, else alarm, if at least one alarm, else moving, if at least one moving, else ....