Browse Source

Fixed template location bug

Stan Janssen 5 years ago
parent
commit
fb14b3de8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pyopenadr/client.py

+ 1 - 1
pyopenadr/client.py

@@ -132,7 +132,7 @@ class OpenADRClient:
 
 
     def poll(self):
     def poll(self):
         service = 'OadrPoll'
         service = 'OadrPoll'
-        message = create_message('OadrPoll', ven_id=self.ven_id)
+        message = create_message('oadrPoll', ven_id=self.ven_id)
         response_type, response_payload = self._perform_request(service, message)
         response_type, response_payload = self._perform_request(service, message)
         return response_type, response_payload
         return response_type, response_payload