def METHOD_NAME(self):
    # There are currently no known error states; update this as
    # they are discovered
    self.dps[ERROR_DPS] = 2
    self.assertDictEqual(
        self.subject.extra_state_attributes,
        {"fault": 2},
    )
    self.dps[ERROR_DPS] = "0"
    self.assertDictEqual(
        self.subject.extra_state_attributes,
        {"fault": 0},
    )