def find_first_child_named(self, parent, name):
        for node in parent.childNodes:
            if node.nodeName == name:
                return node
        return None
Test the sensor.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/wsgi.py/XMLDeserializer.find_first_child_named--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/binary_sensor/test_nx584.py/TestNX584ZoneSensor.test_sensor_normal