original_docstring: Mock a climate ADC-T3000 node with missing mode setpoint.
docstring: Mock a climate ADC-T3000 node with missing mode setpoint.
docstring_tokens: Mock a climate ADC - T3000 node with missing mode setpoint .
code: def climate_adc_t3000_missing_mode_fixture(client, climate_adc_t3000_state):
      """Mock a climate ADC-T3000 node with missing mode setpoint."""
      data = copy.deepcopy(climate_adc_t3000_state)
      data["name"] = f"{data['name']} missing mode"
      for value in data["values"]:
          if value["commandClassName"] == "Humidity Control Mode":
              states = value["metadata"]["states"]
              for key in list(states.keys()):
                  if states[key] == "De-humidify":
                      del states[key]
      node = Node(client, data)
      client.driver.controller.nodes[node.node_id] = node
      return node
code_tokens: def climate_adc_t3000_missing_mode_fixture ( client , climate_adc_t3000_state ) : data = copy . deepcopy ( climate_adc_t3000_state ) data [ "name" ] = f"{data['name']} missing mode" for value in data [ "values" ] : if value [ "commandClassName" ] == "Humidity Control Mode" : states = value [ "metadata" ] [ "states" ] for key in list ( states . keys ( ) ) : if states [ key ] == "De-humidify" : del states [ key ] node = Node ( client , data ) client . driver . controller . nodes [ node . node_id ] = node return node
short_docstring: Mock a climate ADC-T3000 node with missing mode setpoint.
short_docstring_tokens: Mock a climate ADC - T3000 node with missing mode setpoint .
comment: """Mock a climate ADC-T3000 node with missing mode setpoint."""